user710502
user710502

Reputation: 11471

Google Conversion Not showing image

I am trying to incorporate the google conversion tracking feature in my webpage but the little image that is supposed to show is not showing. Now google stresses to put the code within the body tags--

<html>
  <body>    
   <!-- Google Code for Purchase Conversion Page -->
   <script language="JavaScript" type="text/javascript">
   <!--
    var google_conversion_id = 1234567890;
    var google_conversion_language = "en_US";
    var google_conversion_format = "1";
    var google_conversion_color = "666666";
    if (1.0) {
        var google_conversion_value = 1.0;
      }
    var google_conversion_label = "Purchase"; //-->
   </script>
   <script language="JavaScript" src="http://www.googleadservices.com/pagead/conversion.js">
   </script>
 <noscript>
     <img height=1 width=1 border=0   src="http://www.googleadservices.com/pagead/conversion/1234567890/?    value=5.0&label=Purchase&script=0">
  </noscript>
 </body>
 <html>

Thank you

Upvotes: 0

Views: 341

Answers (1)

CrayonViolent
CrayonViolent

Reputation: 32532

In the posted code, the img tag only gets rendered or "shows" if javascript is disabled. If javascript is enabled, the javascript in the conversion.js generates an iframe with the src url being similar to what you see in that noscript img src url, except for more detailed.

And as for when it "shows"... it's a 1x1 transparent pixel, so I hope you aren't trying to eyeball on your screen...

Upvotes: 1

Related Questions