View difference between Paste ID: fRXh7huU and WMFzuUTc
SHOW: | | - or go back to the newest paste.
1-
// Fire this dataLayer event when the user declines the payment modification popup by clicking the "Quit" button when shown the prompt. 
1+
// Fire this dataLayer event when the user gets to the order review page during webshop checkout. 
2
3
window.dataLayer = window.dataLayer || [];
4
  window.dataLayer.push({
5-
   'event': 'payment_modification_declined',
5+
   'event': 'order_review',
6-
   'process': 'rnw',  // Varible value. ID/name of the selected process.
6+
   'process': 'rnw'  // Variable value. ID/name of the selected process.
7-
   'item_name': 'item name'  // Variable value - name of the item.
7+