New issue

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

Hugo should include async version of Google Analytics #1711

Closed
waddles opened this Issue Dec 17, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@waddles
Contributor

waddles commented Dec 17, 2015

Relates to #1654 and #1505

Currently the GA template is added at the bottom of the body section instead of at the bottom of just before the </head> tag as required by Google

This causes Google to be unable to verify ownership of the property in Webmaster Central.

It should probably also use the asynchronous version from https://developers.google.com/analytics/devguides/collection/analyticsjs/#alternative_async_tracking_snippet

@waddles

This comment has been minimized.

Show comment
Hide comment
@waddles

waddles Dec 17, 2015

Contributor

My bad, the template being in the wrong section was the fault of the theme I'm using.

PR for asynchronous GA imminent.

Contributor

waddles commented Dec 17, 2015

My bad, the template being in the wrong section was the fault of the theme I'm using.

PR for asynchronous GA imminent.

@waddles waddles changed the title from Google Analytics cannot verify site ownership to Hugo should include async version of Google Analytics Dec 17, 2015

@spf13 spf13 closed this Jan 4, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment