NemoPS Posted August 27, 2014 Share Posted August 27, 2014 Hi everyone! As I received many requests, I wrote a small guide on how to setup google analytics for prestashop, here it comes: http://nemops.com/setting-google-analytics-prestashop/#.U_2iKTK1Z8E Cheers! Fabio 5 Link to comment Share on other sites More sharing options...
Paulito Posted August 27, 2014 Share Posted August 27, 2014 Hello Nemo Thanks, as always, for a great tutorial, it is very helpful Paul Link to comment Share on other sites More sharing options...
lateral Posted September 26, 2014 Share Posted September 26, 2014 Thanks Nemo This got me up and running!!! Link to comment Share on other sites More sharing options...
lateral Posted September 28, 2014 Share Posted September 28, 2014 Hi Nemo I'm trying to connect Google Analytics to the Dashboard and am following the instructions but I am getting this error. Any ideas? Link to comment Share on other sites More sharing options...
Paulito Posted September 28, 2014 Share Posted September 28, 2014 Hello I think a 401 Error Code is to do with being Unauthorised, so if you were trying to connect to google their system does not seem to recognise you Hence: "Error: invalid_client Have a look at this to explain more: https://developers.google.com/analytics/devguides/reporting/core/v3/coreErrors Paul 1 Link to comment Share on other sites More sharing options...
ajensen27 Posted October 22, 2014 Share Posted October 22, 2014 (edited) I've had the Google Analytics module installed for the past year or so and everything has been working fine until Google switched me to universal analytics automatically. So I checked the "Universal Analytics" box in the module settings and this didn't seem to do anything. So I then uninstalled and reinstalled the module and now it seems to be tracking my transactions but it's not showing the revenue and the shipping amounts are off and so are the quantities. The only thing that seems to be correct is the order # (transaction ID in GA). Am I doing something wrong here or is this a bug? I'm on PS vs 1.5.2 Thanks! Alex Edited October 22, 2014 by ajensen27 (see edit history) Link to comment Share on other sites More sharing options...
ksv Posted November 20, 2014 Share Posted November 20, 2014 Hello, Thanks you for your time to post it. Link to comment Share on other sites More sharing options...
heinrichen Posted December 19, 2014 Share Posted December 19, 2014 Nemo1, I really can't manage to get the conversion for e-commerce to be visible in analytics. I just moved from prestashop 1.4.7 to 1.6.0.9. I had the module installed in 1.4 and everything was working. I try to figure if the this new module should be hooked into "displayorderconfirmation", it's not at the moment. I have reset the module several times. In the old presta the module was hooked into "orderconfirmationpage" and to the header. Now the module is hooked into 9 hooks. How to troubleshoot this? I have been trying now for several days and can't find the solution. I have all orders and stats in prestashop dashboard with anaylytics API configured and working. All visitors and other functions in analytics are working. Link to comment Share on other sites More sharing options...
NemoPS Posted December 19, 2014 Author Share Posted December 19, 2014 As far as i know it still hooks there, to the footer and header, no idea why yours is not 1 Link to comment Share on other sites More sharing options...
heinrichen Posted December 19, 2014 Share Posted December 19, 2014 I try to hook it but prestas says it can't be hooked to "displayorderconfirmation", I need to change it in the ganalytics.php file.. Link to comment Share on other sites More sharing options...
heinrichen Posted December 19, 2014 Share Posted December 19, 2014 It's hooked into "hookTop" and checking controller "orderconfirmation" instead. Can you check if the module hooks to "displayorderconfirmation"? I checked the ganalytics.php and the file writes the order to "ps_ganalytics" table, but there is no orders in there. hmm,, don't get it.. Link to comment Share on other sites More sharing options...
NemoPS Posted December 20, 2014 Author Share Posted December 20, 2014 I can confirm, mine has it, version 1.8.2 Link to comment Share on other sites More sharing options...
heinrichen Posted December 22, 2014 Share Posted December 22, 2014 Nemo1, Can you send over that module version, I can't find that one on github. I'm interested to look in the ganalytics.php. please send the zip file if you have it. Link to comment Share on other sites More sharing options...
NemoPS Posted December 29, 2014 Author Share Posted December 29, 2014 Attached ganalytics.zip 3 Link to comment Share on other sites More sharing options...
heinrichen Posted December 29, 2014 Share Posted December 29, 2014 Thanks Nemo1, The versions working in a totally different way with controllers instead of just implementing google code on order-confirmation.php. The version 1.8.2 is only hooked in 2 hooks while the version 2.0.4 is hooked into 9 hooks. Link to comment Share on other sites More sharing options...
VItor Hugo Posted January 1, 2015 Share Posted January 1, 2015 (edited) Sugestão de vídeo para configuração do API do Google Analytics !!! https://www.youtube....h?v=SzWRRwKxhJI Atenção ao final para liberação da "Tela de consentimento" Video suggestion for Google Analytics API configuration !!!https://www.youtube....h?v=SzWRRwKxhJIWarning the end to release the " consent Screen" Edited January 2, 2015 by VItor Hugo (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted January 2, 2015 Author Share Posted January 2, 2015 Thanks Nemo1, The versions working in a totally different way with controllers instead of just implementing google code on order-confirmation.php. The version 1.8.2 is only hooked in 2 hooks while the version 2.0.4 is hooked into 9 hooks. Ii see, I must admit I didn't test that one. But it works for me, did you test it out? Link to comment Share on other sites More sharing options...
heinrichen Posted January 2, 2015 Share Posted January 2, 2015 Yea the version I got from you is working perfect. I will use that one until there is a fix for 2.0.4. Link to comment Share on other sites More sharing options...
Recommended Posts