Has anyone setup Google Analytics E-commerce tracking before?
Permalink
This is the specific e-commerce GA tracking code (not the standard code) with pulls orders and products/prices into GA and Adwords for ROI calculations.
I'm just not entirely sure how to setup the php to put this info into the GA code - I have templating experience with c5's core commerce but am not sure how to go about retrieving this data from an order.
Here's a complete example showing the info we'd like to pull from the transaction complete page:
Any pointers in the right direction would be much appreciated.
Cheers
Ben
I'm just not entirely sure how to setup the php to put this info into the GA code - I have templating experience with c5's core commerce but am not sure how to go about retrieving this data from an order.
Here's a complete example showing the info we'd like to pull from the transaction complete page:
<script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-XXXXX-X']); _gaq.push(['_trackPageview']); _gaq.push(['_addTrans', '1234', // transaction ID - required 'Acme Clothing', // affiliation or store name '11.99', // total - required '1.29', // tax '5', // shipping 'San Jose', // city 'California', // state or province 'USA' // country ]); // add item might be called for every item in the shopping cart
Viewing 15 lines of 32 lines. View entire code block.
Any pointers in the right direction would be much appreciated.
Cheers
Ben
Awesome mate - thanks heaps!
We'll have this in the PRB as soon as we can.
Nice one!
Is it already available?
Regards,
Raymond
Regards,
Raymond
I've been slacking on this - but thanks for the kick in the butt!
whehe, no problem.
So it's not available yet :-(.
Can you tell me when? Caus i really can use it.
Thanks in advance.
Regards,
Raymond
So it's not available yet :-(.
Can you tell me when? Caus i really can use it.
Thanks in advance.
Regards,
Raymond
We're working on packaging it up now, as the code has to be extracted from some larger customizations.
Not too long, I suspect.
Not too long, I suspect.
Great!
StriderSEO,
Did you happen to get this package published? I'm looking to do a similar install and looking for some direction on how to implement the code.
Thanks
Did you happen to get this package published? I'm looking to do a similar install and looking for some direction on how to implement the code.
Thanks
I have the package, but haven't been able to muster the time to go through PRB approval yet.
If you want to try it I'll make it available to the three of you gratis to try out. Email me at ryan@striderseo.com.
If you want to try it I'll make it available to the three of you gratis to try out. Email me at ryan@striderseo.com.
Wow, that will be great!
I'll send you an email.
I hope it gets approved soon
Much appreciated,
Raymond
I'll send you an email.
I hope it gets approved soon
Much appreciated,
Raymond
Hi Ryan,
Thanks for sending the packages.
I'm gonna use it about 1, 2 months in my personal site.
Much appreciated,
Thanks agian.
Raymond
Thanks for sending the packages.
I'm gonna use it about 1, 2 months in my personal site.
Much appreciated,
Thanks agian.
Raymond
Hi, what's the status of the Google Analytics e-commerce tracking add-on? I'm interested but I don't see it in the Marketplace.
Regards, David
Regards, David
If you don't release this thing soon I'm going to lol. This would be a valuable tool for many sites.
We had it ready to go, but recent changes to the PRB system made it less appealing to release. Not saying we won't, just that we are decidedly less motivated.
That said: We've also had to revamp the plugin for the newer Universal Analytics code that GA upgraded to. The ecommerce tracking is a little more complicated - but it's working.
That said: We've also had to revamp the plugin for the newer Universal Analytics code that GA upgraded to. The ecommerce tracking is a little more complicated - but it's working.
Are you referring to the current PRB? Or the complete lack of anything happening in the PRB we suffered for a few months while awaiting the current PRB?
The current PRB system is faster and more developer friendly than the way it worked before (but then I suppose i would say that)
Franz has announced that the marketplace share will not be changing again, so there is no risk of putting the effort in for a return that subsequently diminishes. (I though it was on this thread, but cannot find it http://www.concrete5.org/community/forums/chat/limit-the-life-of-pu... )
The current PRB system is faster and more developer friendly than the way it worked before (but then I suppose i would say that)
Franz has announced that the marketplace share will not be changing again, so there is no risk of putting the effort in for a return that subsequently diminishes. (I though it was on this thread, but cannot find it http://www.concrete5.org/community/forums/chat/limit-the-life-of-pu... )
John,
I'm referring to the PRB going from semi-functional to near-rebellion over changes in commission, etc. (which lead to the months of inactivity). Coming from you, I'm really happy to hear it's working well!
I had been on the PRB for a while, but haven't ever submitted something (we mostly just build internal tools that aren't of appeal to the masses). Given the state of developer unrest the last time I paid attention it didn't seem like it was worth the hassle.
Maybe time to re-evaluate.
I'm referring to the PRB going from semi-functional to near-rebellion over changes in commission, etc. (which lead to the months of inactivity). Coming from you, I'm really happy to hear it's working well!
I had been on the PRB for a while, but haven't ever submitted something (we mostly just build internal tools that aren't of appeal to the masses). Given the state of developer unrest the last time I paid attention it didn't seem like it was worth the hassle.
Maybe time to re-evaluate.
Going way off topic, here is the current PRB membership setup:
http://www.concrete5.org/developers/submitting-code/marketplace-sub...
http://www.concrete5.org/developers/submitting-code/marketplace-sub...
tres
Let me check with our lead programmer and see if the ecommerce tracking and Google AdWords Conversion tracking could be segmented into a marketplace add-on.