Assign data variable (UDO value) to hidden form field

Silver Contributor
Silver Contributor

Let's say we have stored a value in data variable (UDO), and want to assign that value into a hidden form field on another page, will TIQ extension be able to do that?

 

My guess is, we can store the value in a cookie (created by TIQ), and then create an extension in TIQ to pass on the cookie value to a form field.

 

Would be great to know if there is better idea to achieve this in TIQ.

2 REPLIES 2

Assign data variable (UDO value) to hidden form field

Employee Emeritus

@kris_irizawa the cookie/extension option is one solution and there's nothing wrong with doing it that way. You could also take advantage of the browser's local or session storage if you wanted to store the value there and not have to set a cookie. Whichever you think works best for your site and users. 

Assign data variable (UDO value) to hidden form field

Employee Emeritus

Hi @kris_irizawa. To follow up on what @davidcreason said here is some documentation. I hope this helps:

 

https://community.tealiumiq.com/t5/Tealium-iQ-Tag-Management/Tealium-Cookies/ta-p/138

Remember to give me a kudo if you like my post! Accepting my post as a solution is even better! Also remember that search is your friend.
Public