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

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -