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

Cannot define where to put the gtag script (head or body) #1

Closed situplastik closed 6 years ago

situplastik commented 6 years ago

Most of the times, putting the script on the body is OK, but sometimes you want to render in the "head". I made a PR trying to use a system as gatsby-plugin-google-analytics

flpvsk commented 6 years ago

Closed with #2