Google Adwords Conversion Tracking

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
AlanW
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 42
Joined: Wed Apr 08, 2009 12:47 pm

Google Adwords Conversion Tracking

Post by AlanW » Mon Sep 13, 2010 7:47 am

I've followed this thread and viewtopic.php?f=42&t=11325. I still don't understand where to put the AdWords tracking code.
I have Google Analytics set up properly but the conversions are not being recorded for AdWords.

My Checkout/Receipt.aspx page is using the footer with Google Analytics Widget.

Should the following adwords code be added to existing GoogleAnalyticsWidget.ascx ? Or do I need to create a separate widget and add this new widget to the "Footer With Google Analytics" scriplet?

Code: Select all

<!-- HTTP Google Code for Sale Conversion Page -->
<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = 1069556847;
var google_conversion_language = "en";
var google_conversion_format = "3";
var google_conversion_color = "ffffff";
var google_conversion_label = "gZVUCM3t2AEQ78iA_gM";
var google_conversion_value = 0;
if (<%= Order.TotalCharges%>) {
  var google_conversion_value = <%= Order.TotalCharges%>;
}
//-->
</script>
<script type="text/javascript" src="https://www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt="" src="https://www.googleadservices.com/pagead/conversion/1069556847/?value=50&label=gZVUCM3t2AEQ78iA_gM&guid=ON&script=0"/>
</div>
</noscript>
Best Regards,
Alan Wills

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Google Adwords Conversion Tracking

Post by mazhar » Tue Sep 14, 2010 7:40 am

You need to create a separate user controls in conlib/custom folder. Then make use of that control in your desired scriptlet.

Post Reply