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