dpolec

EEC Checkout 5 - dane.

Mar 17th, 2021 (edited)
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. <script>
  2. window.dataLayer = window.dataLayer || [];
  3. window.dataLayer.push({
  4. 'event': 'eec.checkoutData', // 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': { // name of an action. In this case, always stays as checkout
  7. 'actionField': {
  8. 'step': 5 // number of the current checkout step that a user has entered (must always be 5 in this situation)
  9. }
  10. }
  11. }
  12. });
  13. </script>
Add Comment
Please, Sign In to add comment