Highlighted

I was was trying to capture a specific query string parameter "?tc=" value and store it to pass into my analytics but cant figure out how. Also I want to convert my old parameters to new values ie. UTM_Source=YB to cm_cat=YB, is this possible. Tim

Not applicable
Query string questions
4 REPLIES 4
Highlighted

I was was trying to capture a specific query string parameter "?tc=" value and store it to pass into my analytics but cant figure out how. Also I want to convert my old parameters to new values ie. UTM_Source=YB to cm_cat=YB, is this possible. Tim

Employee Emeritus

Hey Tim, Check out the "Adding Data Sources" section of this post: https://community.tealiumiq.com/t5/Getting-Started/Data-Layer-Tab/ta-p/9427 In step three make sure and select "Querystring Parameter" as the Data Source Type. That should be it! Then you can use that new parameter and map that to your analytics tag. I'm trying to understand your use case for changing old parameter values to new values. It looks like you want to grab a Google Analytics Query Param and send it to a CoreMetrics value. Is that an accurate assumption?

Highlighted

I was was trying to capture a specific query string parameter "?tc=" value and store it to pass into my analytics but cant figure out how. Also I want to convert my old parameters to new values ie. UTM_Source=YB to cm_cat=YB, is this possible. Tim

Not applicable
I have already read that post but it did not help. We have 6 different parameters that we pass in our URL from a marketing source and i want to capture them into different attributes in Coremetrics. So i am i'm not seeing how i identify to only capture the "tc=" parameter so i can map that to the correct attribute. Correct we are currently using GA parameters but are switching to CoreMetrics and i want to capture legacy advertising. So i want to be able to tell the system when you see parameter XYZ convert it to ABC.
Highlighted

I was was trying to capture a specific query string parameter "?tc=" value and store it to pass into my analytics but cant figure out how. Also I want to convert my old parameters to new values ie. UTM_Source=YB to cm_cat=YB, is this possible. Tim

Employee Emeritus

Tim:

 

1) Click "Add a Data Source" in the Data Sources Tab.

2) Name the data source "tc"

3) Select the "Querystring Parameter" in the Type drop down.

4) Click Apply

5) Open the CoreMetrics Tag in the Tabs Tab

6) Click the "Edit" button in the Mapped Data Sources section of the tag

7) In the Data Sources drop down, select the new "tc" Query Parameter Data Source

8) Click "Select Destination"

9) Navigate to the desired tab in the Mapping Toolbox. Assuming this is for the CM Page View Tag, you will already be on the correct tab in the Mapping Toolbox.

10) Scroll down in the window to find the correct Attribute where you would like to send the "tc" parameter. Click on the attribute number.

11) Click Apply to close the Mapping Toolbox and Apply to close the Tag Config Wizard.

 

As for changing parameters, Tealium doesn't have control over the URL so we are not able to update the names of the Querystring Parameters that appear in the URL. However, we can still grab the GA parameters and pass them to CM, as outlined above.

Highlighted

I was was trying to capture a specific query string parameter "?tc=" value and store it to pass into my analytics but cant figure out how. Also I want to convert my old parameters to new values ie. UTM_Source=YB to cm_cat=YB, is this possible. Tim

Employee Emeritus
Hi Tim, If you follow Jared's instructions above then each of your query string parameters (tc, UTM_source) become data sources in Tealium iQ that can be mapped ( and their values passed) to any tag that you like. In your comment above, you say "So i want to be able to tell the system when you see parameter XYZ convert it to ABC." Assuming that "XYZ" is the key in the query string parameter's key/value pair then when you say 'translate' that is the equivalent of 'mapping' in Tealium iQ. So, in Jared's example above, if we define 'tc' as a data source in Tealium iQ with the type of 'query string parameter' then Tealium iQ will "listen" for that query parameter and any time it is present and populated with a value then the value will be passed to any tag that "tc" is mapped to (in other words, it will be translated to the proper destination for your new tags). This alleviates the need to recode all of your campaign creatives with new query string key/value pairs because Tealium iQ can watch for the 'legacy' keys and send their values on to new destinations as defined by your mapped data sources in the required tags. If XYZ is not the key but is instead it's the value of the query string parameter key/value pair then there are ways to address that situation too but we would need more information from you. If this is still unclear, please reach out to your Account Manager for some more in-depth help.