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

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -