How do I integrate google analytics e-commerce tracking with WP e-commerce plugin?
- Posted by infiniteprep 9 months ago.
- There are 23 posts. The latest reply is from kit
- not resolved
- WordPress version: Not Supplied
- WP e-Commerce version: Not Supplied
We've got a variety of resources to help you get the most out of the WordPress e-Commerce plugin. Your first stop should be our documentation, where you'll find information on everything from installation to design and theming your shop.
-
Posted 9 months ago #
-
Easiest way I found was to add one of the Google Analytics plugins available for WP. That will add the tracking code to each page automatically (once you have your Analytics account set up).
Posted 9 months ago # -
Install Ultimate Google Analytics and drop in your Analytics ID.
Contact me directly by visiting Visser Labs ( http://www.visser.com.au/wp-ecommerce/ ).Posted 9 months ago # -
Does Ultimate Google Analytics recognize wp e-commerce transactions and log them as such in Google Analytics?
Posted 9 months ago # -
UGA does not.
I really, really need this functionality - I've been browsing through the source files, but I've not had time to disassemble it enough to know what data is available where, or even where to put the JS so that it renders on the receipt page.
My reading of GA's site says that we need the following info:
For the transaction -
Order ID
Affiliation
Total
Tax
Shipping
City
State
CountryFor each item -
Order ID
SKU or Code
Product Name
Category
Price
QuantityHow much of the above is optional, I'm not sure. If someone from Instinct could drop me an email so we could hook up, I could write the JS to do this a lot faster. Otherwise, I'll post the technical details here, and hope they pick it up. I won't release a patch, because I don't want to deal with having to keep it up-to-date, and I don't intend to integrate it smoothly into the admin like it should be done. If I get help from Instinct... well, maybe we could work something out. It shouldn't be that much work to integrate this, really.
Posted 8 months ago # -
Misread requirements, UGA doesn't support E-Commerce Tracking. I won't be able to look at this until Friday. When you get around to it please release a patch so someone else can pick up the ball and keep running.
Contact me directly by visiting Visser Labs ( http://www.visser.com.au/wp-ecommerce/ ).Posted 8 months ago # -
This is insane. There is no simple way to add code to the receipt page that I can find. I've spent 6 hours tearing this plugin apart, to no avail. I think I could write my own plugin in the time it is taking to get this working - and it is such a basic feature I'm blown away that it isn't included.
Posted 8 months ago # -
I'm working on this now, looks easy enough. Check out transaction_result_functions.php in the plugin root directory. Testing it now to ensure all data is printed and it only triggers if the payment has been approved.
Contact me directly by visiting Visser Labs ( http://www.visser.com.au/wp-ecommerce/ ).Posted 8 months ago # -
Hmm, have to wait 24 hours for Google Analytics to update, here\'s the output I\'ve got WP E-Commerce spitting out on the Transaction Results page.
http://www.visser.com.au/wp-content/uploads/2009/12/wp-e-commerce-google-analytics-ecommerce.txt
I\'ll post instructions tomorrow, you will need novice knowledge of phpMyAdmin to perform this patch.
Contact me directly by visiting Visser Labs ( http://www.visser.com.au/wp-ecommerce/ ).Posted 8 months ago # -
stuckonpolitics, can you explain what is the Affiliation field is? I've set this to the name of the store, is this correct?
Contact me directly by visiting Visser Labs ( http://www.visser.com.au/wp-ecommerce/ ).Posted 8 months ago # -
Would you not want it to log a transaction even if payment isn't completed? An order is still an order after all. Particularly if the user is going to pay cash on delivery, or send in a cheque. Otherwise you'll miss these orders in your analytics tracking?
Posted 8 months ago # -
One step at a time, I'll check tomorrow morning's data to ensure Google Analytics recorded the succesful transactions. Can you please provide references on how to instruct Google Analytics as well as WP E-Commerce of 'abandoned' transactions.
Contact me directly by visiting Visser Labs ( http://www.visser.com.au/wp-ecommerce/ ).Posted 8 months ago # -
Good news, transaction has been recorded by Google Analytics. Currently the conversion rate will be 100% as transactions are only recorded when a successful order is made. Will prepare instructions this evening.
Contact me directly by visiting Visser Labs ( http://www.visser.com.au/wp-ecommerce/ ).Posted 8 months ago # -
Here's my code and install instructions, please test and comment.
http://www.visser.com.au/blog/adding-google-analytics-e-commerce-tracking-to-wp-e-commerce/
Contact me directly by visiting Visser Labs ( http://www.visser.com.au/wp-ecommerce/ ).Posted 8 months ago # -
Hey good work. I notice from your blog you've never coded up a Wordpress plugin - I think this would be great as a plugin - and the good news it wouldn't be much work to convert it over. I'm happy to do the bits and pieces if you want - but don't want to interfere if you'd rather learn yourself. Drop me a PM and let me know :)
Posted 8 months ago # -
Sent you a PM, would be honoured if you did change it to a Plugin. Makes everyone's life easier!
Contact me directly by visiting Visser Labs ( http://www.visser.com.au/wp-ecommerce/ ).Posted 8 months ago # -
A quick warning about GA too, on the overview report, Top Content that list all the pages that are recorded as visits, those that are given a session_id are part of the transaction results from the online order. In my case when I clicked on those links they recorded the same order through my email and sent the same order the customer had received when they initially purchased an item.
Posted 8 months ago # -
Yes - I've just converted visser.labs' code into a plugin, and I think there are a few other things we could do with it - one of them would to strip these session IDs off the page information sent to Google Analytics. I'm waiting for a reply from Joost de Valk about a small change to his Google Analytics plugin which would let us do this quite nicely and tidy up some other stuff.
More once Michael's had a chance to read and reply to my PM and as/when I hear from Joost ...
Posted 8 months ago # -
Any update on this?
Posted 7 months ago # -
http://wordpress.org/extend/plugins/google-analytics-e-commerce-tracking-for-wp-e-commerce/
Contact me directly by visiting Visser Labs ( http://www.visser.com.au/wp-ecommerce/ ).Posted 7 months ago # -
Absolutely incredible... you guys have really outdone yourselves with this one. I'm seriously blown away...
Posted 7 months ago # -
So it's a little unclear, but I assume I just install this plugin, and, if I have Google Analytics for Wordpress Installed, it will just work?
Is there any way to connect this data to Adwords to track conversions rates?
Posted 5 months ago # -
Hmm. Should've Googled it first:
http://www.google.com/support/analytics/bin/answer.py?hl=en&answer=55507Guess I'll wait and see if that worked.
Posted 5 months ago #
Reply
You must log in to post.
