filipr27

GA - webinar form submit

Sep 17th, 2022 (edited)
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //Fire this dataLayer event when a successful submission of a webinar form occurs. The event should fire only for successful submissions.
  2.  
  3. window.dataLayer = window.dataLayer || [];
  4.   window.dataLayer.push({
  5.    'event': 'form_submit',
  6.    'form_type': 'webinar',
  7.    'form_name': 'reskilling-in-talent-acquisition'  //Variable value. Name of the webinar.
  8. });
Advertisement
Add Comment
Please, Sign In to add comment