Advertisement
larrybtlc

gtm dataLayer.push method practice ii

Dec 9th, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script>
  2. window.dataLayer = window.dataLayer || [];
  3. window.dataLayer.push({
  4.     event:'login', // always login as event for this data
  5.     userId:'abc123', // unique user id
  6.     pricingPlan:'premium', // which pricing plan premium or standard
  7.     sessionNumber: 7, // number of logged in users
  8. });
  9. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement