View difference between Paste ID: ZMYPAWde and KXudsQa2
SHOW: | | - or go back to the newest paste.
1-
// Fire this dataLayer event when the user successfully applies a coupon.
1+
// Fire this dataLayer event when the user clicks the "Send cart" button on the cart page.
2
3
window.dataLayer = window.dataLayer || [];
4
  window.dataLayer.push({
5-
   'event': 'coupon_applied',
5+
   'event': 'send_cart',
6-
   'process': 'rnw',  // Variable value. ID/name of the selected process.
6+
   'process': 'rnw'  // Variable value. ID/name of the selected process.
7-
   'coupon': 'coupon name'  // Variable value. Name of the coupon.
7+