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":
let me know if have doubts.
Comments
Post a Comment