View difference between Paste ID: rach0KXG and XWTpvN8e
SHOW: | | - or go back to the newest paste.
1
<script>
2
window.dataLayer = window.dataLayer || [];
3
window.dataLayer.push({
4
  event: 'eec.checkoutOption',			// name of an event. In this case, always stays as eec.checkout
5
  ecommerce: {							// ecommerce object. This is the essential part of tracking. New EE data must always be pushed to this object
6
    checkout_option: {					// name of an action. In this case, always stays as checkout_option
7
      actionField: {
8-
        step: 1,						// number of the checkout step in which a user chose the delivery method (must always be 1 in this situation) 
8+
        step: 2,						// number of the checkout step in which a user chose the delivery method
9-
        option: 'Expedited delivery'	// delivery option that a visitor has chosen
9+
        option: 'Bezahlintervall'		// delivery option that a visitor has chosen --> HIER BEZAHLINTERVALL
10
      }
11
    }
12
  }
13
});
14
</script>