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 […]
Query string
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 […]