Reply
Highlighted
Visitor
Posts: 4
Registered: ‎03-22-2017

Passing UDO object value in Generic script tag's URL?

Is there a way to reference/pass a UDO object's value inside the URL for a Generic Tag that uses a script.

 

So I have a generic script tag going to site.com/p.ashx?var=[needUDOhere], and I want to pass back a UDO value when the script tag fires.

 

Any ideas?

Reply
0 Kudos
Tealium Employee
Posts: 115
Registered: ‎09-01-2015

Re: Passing UDO object value in Generic script tag's URL?

[ Edited ]

Sure, @nickmv, so to use your example, if you set the url to be 

 

site.com/p.ashx?var=@@value@@ 

 

Then use the standard mapping to create a custom mapping to value - for example if I wanted to sent a variable called "listtest" to that value, I would create a mapping like this: 


Generic tag mapping