Hi - I am having issues setting attributes to an existing UDO variable. So, we have a defined data layer with number of variables, but when trying to set an Audience Stream string attribute to that particualr UDO, it draws a blank / not assigned. Is there a step I am missing? The UDO is active and does populate the Adobe Analytics variables.
Solved! Go to Solution.
Great question. Once a variable is present in the data layer, it should be added as an event attribute. Once it is defined as an event attribute, it will be accessible within Audience Stream. For example, on my sandbox page, I have set myString within my utag_data object:
Next, I created a string event attribute since this particular test variable is not coming attached to a specific event:
Finally, I create an AudienceStream Attribute that enriches off of the EventStream Attribute:
When I run a trace and reach my home page, I can see that the myString attribute is being set:
Hope this helps!