Doubleclick Custom Variables: multiple values?

Gold Contributor
Gold Contributor

Hi there

 

Is it possible to pass multiple values into a Doubleclick custom variable (u1=, u2= etc.)? For example if there are several products, their skus and categories that you would like to pass.

 

From the information I have been able to find, these custom variables seem to accept only single values, but no arrays. Can anyone confirm if this is the case and/or if there is a workaround?

 

Thanks and regards...jm

2 REPLIES 2

Doubleclick Custom Variables: multiple values?

Tealium Employee

@jmbolfing

 

The Doubleclick template doesn't support arrays being sent to the uX params.

Your best bet is to create an extension scoped to the tag and flattern the array into the format that you need.

This can then be mapped to the uX value of your choice.

 

Adrian

Ask me anything Tealium related or TypeScript/JavaScript, or NodeJS.
Please remember to mark solutions as accepted for future searchers.

Doubleclick Custom Variables: multiple values?

Gold Contributor
Gold Contributor

Thanks @adrian_browning for your quick help. This looks indeed like the best option.

Kind regards

Public