filipr27

ga4 - slb new - sign_up

Sep 8th, 2022 (edited)
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //Push this dataLayer event when a user successfully signs up (creates an account).
  2.  
  3. <script>
  4. window.dataLayer = window.dataLayer || [];
  5. window.dataLayer.push({
  6.  'event': 'sign_up',
  7.  'website': 'www.slb.com',  //The website for which the user signed up.
  8.  'user_id': '<user_id>'  //Unique user ID of a registered user from the website's database.
  9.  });
  10. </script>
Advertisement
Add Comment
Please, Sign In to add comment