pdpd Posted May 8, 2008 Share Posted May 8, 2008 Hi All, We have Google Analytics setup. We have a funnel and this is picking up completed orders, but they seem to show about 75% of what the orders total in WHMCS shows. Further, we cannot work out how to incorporate cost per conversion by sending total paid values back to Google Analytics. Does anyone have any ideas/tips on how to get this working - is anybody running this successfully? Thanks 0 Quote Link to comment Share on other sites More sharing options...
minadreapta Posted May 8, 2008 Share Posted May 8, 2008 where did you put the conversion script from google? on which page? 0 Quote Link to comment Share on other sites More sharing options...
pdpd Posted May 8, 2008 Author Share Posted May 8, 2008 where did you put the conversion script from google? on which page? We've got it in our footer so it appears on every page. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted May 9, 2008 WHMCS CEO Share Posted May 9, 2008 It is my understanding that you would normally just put the Google Analytics code for order statistics to run when the order is completed and paid for. So in the template file templates/orderforms/cart/complete.tpl There you can use variables such as {$orderid}, {$invoiceid} and {$amount} to pass over the data. Matt 0 Quote Link to comment Share on other sites More sharing options...
pdpd Posted May 9, 2008 Author Share Posted May 9, 2008 It is my understanding that you would normally just put the Google Analytics code for order statistics to run when the order is completed and paid for. So in the template file templates/orderforms/cart/complete.tpl There you can use variables such as {$orderid}, {$invoiceid} and {$amount} to pass over the data. Matt Thanks Matt. GA needs the code on every single page as it tracks visitors throughout the site, and their steps towards order completion/dropping out of the order process/bounce rates etc. Are you able to advise of the actual URL that is displayed on order completion, that includes the complete.tpl file? (This is what GA works off when you are creating a goal. You tell it what to look for in the URL (e.g. ?orderstatus=complete) in order to determine that the user is on the final page and assume the order is complete.) 0 Quote Link to comment Share on other sites More sharing options...
WebHostingCanada Posted May 11, 2008 Share Posted May 11, 2008 If you're using Paypal as a gateway I believe the user only hits the complete.tpl page if they click to return to your page after completing the payment. From personal experience only some of the clients actual follow this link, so that may account for the 25% of those that don't get accounted for. 0 Quote Link to comment Share on other sites More sharing options...
pdpd Posted May 12, 2008 Author Share Posted May 12, 2008 If you're using Paypal as a gateway I believe the user only hits the complete.tpl page if they click to return to your page after completing the payment. From personal experience only some of the clients actual follow this link, so that may account for the 25% of those that don't get accounted for. We use WorldPay - we don't use PayPal. GA really is an incredibly useful tool - it would be nice to get it working correctly. 0 Quote Link to comment Share on other sites More sharing options...
honesting Posted September 21, 2009 Share Posted September 21, 2009 any update about this integration? 0 Quote Link to comment Share on other sites More sharing options...
pdpd Posted September 21, 2009 Author Share Posted September 21, 2009 Not heard anything yet. Surely some must have it working 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.