This is a follow-up post where I was explaining how to set/override GA campaign variables programmatically with JS. The unique element of this problem is that all query string parameters are not passed along to your application’s iframe, so by default, we cannot use UTM campaign parameters. Otherwise stated: when GA campaign parameters are passed […]
Universal Analytics
Using Event Tracking with links or actions involving Page loads (sending a user off the page without opening a new window) with Google Analytics and JS
Update – April 16th, 2014: a new article on how to achieve this more efficiently specifically with GA Universal Code was posted. The below idea is still valid in some cases. Is it possible to use Event tracking with links/forms that redirect to pages in the same browser window? I used to think that this […]
How to create a Rollup property with Google Analytics Universal tracking code – (General and Event Tracking)
A client requested a Rollup account to aggregate all the stats into one property from multiple sites. The general context was that each region (e.g. UK, Spain, France, Australia, South Africa, Canada, US etc) were given a regionalized page (each with a unique property ID in GA) and all general metrics as well as Custom […]
How to set/override Campaign variables in Google Analytics (Universal) with JS
Campaign variables are key for tracking referral data and the best part is that they come “free” out-of-box in Google Analytics (GA). All you need to do is tack on the Urchin Traffic Monitor (UTM) parameters to your URL and you’re set. What if you needed to change these variables in JS? This is easy […]