We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I've been using and loving this theme. Great Job!
But I still can figure out how integrate Google Analytics into my website. I followed the documentation by adding GA id /config/_default/params.toml:
[marketing] google_analytics = ""
is that all I need to do? Because that didn't work for me.
Or based on this, do I have to add these templates?:
{{ template "_internal/google_analytics.html" . }} {{ template "_internal/google_analytics_async.html" . }}
If so, where should I add them? The theme documentation didn't mention that.
I also made sure since I'm deploying using netlify, that the netlify.toml is similar to the one on academic kickstart.
The text was updated successfully, but these errors were encountered:
I also noticed that it's not working;
https://github.com/gcushen/hugo-academic/blob/b028457922e1c596c3c1bf993e6a28a6b645b127/layouts/partials/marketing/google_analytics.html
https://github.com/gcushen/hugo-academic/blob/f0ad140f07312c224f841a9b80d8aebda5591c65/layouts/partials/marketing/google_tag_manager.html
@kalganem did you try with gtag?
Sorry, something went wrong.
You'll need to set HUGO_ENV=production rather than -e production. See gohugoio/hugo#6456 (comment) .
HUGO_ENV=production
-e production
No branches or pull requests
Hi,
I've been using and loving this theme. Great Job!
But I still can figure out how integrate Google Analytics into my website. I followed the documentation by adding GA id /config/_default/params.toml:
[marketing]
google_analytics = ""
is that all I need to do? Because that didn't work for me.
Or based on this,
do I have to add these templates?:
{{ template "_internal/google_analytics.html" . }}
{{ template "_internal/google_analytics_async.html" . }}
If so, where should I add them? The theme documentation didn't mention that.
I also made sure since I'm deploying using netlify, that the netlify.toml is similar to the one on academic kickstart.
The text was updated successfully, but these errors were encountered: