Last active
August 29, 2015 14:04
-
-
Save padicode/0e379659feb7d8bf1148 to your computer and use it in GitHub Desktop.
PadiAct Subscribe AdWords JavaScript Hook
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 type="text/javascript"> | |
window.nrlskOnEvent = function(padiact) | |
{ | |
if (padiact.type=='subscribe') | |
{ | |
var google_conversion_id = XXXXXXXXXX; //replace with your value | |
var google_conversion_label = "XXXXXXXXXXXXXX"; //replace with your value | |
var image = new Image(1,1); | |
image.src = "http://www.googleadservices.com/pagead/ conversion/"+google_conversion_id+"/?label="+google_conversion_label+"&script=0"; | |
} | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment