- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
03-02-2018 11:58 AM
I am using the YellowHammer tag template. I'd like to prevent creating 3 separate vendor tags and have a solution that only uses 1 tag.
To do this, I created 2 extensions that determine which page_type/event_name is being used, then using a Lookup Table to show the correct value based on the page_type/event_name.
I created a UDO called "yh_tracking_id". I read this article that said you can replace UDO variables by wrapping them in @@variable@@ but that just outputs @@variable@@ and doesn't convert the variable to that variable's value.
https://community.tealiumiq.com/t5/Tags/Tealium-Pixel-Container-Tag/ta-p/13388
Here's what I'd like to output:
Before: https://www.somedomain.com/my_custom_variable
After: https://www.somedomain.com/12345
Is there anything in Tealium that supports this?
Any help will be appreciated!
Solved! Go to Solution.
03-02-2018 04:11 PM
03-02-2018 04:21 PM
03-15-2018 11:46 AM - last edited on 03-15-2018 01:13 PM by kathleen_jo
Any chance the YellowHammer tag was updated @adam_wolfers? I was able to use a Generic Tag template to get the correct tracking ID to show.
03-15-2018 02:33 PM
My apologies! My previous reply was incomplete, and my suggestion to copy the value from the YellowHammer path causes you to have an incomplete URL.
Please see the screen shots showing my setup.
I have a UDO Variable in Tealium iQ called: yh_tracking_id
In the tag config for the Tealium Generic Tag, I have: //jump.omnitarget.com/@@yh_tracking_id@@
And finally, I have a Lookup Table extension that sets the value for yh_tracking_id based on the value of the page_type variable.
03-15-2018 03:46 PM
Adam,
After much trial and error, I'm still confused as to which method I should use to accomplish this.
I believe my Generic tag has all the right information added to it, except that YellowHammer's Base URL should be "datplus.springserve.com" not "jump.omnitarget.com". That updated URL was confirmed by your colleague David Zablow. I've also made the pixel's type "script", not "iframe", because of the original script I was given from the vendor.
This is the current Base URL I'm using: //datplus.springserve.com/px/tag/@@yh_tracking_id@@
I have 2 Lookup Match extensions that determine the page_type and event_name. Depending on which match it hits, it should show the correct yh_tracking_id (UDO).
I've also mapped the variables I want to add to it, however, using the Generic Tag presents another error when this URL is requested: https://datplus.springserve.com/px/tag/215
If you look at my account, the tag is UID 133 and the extensions are 364, 365.
Copyright All Rights Reserved © 2008-2023