naalen Posted March 5, 2014 Share Posted March 5, 2014 I have a problem tracking my sales/orders in Prestashop - I can't see them in Google Analytics. I can see my traffic, but not my orders. I have enabled 'Ecommerce tracking' in Analytics. Anyone who can help with tips/ideas on where the error is ? Thanks in advance Naalen Link to comment Share on other sites More sharing options...
heinrichen Posted December 18, 2014 Share Posted December 18, 2014 naalen, have you found any solution to this yet? I'm having the same problem right now and I cant figure out what to do.. Analytics ID and everything is correct. Visits and all is showing but not conversion/sales. Strange Link to comment Share on other sites More sharing options...
valkor Posted December 19, 2014 Share Posted December 19, 2014 (edited) Same here. Anyone could help? After upgade for google analytics module I can't track transactions on G ECommerce. 1.6.09 - latest GA module 2.0.4 (upgraded twice for this week) Found errors in log: PHP Fatal error: Class 'ganalyticsajaxModuleFrontController' not found in /home/userid/public_html/classes/controller/Controller.php on line 135, referer: http://mysite.com/admin123/index.php?controller=AdminModules&token=fa8b0ebe92b62552fb4ac8493ee406df&anchor=Ganalytics [Wed Dec 17 23:01:22 2014] [error] [client 50.179.237.75] PHP Fatal error: Class 'ganalyticsajaxModuleFrontController' not found in /home/userid/public_html/classes/controller/Controller.php on line 135, referer: http://mysite.com/admin123/index.php?controller=AdminModules&token=fa8b0ebe92b62552fb4ac8493ee406df&conf=32 On 12/17 Browser Console showed: Origin null is not allowed by Access-Control-Allow-OriginI added to .htaccess code I found on google: <IfModule mod_headers.c> Header set Access-Control-Allow-Origin %{AccessControlAllowOrigin}e env=AccessControlAllowOrigin Header set Access-Control-Allow-Credentials true Header set Access-Control-Allow-Headers "accept, authorization" </IfModule> No more error in browser, but Ecommerce tracking still not showing transactions Edited December 19, 2014 by valkor (see edit history) Link to comment Share on other sites More sharing options...
valkor Posted December 27, 2014 Share Posted December 27, 2014 Same here. Anyone could help? After upgade for google analytics module I can't track transactions on G ECommerce. 1.6.09 - latest GA module 2.0.4 (upgraded twice for this week) Found errors in log: PHP Fatal error: Class 'ganalyticsajaxModuleFrontController' not found in /home/userid/public_html/classes/controller/Controller.php on line 135, referer: http://mysite.com/admin123/index.php?controller=AdminModules&token=fa8b0ebe92b62552fb4ac8493ee406df&anchor=Ganalytics [Wed Dec 17 23:01:22 2014] [error] [client 50.179.237.75] PHP Fatal error: Class 'ganalyticsajaxModuleFrontController' not found in /home/userid/public_html/classes/controller/Controller.php on line 135, referer: http://mysite.com/admin123/index.php?controller=AdminModules&token=fa8b0ebe92b62552fb4ac8493ee406df&conf=32 On 12/17 Browser Console showed: Origin null is not allowed by Access-Control-Allow-OriginI added to .htaccess code I found on google: <IfModule mod_headers.c> Header set Access-Control-Allow-Origin %{AccessControlAllowOrigin}e env=AccessControlAllowOrigin Header set Access-Control-Allow-Credentials true Header set Access-Control-Allow-Headers "accept, authorization" </IfModule> No more error in browser, but Ecommerce tracking still not showing transactions Can anybody explain how this lines in googleanalytics.php works if url doesn't have controller anymore starting from 1.6, and this is what I found on lines 235-238: // Add Google Analytics order - Only on Order's confirmation page $controller_name = Tools::getValue('controller'); if ($controller_name == 'orderconfirmation') Same for 'order' and 'orderopc' in hookFooter later on lines 284 and 295 ($controller_name == 'orderconfirmation') Should it use url /order-confirmation?id_cart= ? Link to comment Share on other sites More sharing options...
Novios Posted December 27, 2014 Share Posted December 27, 2014 Same problem here since the update of the module 2.0.4 last week. No transactions are shown. :-( Does anyone have a solution? I have a installation with 3 shops on different domains. Link to comment Share on other sites More sharing options...
heinrichen Posted December 27, 2014 Share Posted December 27, 2014 Is it possible to find earlier version of this module? Same as Prestashop on github. Seems like earlier versions works fine concerning analytics order / conversion tracking. Anyone knows if this one is working? http://addons.prestashop.com/en/analytics-stats-prestashop-modules/6507-google-analytics-e-commerce-php.html I think it's soon worth paying for it... Link to comment Share on other sites More sharing options...
Novios Posted December 27, 2014 Share Posted December 27, 2014 The previous version of the module would be ok, or an update with fix... I don't want to buy a module, as the old one worked perfect! Link to comment Share on other sites More sharing options...
heinrichen Posted December 29, 2014 Share Posted December 29, 2014 I dont 't know where to get it though.. Link to comment Share on other sites More sharing options...
heinrichen Posted December 29, 2014 Share Posted December 29, 2014 Novios, Here is the version 1.8.2, I have tested it today on presta 1.6.0.9 and the sales registers in Analytics. ganalytics.zip Link to comment Share on other sites More sharing options...
Novios Posted December 29, 2014 Share Posted December 29, 2014 Thanks! I have installed this previous version now and will check sales tonight/tomorrow. Hopefully this will work. Link to comment Share on other sites More sharing options...
Elaine Leung Posted January 5, 2015 Share Posted January 5, 2015 Me too, google analytics module I can't track transactions on G ECommerce. Elaine Link to comment Share on other sites More sharing options...
heinrichen Posted January 6, 2015 Share Posted January 6, 2015 Me too, google analytics module I can't track transactions on G ECommerce. Elaine Seems like there is a problem in the version from Prestashop Ganalytics. Many have this problem, Which version do you use? Use some older version to make it work until there is an updated version released. Please find the working ganalytics module 1.8.2 to be downloaded above. Link to comment Share on other sites More sharing options...
Elaine Leung Posted January 6, 2015 Share Posted January 6, 2015 PrestaShop version 1.6.0.9 Google Analytics v2.0.4 Google Analytics API v1.0.3 Link to comment Share on other sites More sharing options...
heinrichen Posted January 6, 2015 Share Posted January 6, 2015 PrestaShop version 1.6.0.9 Google Analytics v2.0.4 Google Analytics API v1.0.3 That version was the same that not worked for me. Download ganalytics.zip 1.8.2 above and it will work. Link to comment Share on other sites More sharing options...
Novios Posted January 6, 2015 Share Posted January 6, 2015 Correct, with the old version it works fine! Now I have to find a solution for tracking sales correct in adwords / multishop.... Link to comment Share on other sites More sharing options...
heinrichen Posted January 7, 2015 Share Posted January 7, 2015 Correct, with the old version it works fine! Now I have to find a solution for tracking sales correct in adwords / multishop.... I think there can't be too much time before prestashop team fix this. This is a very very imortant part of the e-commerce platform and it has to work correctly. Link to comment Share on other sites More sharing options...
Prestafan1234 Posted September 25, 2015 Share Posted September 25, 2015 (edited) I know this thread is fairly old, but it is not marked as resolved, and the problem is definitely still there. I have a client who runs multistore. PrestaShop 1.6.0.9 - GA module version 2.2.0. Like someone else writes in this thread, it seems to definitely be the later versions of the GA module that causes the issues. We have tried the following: Installing the 1.8 version of the module. This did not change anything Disable Google Analytics API module - in case it caused a conflict (it wasn't used anyway). Did not help Check to see if it is a certain payment method that is not tracked - that can be ruled out, as all payment methods are traced at one point or another There are no errors in the error log on the webhost and the other logs show nothing with regards to Google Analytics as far as I can tell Here is some proof that conversions are not tracked: EDIT: Attached as screen dump as tables didn't work out very well I have found several different topics about Google Analytics problems, but none that are resolved (This one https://www.prestashop.com/forums/topic/388140-google-analytics-ecommerce-tracking/?do=findComment&comment=1900261 just links to this thread, but like I wrote, downgrading does not work in this shop). I hope someone has an idea - or perhaps it should just be admitted as a bug to PrestaShop? Edited September 25, 2015 by Prestafan1234 (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts