Skip to content

Instantly share code, notes, and snippets.

@padicode
Last active August 29, 2015 14:04
Show Gist options
  • Save padicode/0e379659feb7d8bf1148 to your computer and use it in GitHub Desktop.
Save padicode/0e379659feb7d8bf1148 to your computer and use it in GitHub Desktop.
PadiAct Subscribe AdWords JavaScript Hook
<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