Advertisement
GiacomoGalanti

Log state-boscofg

Dec 20th, 2020
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. <script>
  2. var dataLayer = window.dataLayer || [];
  3. dataLayer.push({
  4. 'event': 'LogState',
  5. 'firstLog': false,
  6. 'customerEmail': '',
  7. 'logState': 'Logged Out',
  8. 'shippingInfo': { // tutte le informazioni che riusciamo ad estrarre dovranno essere inserite come variabile, qui รจ solo un esempio
  9. fullName: '',
  10. firstName: '',
  11. lastName: '',
  12. address1: '',
  13. address2: '',
  14. street: '',
  15. city: '',
  16. province: '',
  17. zip: '',
  18. country: '',
  19. phone: ''
  20. },
  21. billingInfo: {
  22. fullName: '',
  23. firstName: '',
  24. lastName: '',
  25. address1: '',
  26. address2: '',
  27. street: '',
  28. city: '',
  29. province: '',
  30. zip: '',
  31. country: '',
  32. phone: ''
  33. },
  34. }
  35. });
  36. </script>
  37.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement