Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- window.dataLayer = window.dataLayer || [];
- window.dataLayer.push({
- event: 'InitiateCheckout', // name of an event.
- ecommerce: { // ecommerce object. This is the essential part of tracking. New EE data must always be pushed to this object
- checkout_option: { // name of an action. In this case, always stays as checkout_option
- actionField: {
- step: 1, // number of the checkout step in which a user chose the delivery method
- option: 'delivery' // delivery or pick up option selected by the customer
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement