Skip to content

Use defer for GA script instead of async #10

Closed Answered by johannschopplich
PiotrGrobelak asked this question in Q&A
Discussion options

You must be logged in to vote

Hey there, Google's gtag.js library is added async to the document's <head> by default, which mimics Google's snippet:

Do you prefer defer as a separate option to `defer``

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@PiotrGrobelak
Comment options

@johannschopplich
Comment options

@PiotrGrobelak
Comment options

Answer selected by johannschopplich
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants