Jump to content

Order process goal funnel set in Google Analytics


spin6

Recommended Posts

I'm trying to set up goals and funnels in google analytic but the URL for the cart summary, shipping, and payment method pages are all the same (/shop/order.php). Is this how it should be? It seems odd that it would be this way...

 

Also, i've noticed people going to pages that dont seem to exist on my page like /order/step0.html, (or step1, step2, step3.html). When i go through the order process myself i never see these URLs.

Link to comment
Share on other sites

I'm trying to set up goals and funnels in google analytic...pages that dont seem to exist

Do not worry about this, t is an internal process of checkout steps. Set your funnel as follows and it should work

 

First set up a Goal called "Order Process"

Goal type: URL destination

Match type: Regular Expression match

Goal URL: /order-confirmation\.php

 

(assuming the Prestashop installation is in the root of your domain, if not, i.e. say if it is in a folder called shop then goal URL would be /shop/order-confirmation\.php)

 

Then add 6 funnel steps and for the URL and Name enter:

 

Step 1 /product.php Product page

Step 2 /order/step0.html Cart view

Step 3 /authentication.php Authentication

Step 4 /order/step1.html Address

Step 5 /order/step2.html Shipping

Step 6 /order/step3.html Payment

 

(again these URLs assume your installation is in the root of the domain, if not change paths accordingly). Make sure Step 1 "Required URL" is not checked. You can also name the steps whatever you want

 

Make sure analytics module is installed and configured properly (GA console will report "receiving data")

 

This is not ideal, but sufficient until Prestashop handles one page checkout v. standard checkout v. guest checkout v. URL redirection v. caching, in a consistent manner with regards to checkout process

Link to comment
Share on other sites

  • 5 months later...

Dear Phrasespot, I do worry about my goals. I have two special cases:

  • for one I've set up my conversion goal and funnel and my steps are the same as yours (except that my goal is a head match type), but Analytics won't register anything.
  • the second case shows results for the funnel steps, but not for the goal.

There are orders registered in back office, but not in Analytics. Any suggestions?

 

Thanks

Link to comment
Share on other sites

  • 2 months later...

Hello,

 

I had the same problem but I resolved it in 2 steps :

- Create a hook to replace hookOrderConfirmation (beacause it doesn't work) and add the GA module over it.

- In ganalytics.php, replace the original variable

$order = $params['objOrder'];

, which is supposed to gather the orders' datas, by

$id_order = $_GET['id_order']; $order = new Order((int)$id_order);

 

If you want more information, I wrote an article (in french) about that problem on my agency's blog.

 

I hope that it will help you.

Link to comment
Share on other sites

  • 5 months later...

To Phrasespot,

 

just wanted to clarify on the goal URL. You typed: Goal URL: /order-confirmation\.php

 

is the backslash a typo (\)? Or is it really /order-confirmation\.php

 

Thanks for being so complete in your explanation. It has helped tremendously in setting up the google analytics conversion goal. Just need to make sure that backslash isn't a typo.

 

Will report back.

Link to comment
Share on other sites

  • 7 months later...
  • 1 year later...

phrasespot:

Hi, I have followed the funnel steps you suggested but they do not work for me. I am using PS 1.5.3.1 and the 5-page checkout, and even before upgrading to Universal Anylitics it did not work. When I login to GA and look at the Goal stats there is never any data.

 

There is a link at the bottom of the GA page where you add/edit the 6 funnel steps (admin > account > property > view > goals), and it says "Verify this Goal. See how often this Goal would have converted based on your data from the past 7 days."  The idea behind this verification is to find out if the data you provided in your GA account to set up the goal is valid. So phrasespot, if you click this link for your own site, does it verify for you? And if so, what verson of PS are you using? And did you upgrade to Universal Analytics or are you using the old Classic version?

 

If anyone was able to get their Goal funnel to verify via that link, please let us know (include version of PS and GA). I suspect that the key to getting the module to work is actually at the GA setup end - if we don't give Google the correct setup data, we won't get any analytics back.

 

Lastly, I wonder if the different payment modules (e.g. PayPal) we use could affect what page the order is considered completed on (maybe it's not always order-confirmation.php)?

 

 

~ Elaine

Edited by artofadornment (see edit history)
Link to comment
Share on other sites

I am using Presta 1.6.0.9 with Universal Analytics and I have the same problem as you Elaine.

 

I wonder what are the right URLs of sales funnel steps in Presta 1.6?

Below URLs do not work in my shop.
Step 1 /product.php Product page
Step 2 /order/step0.html Cart view
Step 3 /authentication.php Authentication
Step 4 /order/step1.html Address
Step 5 /order/step2.html Shipping
Step 6 /order/step3.html Payment

 

I also wonder is GA able to verify goal immidiately after putting URLs in it or does it take some time?
(Just like implementing GA tracking code in module or header.tpl and waiting 24h to see the results)


If anyone was able to get their Goal funnel to verify via that link, please let us know.
It will make a lot of people`s lifes much easier.

Edited by copycharlie (see edit history)
Link to comment
Share on other sites

  • 3 weeks later...
Presently I use "/order-confirmation" as my main goal and  it works for orders paid via bank transfer.
 
And this is my sales funnel.
1. /order
2. /login?multi-shipping=0
3. /order?step=1
4. /order
5. /order?multi-shipping=
6. /module/bankwire/payment

Unfortunately goal "/order-confirmation"  is still not being tracked by GA for orders paid via Paypal or transferuj.pl.

If anybody knows which might causes the problem, thank you in advance for any help.
Link to comment
Share on other sites

  • 2 months later...
  • 4 weeks later...
  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...