- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
01-06-2017 11:38 PM - edited 01-06-2017 11:40 PM
On prodView I'm able to set any merchandising eVar, I'll like to do the same for other events that aren't page views, i.e. when events is scAdd then set merchandising variable eVar74 to product_sku or something of that nature. I've tried different formats and it doesn' work.
I've tried cartAdd:scAdd,PRODUCTS_eVar74, I've tried just PRODUCTS_eVar74, etc.. what I get in the call is eVar74=cartAdd, I need cartAdd to be the actual sku value.
This is based on the events: UDO variable. The product_sku to merchanding evar works.
02-02-2017 01:25 PM
@rawsoft It sounds like want to do a conditional mapping, meaning, "IF event_name EQUALS cardAdd THEN map product_sku to merchandising eVar74". This is best accomplished using a Set Data Values extension and a new variable specifically for merchandising eVar74.
Create a new variable called
cart_sku and map it to
PRODUCTS_eVar74. Then use a Set Data Values extension to set
cart_sku to the value of
product_sku only for your Add to Cart events. It might look something like this:
This is the best way to accomplish conditional mappings.
Copyright All Rights Reserved © 2008-2023