Feature #6090

Updated by David Juhasz almost 6 years ago

I'm not sure if this was already on the radar, but I've been looking into the ongoing changes to Google Analytics.

According to the Universal Analytics upgrade guide (https://developers.google.com/analytics/devguides/collection/upgrade/?hl=en_US), "All Google Analytics properties will soon be required to use Universal Analytics. Any properties that don’t follow the upgrade process will be auto-transferred to Universal Analytics in the future."

The javascript snippet for Universal Analytics looks like this:


(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

ga('create', 'UA-25753643-7', 'scaa.sk.ca');
ga('send', 'pageview');


The only new variable seems to be the domain, which may already exist as a setting somewhere; or else would need to be extracted or added as a parameter.

The native support for Google Analytics is a very helpful addition, by the way - I lost a few months of data since we forgot to re-add the snippet after upgrading. And the ability to track by institution looks very interesting.