Created
October 6, 2011 13:40
-
-
Save scottwater/1267415 to your computer and use it in GitHub Desktop.
Google Conversion Tracking With KickoffLabs
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
<script> | |
$(document).ready(function(){ | |
$("#signup_form").bind("kol:success", function(e, data, status, xhr) { | |
$div = $('<div style="display:inline;">'); | |
$div.append('<img height="1" width="1" style="border-style:none;" alt="" src="http://www.googleadservices.com/pagead/conversion/992175653/?value=20&label=J_1oCKunogMQpcyN2QM&guid=ON&script=0"/>'); | |
$div.appendTo('body'); | |
}); | |
}); | |
</script> |
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
<script> | |
$(document).ready(function(){ | |
$("#signup_form").bind("kol:success", function(e, data, status, xhr) { | |
pageTracker._trackPageview("/subscribed"); | |
}); | |
}); | |
</script> |
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
<script> | |
$(document).ready(function(){ | |
$("#signup_form").bind("kol:success", function(e, data, status, xhr) { | |
_gaq.push(['_trackPageview', '/subscribed']); | |
}); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment