Results 1 to 14 of 14

Thread: Google Analytics Goals

  1. #1
    Join Date
    Feb 2010
    Posts
    79

    Default Google Analytics Goals

    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/analyt...y?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:

    Code:
    \/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.

    Code:
    Add to cart: \/cart.php\?a=add&pid=+
    Code:
    View cart: \/cart.php\?a=view$
    Code:
    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 [email protected] if you are interested.
    To fight and conquer in all our battles is not supreme excellence; supreme excellence consists in breaking the enemy's resistance without fighting.

    - Sun Tzu

  2. #2
    Join Date
    Jul 2011
    Location
    Newcastle, NSW, Australia
    Posts
    8

    Default

    Thank you for sharing

  3. #3
    Join Date
    Feb 2007
    Location
    Buenos Aires, Argentina
    Posts
    249

    Default

    Kudos getup! WHmcs needed something like this!
    www.duplika.com
    █ Servidores en Argentina y EEUU con uptime garantizado por SLA
    █ ˇNuevo hosting en SSD!

  4. #4
    Join Date
    May 2007
    Posts
    122

    Default

    Does this work with the ajax cart?

  5. #5
    Join Date
    Jul 2005
    Location
    UK
    Posts
    8,512

    Default

    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
    WHMCompleteSolution
    The Complete Client Management, Billing & Support Solution
    www.whmcs.com

  6. #6
    Join Date
    Jan 2007
    Posts
    1

    Default

    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 ...


    Quote Originally Posted by getup View Post
    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/analyt...y?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:

    Code:
    \/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.

    Code:
    Add to cart: \/cart.php\?a=add&pid=+
    Code:
    View cart: \/cart.php\?a=view$
    Code:
    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 [email protected] if you are interested.

  7. #7
    Join Date
    Nov 2009
    Location
    Delaware
    Posts
    148

    Default

    Thanx for this valued information!
    PlusPlus Internet Solutions LLC
    www.PlusPlusHosting.net
    15 Years Providing Premium Web Hosting Solutions
    45 Days Money Back Guarantee - Try Us!

  8. #8
    Join Date
    Nov 2009
    Location
    Delaware
    Posts
    148

    Default

    Well....is this working? i did setup few days before and is not tracking the goals nor funneling? How can i track down the problem?
    Thanx!
    PlusPlus Internet Solutions LLC
    www.PlusPlusHosting.net
    15 Years Providing Premium Web Hosting Solutions
    45 Days Money Back Guarantee - Try Us!

  9. #9
    Join Date
    Mar 2012
    Posts
    16

    Default

    Quote Originally Posted by mrl14 View Post
    Does this work with the ajax cart?
    I think it is not working properly with ajax, some changes may be required.........

  10. #10
    Join Date
    Jul 2010
    Posts
    774

    Default

    This is fantastic thanks for taking the time to explain in detail.
    Web hosting templates Responsive WHMCS & Wordpress + WHMCS templates | WHMCS Services

  11. #11
    Join Date
    Dec 2006
    Location
    Glendale,CA
    Posts
    113

    Default

    Sweet, thank you
    WHMCS Fanatic since 2006!

  12. #12

  13. #13
    Join Date
    Aug 2012
    Location
    USA
    Posts
    16

    Default

    This is fantastic thanks for taking the time to explain in detail. And thanks for sharing this valuable information........

    Thank you
    Bizworldusa

  14. #14
    Join Date
    Nov 2009
    Location
    Salford UK
    Posts
    77

    Default

    Nice quick tutorial!
    Umbrella Host Fast, Affordable, Reliable UK Web Hosting
    Business Web Hosting, VPS Cloud Hosting, Magento Hosting
    Reseller Hosting by Manchester Web Host

Similar Threads

  1. Google Analytics issue, Google Status: Tracking Not Installed
    By gamercomms in forum Technical Issues and Questions
    Replies: 2
    Last Post: 06-01-13, 05:50 PM
  2. WHMCS and Google Analytics GOALS
    By pod in forum Technical Issues and Questions
    Replies: 0
    Last Post: 01-23-10, 06:50 PM
  3. Adwords Conversion tracking and Analytics Conversion Goals
    By rbro in forum Technical Issues and Questions
    Replies: 0
    Last Post: 01-03-08, 04:26 PM
iron-diatonic