Universal Analytics implementation (gtag.js API)
See original GitHub issueGoogle recently started recommending one to track using gtag.js instead of analytics.js and I’m curious how this affects this project, if it affects it at all.
More information: https://developers.google.com/analytics/devguides/collection/gtagjs/migration
Asking this because the recommended way to install ga-lite
from the README is a script similar to the old ways of setting up Google Analytics on our pages.
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Google tag API reference | Google tag (gtag.js)
The Google tag (gtag.js) API consists of a single function, gtag() , with the ... here is an example that configures a tag...
Read more >[UA→GA4] How gtag.js for UA maps to GA4 - Analytics Help
This is an implementation guide for website owners who use the gtag.js library and want to understand how gtag.js for Universal Analytics (UA)...
Read more >Tracking Single Page Applications with Google Analytics
There's no magic here; GTM, analytics.js and gtag.js are just APIs for issuing page views and other hits, and the neat trick they've...
Read more >How to use Gatsby's Script API with Google Analytics
Gatsby; React; JavaScript; Partytown; Google Analytics ... Below are links to a minimal example repository on GitHub, and a Gatsby Cloud ...
Read more >What is gtag and why do I have to add that separately from ...
The global site tag (gtag.js) is a JavaScript tagging framework and API that allows you to send event data to Google Analytics, Google...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Well, to be honest, I decided to just conditionally load GA if not being crawled by Google PageSpeed Insights: https://github.com/rfgamaral/ricardoamaral.net/commit/a1613798f1c1434c571fc76ad554a3c324e471a9