You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've configured google analytics placing in the config.toml file the propoerty googleAnalytics = "G-**********" but no data are available on the dashboard on google analytics.
I've seen that on the file layouts/index.html you placed the {{ template "_internal/google_analytics_async.html" . }} under the <body> tag but on the google analytic guide, they suggest to place them under the <head> tag. Moreover, in the hugo guide, the suggest that using v4 of google analytics you should include the {{ template "_internal/google_analytics.html" . }} template.
Moving the analytics tag under <head> might fix the problem?
The text was updated successfully, but these errors were encountered:
I've configured google analytics placing in the
config.toml
file the propoertygoogleAnalytics = "G-**********"
but no data are available on the dashboard on google analytics.I've seen that on the file
layouts/index.html
you placed the{{ template "_internal/google_analytics_async.html" . }}
under the<body>
tag but on the google analytic guide, they suggest to place them under the<head>
tag. Moreover, in the hugo guide, the suggest that using v4 of google analytics you should include the{{ template "_internal/google_analytics.html" . }}
template.Moving the analytics tag under
<head>
might fix the problem?The text was updated successfully, but these errors were encountered: