Highlighted

Does Tealium have get queryparamter function like Adobe?

Bronze Contributor
Bronze Contributor

Hi,

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.

Thanks,

3 REPLIES 3

Does Tealium have get queryparamter function like Adobe?

Tealium Employee

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".

Highlighted

Does Tealium have get queryparamter function like Adobe?

Bronze Contributor
Bronze Contributor

Hi Mike

Thank you for your reply and it really helps!

looks much easier than Adobe way.
I will try that later.

Highlighted

Does Tealium have get queryparamter function like Adobe?

Bronze Contributor
Bronze Contributor

Hi Mike

It works perfect and so easy to implement.

Thanks,