Data Mapping to Adobe events using wildcards

Silver Contributor
Silver Contributor

I want to map a data layer element based on it's contents to an event for Adobe to process. I've done this before with static values, but will it work using the * so if the variable value is 12345, I can map to 123* and the target event will capture the full string of data?

2 REPLIES 2

Data Mapping to Adobe events using wildcards

Tealium Expert
Tealium Expert

Hi

You might want to use custom value then JS Code as an option,
You then narrow in on the datalayer variable you want, so if variable1 is 123* logic then use the value in this mapping.
I have attached a screenshot of where you have to do this, it is a bit fiddly 
use_regex.PNG

 

Or if you want, in extensions, create another vairable from the variable value you are looking it.

So if variable1 = 12345

Create another variable which has a wildcard logic, so
if variable1 contains 123{
True value var2 = variable1
}else{
do nothing
}

You can do this in many ways through the extension, that was just one, but at least you get an idea....

Damian Savvides

Data Mapping to Adobe events using wildcards

Silver Contributor
Silver Contributor

Thanks, Damian!

Public