ReturnOfTheUTMZ
ReturnOfTheUTMZ copied to clipboard
Javascript plugin for Google Analytics analytics.js to recreate the functionality of the __utmz cookie (which no longer exists with Universal Analytics)
To get 0.0.1 done, I made the timestamp in the cookie to default to 1234567890 rather than the actual timestamp. Would be better if it defaulted to the time stamp...
I'm not used to the minification, etc. process, but it strikes me that this thing sure has a lot of full variable names intact, which increases bloat. I probably need...
Currently the main plugin can't be easily tested as it accesses a bunch of information directly from browser (like document.cookie). This also means that I pass document.cookie in as a...
In v.0.0.1 all referrals are treated as referrals, not as search or social. Would be good to parse things like google/organic or facebook/social. Potentially using something like Alex's https://github.com/snowplow/referer-parser
As of version 0.0.1, there is a dependency on https://nodejs.org/api/url.html. It only uses bits of the parsing library which can probably be done much quicker with some regex-fu. The URL.js...
In version 0.0.1, the cookie gets placed at the default location of the domain and the '/' path. If a user chooses to configure their Google Analytics cookies to be...