Google analytics Goals for Ubercart?

Posts: 171
Joined: 08/08/2007
Early adopter... addicted to alphas.Getting busy with the Ubercode.

So I have finally launched the site I've been working on for few months and have setup the Google Analytics [GA] module for it. I'd like to setup some 'Conversion Goals', as GA puts it, but was wondering if anyone has done this yet and has some tips they wnt to share.

I guess a typical UC funnel process would be:

www.example.com/cart
www.example.com/cart/checkout
www.example.com/cart/checkout/review
www.example.com/cart/checkout/complete

?

Any others?

--

suffering from too much information

Posts: 4747
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Dunno... only other I can think of would be tracking users who make their accounts on their own. If there was some way to track users who created accounts and ordered later, that would be cool.

Posts: 126
Joined: 08/22/2007
Spreading the word - Ubercart for president.

Google analytics supports user segmentation. See: http://www.google.com/support/googleanalytics/bin/answer.py?answer=75010

We could just specify a user segment as someone who already has an account.

Along with this it would be nice to know what payment method was used for each order.

Posts: 40
Joined: 10/10/2007

I want to set up some conversion goals for user account creation as Ryan mentioned above.

Is anyone willing to post up the way they've set up their goals?

Posts: 171
Joined: 08/08/2007
Early adopter... addicted to alphas.Getting busy with the Ubercode.

I can't get goals working still Sad Anyone had any luck with it?

--

suffering from too much information

Posts: 126
Joined: 08/22/2007
Spreading the word - Ubercart for president.

I have 2 funnels setup, one with the home page included, one without. See attachments.

www.hugamonkey.com

AttachmentSize
Home Not Included.PNG40.96 KB
Home Included.PNG41.34 KB
Posts: 4747
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Don't want to be a stinker, but the review page is actually /cart/checkout/review. Is it working for you as is?

Posts: 1229
Joined: 08/14/2007
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.

I was going to point that out too. Just this weekend got GA Goals working on the RiffTrax site and had to make that small change. Works fine now after that! Will report more as soon as I've collected more data Smiling

--

"Pain don't hurt." - Dalton

Mike Nelson's RiffTrax! www.rifftrax.com

Posts: 126
Joined: 08/22/2007
Spreading the word - Ubercart for president.

This has been working for us, however - this is because the GA goal success doesn't depend on consecutive page views but can occur in any order. So if a page in the funnel is never "triggered" GA just assumes that if the user made it to the next step they also made it to the previous step. I've attached a screen shot. I've updated my goal to reflect the proper URL.

BTW: Because Ubercart has such a simple and robust checkout process our success rate is stupendous! Now we just need more visitors!

AttachmentSize
funnel.PNG28.96 KB
Posts: 1229
Joined: 08/14/2007
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.

Hey guys,

Please seem my post here: http://www.ubercart.org/forum/support/3638/uc_googleanalytics_doesnt_wor...

If you change your core Google Analytics module (not the Ubercart module) to NOT use the Legacy google tracking code, your commerce transactions and goals will dive, because Ubercart is using the Legacy code, while Google has released a new version that ebables more features. So I updated the uc_googleanalytics.module file to check which it's using and to use whichever script is appropriate.

Still testing at the moment but I hope to have some results soon.

--

"Pain don't hurt." - Dalton

Mike Nelson's RiffTrax! www.rifftrax.com

Posts: 4747
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Sweet. Feel free to post the patch when you're done. Eye-wink

Posts: 3
Joined: 03/14/2008

@Insurrectus: For the 'Home Included' Funnel, don't you want to select 'Required Step' for the first step?

Posts: 45
Joined: 09/03/2007

Which page is the "thankyou" or sale comlete page?

I'm trying to setup analytics and can't find that setting in my store.

Posts: 75
Joined: 01/25/2008

I think what you are asking was posted above,

www.yoursite.com/cart/checkout/complete

Posts: 22
Joined: 08/20/2007

Not every sale is found in my goals. Why?

On 'funnel visualisation' in google analytics I see:
85 cart
17 checkout
17 review
17 complete

1 from the 17 is from the 2nd july.

But I sell 3 items on the 2nd july.

Also the ecommerce module in google analytics only see one selled item.

I don´t see a logic until now, which is included/excluded.
I use the old google analytics JS (urchin.js)

Jurgen
http://www.iGadgets.be

Posts: 42
Joined: 05/02/2008
Bug Finder

Hey Ryan,

I added a patch to support the latest Google Analytics code. It can be found at http://drupal.org/node/280090. The patch was made against Ubercart 5.x-1.0.

--

Cheers,

Jon Antoine
www.antoinesolutions.com

Posts: 1229
Joined: 08/14/2007
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.

You, sir, rock. I wanted to get back to this but it wasn't a priority. I'll be glad to test this out.

--

"Pain don't hurt." - Dalton

Mike Nelson's RiffTrax! www.rifftrax.com

Posts: 33
Joined: 03/17/2008

Excellent! Thank you!