View Single Post
  #3  
Old 01-16-2009, 03:54 PM
  Squeeze Juice Marketing's Avatar 
Squeeze Juice Marketing Squeeze Juice Marketing is offline
 

Senior Member
  
Join Date: Dec 2008
Location: Virginia
Posts: 191
 

Default Re: Let's Talk AdWords: How to Install the AdWords Conversion Tracking Code in X-Cart

Part III. Installation

In order for this to work you MUST have the Google Analytics Module turned on and Use E-Commerce analysis box checked in the Admin->General Settings->Google Analytics

(Be sure to backup all files before modifying)

Log into your site with your FTP client and download skin1/modules/Google_Analytics/ga_commerce_form.tpl
Paste your newly configured Adwords conversion code into the end of this file, on a new line.


Save and upload the adjusted ga_commerce_form.tpl.


That’s it! You’re set!

If you would like to verify that it is working, place a test order, then view the source code the receipt page and you should see your code towards the bottom of the page with the order subtotal information in the value field. If you want to test it entirely, do a search that will trigger one of your ads, click on it, and complete a transaction.

Enjoy!

PS – If you would like to use the order total (with taxes and shipping) for your transaction value reports instead of the subtotal replace {$order.order.subtotal} with {$order.order.total} in the variable section and url.
__________________
Ryan Masters
Squeeze Juice Marketing, LLC.
Helping Successful Businesses Acquire Customers Profitably Online
  • Certified Landing Page Optimization Expert
  • Certified Conversion Optimization Master - Market Motive



Reply With Quote