Adwords Tracking

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
kwikstand
Commodore (COMO)
Commodore (COMO)
Posts: 410
Joined: Mon Feb 19, 2007 8:12 pm
Contact:

Adwords Tracking

Post by kwikstand » Tue Oct 29, 2013 10:10 am

Does anybody know an easy way to ad Adwords tracking code to the receipt page?
Contractor's Solutions
www. contractors-solutions.net

User avatar
triplw
Commander (CMDR)
Commander (CMDR)
Posts: 144
Joined: Sat Jan 12, 2008 5:34 pm
Contact:

Re: Adwords Tracking

Post by triplw » Tue Oct 29, 2013 3:44 pm

I made a user control similar to ~/ConLib/GoogleAnalyticsWidget.ascx and call it from the receipt page.

kwikstand
Commodore (COMO)
Commodore (COMO)
Posts: 410
Joined: Mon Feb 19, 2007 8:12 pm
Contact:

Re: Adwords Tracking

Post by kwikstand » Tue Oct 29, 2013 4:49 pm

Thanks, but I don't really know how to do that.

Why can't it be as simple as adding the code to the footer? There is no way that I can see to do that. "Layouts doesn't even have the ability to create a custom footer or assign it to the receipts page. It is restricted to Categories, Product and Webpages.

Why is it not possible to add custom controls to footers and headers?
Contractor's Solutions
www. contractors-solutions.net

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Adwords Tracking

Post by jmestep » Wed Oct 30, 2013 5:44 am

You can add it to the footer in the ConLib/StoreFooter. I'm not sure why Able doesn't allow you to add conlibs in the admin interface though. If you don't want to make a new conlib, you can add the code to the ConLib/GoogleAnalyticsWidget so it will all be in one place and the variables for order number, order amount, etc are already there.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

kwikstand
Commodore (COMO)
Commodore (COMO)
Posts: 410
Joined: Mon Feb 19, 2007 8:12 pm
Contact:

Re: Adwords Tracking

Post by kwikstand » Wed Oct 30, 2013 6:12 am

The Adwords code needs to be on the Receipt page only. Otherwise it will record every page view as a sale.

It is different from the Analytics code
Contractor's Solutions
www. contractors-solutions.net

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Adwords Tracking

Post by jmestep » Thu Oct 31, 2013 4:53 am

I do understand that. There is code in the GoogleAnalyticsWidget that shows the ecommerce part of their tracking on the receipt page only. If you don't want to do that, you can put the code at the bottom of the receipt page.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

kwikstand
Commodore (COMO)
Commodore (COMO)
Posts: 410
Joined: Mon Feb 19, 2007 8:12 pm
Contact:

Re: Adwords Tracking

Post by kwikstand » Thu Oct 31, 2013 6:06 am

OK, but How do you put the code at the bottom? I tried once and broke the page.
Contractor's Solutions
www. contractors-solutions.net

Post Reply