A while ago I posted a solution that used JS functions to override JS events to post an event to an Analytics package. Recently, I found out there is a more solid out-of-box solution available for GA Universal package to efficiently ensure that events are being tracked properly – even on links/actions that redirect you […]
Campaign Variables
Campaign parameters/tracking with Google Analytics (Universal) in a Facebook App Page
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 […]
Parameter Passing and Redirect Craziness: 301 redirects, Fragment Identifiers (Hash – #), Query String Variables
Some key points/themes: in 301 redirects, parameters often do not get passed on as either the server config (server-side script, .htaccess, mod_rewrite or server/CMS config) is not set up to do so. Ensure to consult relevant parties (e.g. IT, web devs etc) when unsure. See below for tips. the fragment (hash – #) are not […]
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 […]