- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
10-14-2015 09:13 AM
Does Tealium have java script function like s.getQueryParam('parameter_name') in Adobe Analytics ?
So that we don't have to make each extension to each query parameter but just set a certain query parameter name on it in order to get its parameter value.
Solved! Go to Solution.
10-14-2015 01:22 PM
Here are a couple articles around the different data source types
Data Source Types
and the Data Layer Tab within TealiumiQ
Data Layer Tab
In short, we do automatically grab all the variables and values from the query string. Our method outperforms the getQueryParam call as that call reads the entire URL, looks for the token starting point, looks for the token end point and takes the substring value and returns it. Each time you call getQueryParam this happens, and as you'd imagine this function just benefits the Adobe Analytics tag and no others.
We parse the URL once, tokenize the values and make them available to each tag.
To utilize these, simply go to the "Data Layer Tab" in TealiumiQ, add a "Data Source", enter the query param key into the "Source" field, and select "Querystring Parameter" from the "Type" dropdown. The Tealium tag will now look for that query string parameter, store it and make it available. This value can now be use to influence "Load Rules", can be "Mapped" to any of your tag vendors and can be used in "Extensions".
10-14-2015 01:24 PM
Thank you for your reply and it really helps!
looks much easier than Adobe way.
I will try that later.
10-15-2015 09:23 AM
It works perfect and so easy to implement.
Copyright All Rights Reserved © 2008-2023