- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
08-28-2019 11:02 AM
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?
09-05-2019 03:37 AM
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
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....
09-05-2019 05:52 AM
Copyright All Rights Reserved © 2008-2023