View Single Post
  #12  
Old 04-27-2009, 08:49 AM
  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

Quote:
Originally Posted by MrHeeltoe
I've got 4.0 and don't have a module for Google analytics...so what can I do about this?

Hello. For X-Cart versions without the Google Analytics module you can do the following:

1. Create a new directory skin1/modules/Google_Analytics

2. Create a new file ga_commerce_form.tpl (this is where you paste the AdWords conversion code after following the instructions in the first three posts)

3. Upload the ga_commerce_form.tpl file to the new directory you created in step 1 (skin1/modules/Google_Analytics)

4. Open skin1/customer/home.tpl

Paste:

{if $smarty.get.mode eq "order_message"}
{include file="modules/Google_Analytics/ga_commerce_form.tpl"}{/if}

before </body>

All set, I hope this helps!
__________________
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