View difference between Paste ID: b5rgnuQc and Xd8YqAAf
SHOW: | | - or go back to the newest paste.
1-
// Fire this dataLayer event when a successful submission of the contact-us form occurs. The event should fire only for successful submissions.
1+
// Fire this dataLayer event when a successful submission of the contributor sign-up form occurs. The event should fire only for successful submissions. The event shouldn't fire again if the user reloads the thank-you page.
2
3
<script>
4
window.dataLayer = window.dataLayer || [];
5
window.dataLayer.push({
6-
 'event': 'generate_lead'
6+
 'event': 'contributor_sign_up'
7
 });
8
</script>