How to set Numeric or Currency events in Adobe DTM or Launch?

Environment

Adobe Dynamic Tag Manager

Adobe Launch

Answer

DTM doesn't support setting Numeric or Currency events directly through the Events section in a rule. To set a Numeric or Currency event, use the custom page code section of the Adobe Analytics tool in DTM (in your DTM rule). Alternatively, use "Adobe Analytics (Set Variables) Action" within a rule. The event can be set like the below code: 

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

The implementation assumes:

  1. The "apl" plug-in is in place.
  2. A Data Element named "currency_data_element" is in place that has the value to be passed to the event.

Additional resources

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy