theWebalyst Posted March 2, 2011 Share Posted March 2, 2011 [WHMCS & hosting newbie advisory] I'm yet to launch and getting the hand of WHMCS and have installed asynchronous GA code to track order completion (orderforms / complete.tpl) using info from the Docs on GA integration and a lengthy forum thread from 2010. It works up to a point. I get ecommerce data in Google but it is incomplete - only $orderid and $amount appear. Viewing the source for the "cart.php?a=complete" page I can see that only those values appear where they are passed to the Google tracker - the remainder are empty (i.e. $city, $state, $country, $packageid, $name, $type). So non of the values being accessed from the database are being obtained ($orderid and $amount come from elsewhere). Questions: 1) Does anyone have this working properly? 2) Any clues as to why the PHP code might not be obtaining these values, or not assigning them in the GA script? We're using the code from the documentation article below: http://docs.whmcs.com/Google_Analytics_Integration Thanks, Mark Web Hosting, Web Marketing & WordPress Websites for Business 0 Quote Link to comment Share on other sites More sharing options...
xeqution Posted March 3, 2011 Share Posted March 3, 2011 I believe Frank "lazsof" on these forums can get this working for you. 0 Quote Link to comment Share on other sites More sharing options...
theWebalyst Posted March 3, 2011 Author Share Posted March 3, 2011 @xeqution thanks - did you spell that right - there's no member username "lazsof" Mark 0 Quote Link to comment Share on other sites More sharing options...
xeqution Posted March 4, 2011 Share Posted March 4, 2011 http://forum.whmcs.com/member.php?u=14782 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.