Advertisement
Guest User

Untitled

a guest
Oct 18th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script>
  2. window.dataLayer = window.dataLayer || [];
  3. dataLayer.push({
  4. event : 'login', // name of the event (always the same)
  5. userId : 'abc123', // the id of the user (stored in a database)
  6. pricingPlan : 'premium’, // the pricing plan of a visitor (inserted dynamically)
  7. sessionNumber : 7 // the number of the session of the logged in user
  8. });
  9. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement