Advertisement
beaubrunted

Untitled

Dec 11th, 2019
90
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 session of the logged in user
  8. });
  9. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement