getup Posted July 30, 2011 Share Posted July 30, 2011 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. 0 Quote Link to comment Share on other sites More sharing options...
aabrothers Posted August 13, 2011 Share Posted August 13, 2011 Thank you for sharing 0 Quote Link to comment Share on other sites More sharing options...
Juanzo Posted August 16, 2011 Share Posted August 16, 2011 Kudos getup! WHmcs needed something like this! 0 Quote Link to comment Share on other sites More sharing options...
mrl14 Posted September 6, 2011 Share Posted September 6, 2011 Does this work with the ajax cart? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted September 6, 2011 WHMCS CEO Share Posted September 6, 2011 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 0 Quote Link to comment Share on other sites More sharing options...
kashif Posted September 12, 2011 Share Posted September 12, 2011 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. 0 Quote Link to comment Share on other sites More sharing options...
plusplushosting Posted September 20, 2011 Share Posted September 20, 2011 Thanx for this valued information! 0 Quote Link to comment Share on other sites More sharing options...
plusplushosting Posted September 22, 2011 Share Posted September 22, 2011 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! 0 Quote Link to comment Share on other sites More sharing options...
Andrew Taylor Posted April 3, 2012 Share Posted April 3, 2012 Does this work with the ajax cart? I think it is not working properly with ajax, some changes may be required......... 0 Quote Link to comment Share on other sites More sharing options...
zomex Posted April 3, 2012 Share Posted April 3, 2012 This is fantastic thanks for taking the time to explain in detail. 0 Quote Link to comment Share on other sites More sharing options...
duperhost Posted July 18, 2012 Share Posted July 18, 2012 Thanks, Great. 0 Quote Link to comment Share on other sites More sharing options...
bizworldusa Posted August 16, 2012 Share Posted August 16, 2012 This is fantastic thanks for taking the time to explain in detail. And thanks for sharing this valuable information........ Thank you Bizworldusa 0 Quote Link to comment Share on other sites More sharing options...
Manchester Web Hosting Posted September 4, 2012 Share Posted September 4, 2012 Nice quick tutorial! 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.