Post by TitanMan » Thu Nov 19, 2009 2:05 am

I need to enter a Google conversion tracking code the keeps track of purchases. I need to enter the code on a single specific page where a person would be taken after or just before a purchase is made so I can track it as this tracking just covers when a purchase is made. Can someone tell me where and how to place that code? Thanks for any help.

Newbie

Posts

Joined
Wed Nov 11, 2009 2:46 am

Post by moggiex » Thu Nov 19, 2009 4:57 am

TitanMan wrote:I need to enter a Google conversion tracking code the keeps track of purchases. I need to enter the code on a single specific page where a person would be taken after or just before a purchase is made so I can track it as this tracking just covers when a purchase is made. Can someone tell me where and how to place that code? Thanks for any help.
Hi,

Open the following file:

/catalog/view/theme/default/template/checkout/confirm.tpl

Lob the code in the bottom and then save it.

Run a test transaction through your site to verify it works correctly.

Matt

Code: Select all

It was like that when I found it, honest!


User avatar
Active Member

Posts

Joined
Mon Nov 09, 2009 9:55 pm

Post by imaginetech » Thu Nov 19, 2009 6:24 am

If your trying to track sales and access the ecommerce reporting in Google analytics then I have written a module to do this.

http://www.opencartstore.com

Image
www.opencartstore.com
Get OpenCart Templates and OpenCart Modules.


User avatar
Active Member

Posts

Joined
Fri Sep 04, 2009 12:25 pm
Location - Darwin, Australia

Post by LadyRagefist » Thu Feb 17, 2011 2:55 am

Except I can do it without spending $14.95 by just dropping in some code.
Thank you moggiex, works fine.

Newbie

Posts

Joined
Thu Dec 23, 2010 3:02 am

Post by Xsecrets » Thu Feb 17, 2011 3:43 am

LadyRagefist wrote:Except I can do it without spending $14.95 by just dropping in some code.
Thank you moggiex, works fine.
well it will sort of work the way you did it, however you may get quite a few conversions recorded that are not really sales. because people can easily leave the site from the confirm page, or they may decide to edit the address or add something else to their order then you'll have multiple conversions listed at google for the same transaction.

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by philbydevil » Thu Feb 17, 2011 5:44 am

This way seems to work: http://forum.opencart.com/viewtopic.php?f=121&t=21675

And there's a vQmod for it.

I heart cmd-f, cmd-c, cmd-v, cmd-z + vQmod.
My favourite page...
v1.5.4.1


User avatar
Active Member

Posts

Joined
Fri Dec 03, 2010 5:20 am
Who is online

Users browsing this forum: Amazon [Bot], Bing [Bot] and 80 guests