Jump to content

Google Analytics Goals


getup

Recommended Posts

As we have released our own code to implement Google Analytics, I thought we might as well share the steps we have taken to build a basic funnel in Google Analytics. The steps are not that difficult and are not really advanced, but they should point you in the right direction.

 

First, details about how to set up goals are found on http://www.google.com/support/analytics/bin/answer.py?answer=55515.

 

Add a goal. We have named it: Products sold in this case.

Make sure it is set as active and tick the URL destination box next to Goal Type.

 

Now, the goal URL is where we start to tell where this funnel ends. In this example we will use the following:

 

\/cart.php\?a=complete$

 

Match type: set this to Regular Expression Match. We will use regular expressions in our funnel. The goal value is set to 0, as we don't use this. Conversion tracking will take care of that. We only want to know about the process.

 

Make sure Use funnel is ticked.

 

So, we have 3 steps. Tick the first one to be required.

 

Add to cart: \/cart.php\?a=add&pid=+

View cart: \/cart.php\?a=view$

Checkout: \/cart.php\?a=checkout$

 

That's it. You are now able to visualize the order process. The start is a basic one. We have expanded it in our own installation to include categories for instance. Feel free to send me a message or contact us at info@sensson.net if you are interested.

Link to comment
Share on other sites

  • 2 weeks later...
  • 3 weeks later...
  • WHMCS CEO

Yes the end goal url of cart.php?a=complete works with any of the cart templates/styles in WHMCS.

 

Obviously with the ajax cart though where there's no actual page reloads, the order process can't be tracked in terms of funneling with the individual steps of the order process.

 

Just one point to note about the cart checkout goal tracking, the system can only accurately track conversions of orders paid with online gateways. So for example if you accept payments by cheque, bank transfer, even offline credit card, where the payment isn't processed immediately as part of checkout then the system won't track those as successful conversions.

 

http://docs.whmcs.com/Google_Analytics

 

Matt

Link to comment
Share on other sites

Can you tell me does Website URL in Profile matters? If we use HTTPS or HTTP what would make the difference? Whmcs login is in https and what URL should be used? Your code can track purchases/orders? How it will tell keywords on successful payment that has came up from google to successful order on whmcs?

 

Thanks ...

 

 

As we have released our own code to implement Google Analytics, I thought we might as well share the steps we have taken to build a basic funnel in Google Analytics. The steps are not that difficult and are not really advanced, but they should point you in the right direction.

 

First, details about how to set up goals are found on http://www.google.com/support/analytics/bin/answer.py?answer=55515.

 

Add a goal. We have named it: Products sold in this case.

Make sure it is set as active and tick the URL destination box next to Goal Type.

 

Now, the goal URL is where we start to tell where this funnel ends. In this example we will use the following:

 

\/cart.php\?a=complete$

 

Match type: set this to Regular Expression Match. We will use regular expressions in our funnel. The goal value is set to 0, as we don't use this. Conversion tracking will take care of that. We only want to know about the process.

 

Make sure Use funnel is ticked.

 

So, we have 3 steps. Tick the first one to be required.

 

Add to cart: \/cart.php\?a=add&pid=+

View cart: \/cart.php\?a=view$

Checkout: \/cart.php\?a=checkout$

 

That's it. You are now able to visualize the order process. The start is a basic one. We have expanded it in our own installation to include categories for instance. Feel free to send me a message or contact us at info@sensson.net if you are interested.

Link to comment
Share on other sites

  • 6 months later...
  • 3 months later...
  • 5 weeks later...
  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated