View difference between Paste ID: pCqX7kAL and 3WqLwYwh
SHOW: | | - or go back to the newest paste.
1
<script>
2
window.dataLayer = window.dataLayer || [];
3
window.dataLayer.push({
4-
    'event': 'visitPaymentInfoStep',                // name of an event. In this case, visitPaymentInfoStep
4+
    'event': 'Enter Payment',                // name of an event. In this case, Enter Payment
5
	'eventID': 'PI-1630317410566-tp6igfwsz' //eventID has to be passed for event deduplication
6
    'ecommerce': {                          // ecommerce object. This is the essential part of tracking. New EE data must always be pushed to this object
7
        'checkout': {                       // name of an action. In this case, always stays as checkout
8
            'actionField': {    
9-
                'step': 2                   // number of the current checkout step that a user has entered (must always be 2 in this situation) 
9+
                'step': 3                   // number of the current checkout step that a user has entered (must always be 3 in this situation) 
10
            }
11
    }
12
  }
13
});
14
</script>