aaronclinger / gahelper.js Goto Github PK
View Code? Open in Web Editor NEWA utility which makes tracking with Google Analytics more reliable and less error-prone.
License: MIT License
A utility which makes tracking with Google Analytics more reliable and less error-prone.
License: MIT License
You can mix and match traditional GA code with the helper.
Updated the library to detect the browser’s support of navigator.sendBeacon
and, if present, switch to use it. If present hitCallback
can fire immediately and links don’t need to be delayed.
When visiting a URL with a fragment identifier:
http://www.example.com/?utm_campaign=campaign&utm_medium=medium&utm_source=source#fragment
clearUTM
removed the UTM codes and the hash value:
http://www.example.com/
Should be left with this:
http://www.example.com/#fragment
Update documentation to mention that GAHelper
gracefully degrades when an ad blocker is present. E.g. Callback events still fire.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.