filipr27

GA4 - newsletter_signup - Duni

Apr 27th, 2023 (edited)
851
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //Push this dataLayer event when a user successfully subscribes to the newsletter by submitting the form.
  2.  
  3. <script>
  4. window.dataLayer = window.dataLayer || [];
  5. window.dataLayer.push({
  6.  'event': 'newsletter_signup'
  7.  });
  8. </script>
Advertisement
Add Comment
Please, Sign In to add comment