4 / 4
Nov 2010

Hello,



On this help topic it describes adding code in the body (when using add to cart buttons).



Will this tracking code override any Google analytics we already have installed?



We're using Wordpress, and currently have an analytics plugin managing our connection to Google. Should we disable that?



Thanks

Dave

  • created

    Oct '10
  • last reply

    Nov '10
  • 3

    replies

  • 1.6k

    views

  • 2

    users

  • 5

    links

If you're using our special version of the Google Analytics tracking code to enable tracking for cart button clicks, that would replace any other GA tracking code you might use.



We have also seen problems with some WordPress plugins for GA tracking, notably the Ultimate Google Analytics plugin in particular, which rewrites our cart button code after you paste it in a way that breaks the nice overlay-style cart that would appear "inside" your pages.



Speaking of WordPress, you might also be interested in using the WP E-junkie plugin that a fellow client recently developed, which makes adding E-junkie cart buttons to a WordPress site much easier and less potentially problematic:

http://wpejunkie.com/

11 days later

Thanks, we've now added the code.



But when a sale takes place, its not showing any data in the e-commerce section of analytics.



Isn't your code meant to track where each sale originates from?

I think Google E-commerce Tracking only works with Google Checkout, if you accept payments by that method.



All our version of the Google Analytics tracking code does (vs. the standard tracking code you'd obtain directly from Google) is allow GA to track cart button clicks in addition to their usual page-visit statistics:

http://www.e-junkie.com/ej/help.tracking.htm



Analytics is NOT designed to be a "conversion tracking" tool; it is only a page-traffic monitoring tool, so the only way it can track conversions is clumsily, by presuming that when a user reaches a certain page, that means they must have arrived there after completing a checkout. This help page explains more about how Analytics-style tracking actually works:

http://www.e-junkie.com/ej/faq.tracking-how-why.htm



This is extremely tricky with PayPal, since we cannot force PayPal to auto-redirect buyers to any thank-you page after checkout, and if the buyer chooses to proceed past the end of checkout before PayPal has finished processing their payment, the buyer would normally only reach a generic thank-you page anyway. This page explains more of the technicalities involved:

1http://www.e-junkie.com/ej/faq.tracking.conversions.htm1



Assuming all of your products are downloads, this page explains a technique that is about as reliable a method as you can get for tracking conversions via Analytics if you accept payments with PayPal:

3http://www.e-junkie.com/ej/tips.tracking.conversions.htm3