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

Esta obra está autorizada con arreglo a la licencia de Reconocimiento-NoComercial-CompartirIgual 3.0 Unported de Creative Commons.  Los términos de Creative Commons no cubren las publicaciones en Twitter™ y Facebook.

Avisos legales   |   Política de privacidad en línea