How to Include Dynamic Variable in Vendor Path?

Bronze Contributor
Bronze Contributor

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!

5 REPLIES 5

How to Include Dynamic Variable in Vendor Path?

Tealium Employee
@mijohnson

The YellowHammer tag needs an update to support this. I'll get this update request into our queue.

In the mean time, you can do this using the "Tealium Generic Tag".

In the "Base URL" field, paste in what you normally put in the "Path" field for the YellowHammer tag. Then add "@@yh_tracking_id@@" where your YellowHammer Tracking ID normally goes.

Please reply back here if you get it working or if you have additional questions.

Thanks,
Adam

How to Include Dynamic Variable in Vendor Path?

Bronze Contributor
Bronze Contributor

Thanks!

How to Include Dynamic Variable in Vendor Path?

Bronze Contributor
Bronze Contributor

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. 

error.JPG

How to Include Dynamic Variable in Vendor Path?

Tealium Employee

@mijohnson

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.

How to Include Dynamic Variable in Vendor Path?

Bronze Contributor
Bronze Contributor

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

append-error.JPG

If you look at my account, the tag is UID 133 and the extensions are 364, 365.

Public