Testing Google Conversion Code

Hello all,



I am having a heck of a a time using AdWords Conversion stuff. I have inserted the code (see below) into order_details.tpl but we’re not seeing any of the conversion info setting up. This could be that the client has set up conversions tracking incorrectly, so any tips on that would be greatly appreciated.



How can I verify that my code is inserted properly? When I go to:



…/index.php?target=orders&mode=details&order_id=24



and look at the page source it isn’t there.



So, my questions are. How can I verify that my code is inserted correctly? Where else could I put the conversion code? Is there a good step-by-step guide for using conversion tracking with CS-Cart?



Here’s my code. I’ve included the full ending of order_details.tpl in case I have too many if’s:


<br />
<br />
{if $smarty.get.confirmation == 'Y' && $order_info.status == 'P'}<br />
{* place any code you wish to display on this page right after the order has been placed *}<br />
<br />
{literal}<br />
<!-- Google Code for purchase Conversion Page --><br />
<script language="JavaScript" type="text/javascript"><br />
<!--<br />
var google_conversion_id = xxxxxxxx;<br />
var google_conversion_language = "en_US";<br />
var google_conversion_format = "1";<br />
var google_conversion_color = "3366FF";<br />
if (1) {<br />
  var google_conversion_value = 1;<br />
}<br />
var google_conversion_label = "purchase";<br />
//--><br />
</script><br />
<script language="JavaScript" src="https://www.googleadservices.com/pagead/conversion.js"><br />
</script><br />
<noscript><br />
<img height="1" width="1" border="0" src="upload://ux1zSLp9vBY9KEUw7CSvZVrESee.gif"><br />
</noscript><br />
<br />
{/literal}<br />
<br />
<br />
{if $settings.Addons.google_analytics == "Y"}<br />
{include file="addons/google_analytics/reporter.tpl"}<br />
{/if}<br />
<br />
{/if}<br />

Any one, here who can answer this please

I just placed my conversion code, and when I place an order, the conversion code is showing up correctly. Have you actually tried placing an order and checking? Or maybe add &confirmation=Y to the end of the URL. I think without that piece, you’re just checking on the order itself.