diff --git a/material/partials/integrations/analytics.html b/material/partials/integrations/analytics.html index 2a130c99b..c5a96f0c8 100644 --- a/material/partials/integrations/analytics.html +++ b/material/partials/integrations/analytics.html @@ -2,5 +2,5 @@ This file was automatically generated - do not edit -#} {% set analytics = config.google_analytics %} - + diff --git a/src/partials/integrations/analytics.html b/src/partials/integrations/analytics.html index 1887a9423..c8820bfbd 100644 --- a/src/partials/integrations/analytics.html +++ b/src/partials/integrations/analytics.html @@ -48,7 +48,7 @@ /* Send page view on document switch (instant loading, custom event) */ document.addEventListener("DOMContentSwitch", function() { - ga("send", "pageview") + ga("send", "pageview", document.location.pathname) })