Counting Conversion When a Link is Clicked

 

All you need is a hyperlink (or any html element) with an onclick event:

<a href="http://www.google.com/" onclick="javascript:AddConversion();">Add Conversion</a>

 

And this code between the body tags:

 

<script type="text/javascript">
<!--
 function AddConversion() {
  var google_conversion_id = 1234567890;
  var google_conversion_label = "V8nICM6CjgEQ1uKl9AM";
  image = new Image(1, 1);
  image.src = "http://www.googleadservices.com/pagead/conversion/" + google_conversion_id + "/?label=" + google_conversion_label + "&script=0";
 }
-->
</script>

Of course, the person will need to replace the google_conversion_id and google_conversion_label with their own values. These can be found in the code snippet generated by Adwords when they create a new action item (Conversion).