Last active
November 17, 2021 14:58
-
-
Save chavesm/8a76387d163a1bcf4d77eb2a3cfa1ccb to your computer and use it in GitHub Desktop.
Form Conversion Event (949478)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (document.URL === "https://myverycool.site/form-page/") { | |
const subBtn949478 = document.querySelector( | |
"form#avia_contact_6935_contact-us-about input.button" | |
); | |
if (subBtn949478) { | |
subBtn949478.addEventListener( | |
"click", | |
function (evt) { | |
__gaTracker( | |
"send", | |
"event", | |
"form", | |
"conversion", | |
"avia_contact_6935_contact-us-about-led-driver-technology", | |
1 | |
); | |
}, | |
false | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Before: https://a.supportally.com/IpDqoh
Real-time test result: https://a.supportally.com/Yh4wTi