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

Avatar

Avatar
Validate 1
Level 1
scott_tiger
Level 1

Like

1 like

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
scott_tiger
Level 1

Like

1 like

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
scott_tiger
Level 1

15-10-2015

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 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 1
Level 4
devinderbanga
Level 4

Like

1 like

Total Posts

143 posts

Correct reply

58 solutions
Top badges earned
Boost 1
Affirm 50
Affirm 5
Affirm 3
Affirm 25
View profile

Avatar
Boost 1
Level 4
devinderbanga
Level 4

Like

1 like

Total Posts

143 posts

Correct reply

58 solutions
Top badges earned
Boost 1
Affirm 50
Affirm 5
Affirm 3
Affirm 25
View profile
devinderbanga
Level 4

15-10-2015

Hi

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

 

 

Regards

Devinder

Answers (1)

Answers (1)

Avatar

Avatar
Contributor
Level 3
Jason_Egan
Level 3

Likes

19 likes

Total Posts

11 posts

Correct reply

5 solutions
Top badges earned
Contributor
Shape 1
Ignite 1
Boost 5
Boost 3
View profile

Avatar
Contributor
Level 3
Jason_Egan
Level 3

Likes

19 likes

Total Posts

11 posts

Correct reply

5 solutions
Top badges earned
Contributor
Shape 1
Ignite 1
Boost 5
Boost 3
View profile
Jason_Egan
Level 3

15-10-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