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 […]
app_data
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 […]