DTM: How to set Currency Event in Event Based Rules? Any Examples would be of great help ..!! | Community
Skip to main content
scott_tiger
October 16, 2015
Solved

DTM: How to set Currency Event in Event Based Rules? Any Examples would be of great help ..!!

  • October 16, 2015
  • 2 replies
  • 3437 views

Hello DTM Experts,

Testing time for you guys out there ... just kidding, it should be a simple one ... I am working on the DTM implementation and it seems to be going really well before I encountered this requirement to set the currency event (Ex: event10=4.55) for a event based rule.

Any examples would be of great help.

cheers,

Scott 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by devinderbanga

Hi

please use supported variable to set currency https://marketing.adobe.com/resources/help/en_US/dtm/rules_event.html

 

 

Regards

Devinder

2 replies

Jason_Egan
Adobe Champion
Adobe Champion
October 16, 2015

Scott,

You need to go to the custom page code section of the Adobe Analytics tool in DTM (in your DTM rule). There you'd set the event like this:

if(_satellite.getVar('currency_data_element')){ s.events=s.apl(s.events,"event10="_satellite.getVar('currency_data_element'),",",2); }

This assumes:

  1. You have the "apl" plug-in in place
  2. You have a data element named "currency_data_element" in place that has the value that you need to pass to the event
  3. The above example just sets this in the events variable and not in the product string
devinderbanga
devinderbangaAccepted solution
Level 6
October 16, 2015

Hi

please use supported variable to set currency https://marketing.adobe.com/resources/help/en_US/dtm/rules_event.html

 

 

Regards

Devinder