This repository has been archived by the owner on Apr 9, 2021. It is now read-only.
Move tracking snippet to top of page and load async #476
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This has two main benefits:
The tracking snippet needs to be in in order to use
Google Search Console, which is the only way to see what
search terms ended up directing users to grpc.io. Without it,
the search query shows up as the infamous "(not provided)".
Page loads are faster. The analytics page suggests
putting it in the . Also, it suggests page loads are
faster if using a modern browser. Checkout our Google
Analytics for grpc.io shows an overwhelming number of users
with Chrome, Firefox, Safari. For IE users (a small percent),
most are using version 11 which supports async js.
cc: @LisaFC