Created
June 19, 2016 16:42
-
-
Save skipshean/56cfbcc2b60a7e68554df4aa9be47474 to your computer and use it in GitHub Desktop.
onClick script to fire facebook ad lead when not going to a thank you page next
This file contains hidden or 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
<script> | |
$(function () { | |
$('[href="#submit-form"]').click(function (ev) { | |
fbq('track','Lead'); | |
}); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment