flpvsk / gatsby-plugin-gtag

Gatsby plugin to add Google Analytics gtag.js (replacement for analytics.js) to a site.
MIT License
28 stars 12 forks source link

Allow head option (render script in head instead of the body) #2

Closed situplastik closed 6 years ago

situplastik commented 6 years ago

Most of the times rendering the script in the body is ok, but there're some usages (validate the site on google webmaster tools via google Analytics script) that need to be rendered in the

flpvsk commented 6 years ago

Thanks, @situplastik! Published under 1.0.4