Decoding a base64 url in Google Analytics -


i have landing pages taking following shape :

http://rootdomain/index.html?ref=[base64encoded-ref]&text=[base64encoded-text]

when watch stats in google analytics, have urls looking like

http://rootdomain/index.html?ref=c3rhy2tvdmvyzmxvdw==&text=bwfyd2fubg==

but i'd see

http://rootdomain/?index.html?ref=stackoverflow&text=marwann example.

any idea how achieve this?

oki can this, can tricky, careful.

without gtm:

so on page universal analytics, can tell must value recorded. can decode path using js , pass below:

ga('send', 'pageview', { 'page': '/your-custom-path' }); 

using gtm:

changing "dp" value can accomplished in gtm setting desired value in page field, under "fields set": enter image description here

let me know if have doubts.


Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

python - ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> -

java - How to provide dependency injections in Eclipse RCP 3.x? -