Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Setting up Adwords conversion tracking in 2.3.4?


neilt

Recommended Posts

Posted

Hi

 

I'm struggling to setup Google Adwords conversion tracking in OSC 2.3.4, can anyone offer me some guidance?  I understand that 2.3.4 has a module built in for this, but I cant find it

 

thanks

 

Neil

Posted

In your admin page go to modules/header tags and click "install modules" in the upper right.  It should be listed as "Google AdWords Conversion Tracking".

I'm not really a dog.

  • 4 months later...
Posted

 

 

That's the old, bad way of doing things David.

 

Just follow the directions @@John W gave you. You will need to log in to your Google Adwords account. Click on Tools (top of page) then Conversions. If you don't have any Conversions listed, click the Conversion+ button to create a new one. Select Website.

 

Fill in the details.

 

For Name, give it a relevant name such as osCommerce Conversion.

 

For Value, select the The value of this conversion action may vary (for instance, by purchase price) radio button. For conversions without a value assigned (this rarely happens), put your average sale.

 

For Count, select Every radio button.

 

For Conversion Window, select what suits you. I left it at default, 30 days.

 

For Category, select Purchase/Sale

 

For Include in "Conversions", tick the box (this will be ticked automatically and can't be changed if your conversion bid metric is currently set to "Converted clicks." as it probably should be).

 

Select Save

 

You will get a piece of code displayed like this

 

 

<!-- Google Code for test Conversion Page -->
<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = 1234567890;
var google_conversion_language = "en";
var google_conversion_format = "3";
var google_conversion_color = "ffffff";
var google_conversion_label = "osCoMMerCGYQ6KSz_wM";
var google_conversion_value = 200.00;
var google_conversion_currency = "AUD";
var google_remarketing_only = false;
/* ]]> */
</script>
<script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/1072484968/?value=1.00&currency_code=AUD&label=JpN0CO6siGYQ6KSz_wM&guid=ON&script=0"/>
</div>
</noscript>

In the Google AdWords Conversion Module...

 

You need to enter the Google Adwords Conversion ID (the numbers in bold in the line from your code: var google_conversion_id = 1234567890;

 

Choose which kind of notification you want on your checkout_success page (single line is OK, or choose another)

 

Page background colour set to whatever you want (stock os Commerce just leave it as ffffff)

 

For the Conversion label copy the alphanumeric code in bold in the line from your code: var google_conversion_label = "osCoMMerCGYQ6KSz_wM";

 

Select where you want the javascript (footer is OK) and the sort order

 

Click on Save in the module and you are set to go, Google will be sent the conversion value of orders from your store which you can see in adwords.

osCommerce user since 2003! :thumbsup:

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...