Hi! There is a form whose data I want to use to populate certain AudienceStream attributes. I have captured the form data into an array of objects in a JS Code Extension. How to proceed further?

Gold Contributor
Gold Contributor
 
7 REPLIES 7

Hi! There is a form whose data I want to use to populate certain AudienceStream attributes. I have captured the form data into an array of objects in a JS Code Extension. How to proceed further?

Tealium Employee

It depends on what the data is as to how you set it in AudienceStream, but the important thing is to get it in to the UDO data layer in TiQ, you can then select it from the drop down to set the attribute to the UDO variable value within AudienceStream.

 

This post should help. https://community.tealiumiq.com/t5/AudienceStream/AudienceStream-Attributes/ta-p/11926

 

Many thanks

Connecting data systems since the 1980s.

Hi! There is a form whose data I want to use to populate certain AudienceStream attributes. I have captured the form data into an array of objects in a JS Code Extension. How to proceed further?

Tealium Employee
It also depends on the use case and the vendor being used as to how the data should be stored. Without knowing these details it's a bit difficult to give the proper guidance. Feel free to respond or email me with details and I'll do my best to provide insight.

Hi! There is a form whose data I want to use to populate certain AudienceStream attributes. I have captured the form data into an array of objects in a JS Code Extension. How to proceed further?

Gold Contributor
Gold Contributor
Hi! I tried doing that. I stored some form data in JS variables that were saved in a Dev/QA environment. Created an attribute fine. Adding an enrichment to populate it with the JS variable was not possible as that variable was not popping up in the options. This was also in the QA environment. Are only user-created data sources saved in the Production environment visible in AudienceStream?

Hi! There is a form whose data I want to use to populate certain AudienceStream attributes. I have captured the form data into an array of objects in a JS Code Extension. How to proceed further?

Tealium Employee
That is correct. Only TiQ configurations that are published to production available in AS.

Hi! There is a form whose data I want to use to populate certain AudienceStream attributes. I have captured the form data into an array of objects in a JS Code Extension. How to proceed further?

Gold Contributor
Gold Contributor
Hi again, I am unable to see cookie variables in the drop-down in the trait assignment step in AS. Is this to be expected? I mean cp.utag_main_variablename data that is clearly seen in TWC. Thanks a lot!

Hi! There is a form whose data I want to use to populate certain AudienceStream attributes. I have captured the form data into an array of objects in a JS Code Extension. How to proceed further?

Tealium Employee

Just a quick point of clarification, the variable will not show as "cp.utag_main_variablename" in AS, it will show as "utag_main_variablename". All data sources fed in to AS via TiQ will show as seen in the Data Sources tab, so variable type isn't used.

 

When the Trait drop-down appears, did you try typing in to the filter "utag" to see what showed?

Hi! There is a form whose data I want to use to populate certain AudienceStream attributes. I have captured the form data into an array of objects in a JS Code Extension. How to proceed further?

Gold Contributor
Gold Contributor
Thanks a lot Dan. The job is done. I made the mistake of not creating the cookies beforehand. Assumed the extension code will create them for me. After creating the cookies, they are of course showing up in AS. Thank you for your prompt responses.
Public