SHOW:
|
|
- or go back to the newest paste.
| 1 | - | // Fire this dataLayer event when a successful submission of the webinar sign-up form occurs. The event should fire only for successful submissions. The event shouldn't fire again if the user reloads or revisits the thank-you page. |
| 1 | + | // Fire this dataLayer event when a successful submission of the tech-screening-readiness-assessment form occurs. The event should fire only for successful submissions. The event shouldn't fire again if the user reloads or revisits the thank-you page. |
| 2 | ||
| 3 | <script> | |
| 4 | window.dataLayer = window.dataLayer || []; | |
| 5 | window.dataLayer.push({
| |
| 6 | - | 'event': 'webinar_sign_up', |
| 6 | + | 'event': 'form_submission', |
| 7 | - | 'webinarName': 'webinar_name' // Variable value - the name of the webinar the user signed-up for. |
| 7 | + | 'form_name': 'tech_screening_readiness_assessment' |
| 8 | }); | |
| 9 | </script> |