PovkaREAL Posted December 30, 2013 Share Posted December 30, 2013 Hello, I have upgraded my e-shop to 1.5.6.1. After it Google analytics doesn't work. I tried to reinstall ganalytics module, but no changes. Any ideas? Best regards, Povilas, http://Belts.lt Link to comment Share on other sites More sharing options...
indus Posted December 30, 2013 Share Posted December 30, 2013 Try resetting the module, that works sometimes. Link to comment Share on other sites More sharing options...
PovkaREAL Posted December 30, 2013 Author Share Posted December 30, 2013 Already tried... Try resetting the module, that works sometimes. Link to comment Share on other sites More sharing options...
vekia Posted December 30, 2013 Share Posted December 30, 2013 what you mean by "don't work" ? module has got some errors? do you see error messasges? analytics code appears well in page source? Link to comment Share on other sites More sharing options...
PovkaREAL Posted December 30, 2013 Author Share Posted December 30, 2013 no traffic in Google Analytics page. Link to comment Share on other sites More sharing options...
vekia Posted December 30, 2013 Share Posted December 30, 2013 and what about analytics code between <header></header> tag ? it appears? Link to comment Share on other sites More sharing options...
PovkaREAL Posted December 30, 2013 Author Share Posted December 30, 2013 No, it absent. As I understand code must appear in /themes/themeXXX/header.tpl Link to comment Share on other sites More sharing options...
vekia Posted December 30, 2013 Share Posted December 30, 2013 no, in page source, just open your front page and right click > page source does it appear there between <header></header> tag? Link to comment Share on other sites More sharing options...
PovkaREAL Posted December 30, 2013 Author Share Posted December 30, 2013 This is all what I can found regarding analytics: <script type="text/javascript" async="" src="http://www.google-analytics.com/ga.js"></script> .... <!-- ?php include_once("analyticstracking.php") ? --> Does I need to mark "Universal Analytics Active" in ganalytics module? http://belts.lt Link to comment Share on other sites More sharing options...
vekia Posted December 30, 2013 Share Posted December 30, 2013 your analytics code is properly included to your website. can you verify "real time" stats in your google analytics account? Link to comment Share on other sites More sharing options...
PovkaREAL Posted December 30, 2013 Author Share Posted December 30, 2013 Vekia, no real time visitors and zero visitors since upgrade date (about two weeks ago). Link to comment Share on other sites More sharing options...
vekia Posted December 30, 2013 Share Posted December 30, 2013 ok, thank you for clarification. it's weird, really weird. can you for test purposes disable the module. then go to analytics account, generate tracking code. then paste it between <header></header> tags in your header.tpl file will see what's goin on then 1 Link to comment Share on other sites More sharing options...
babyenshop Posted January 1, 2014 Share Posted January 1, 2014 I have installed the version 1.5.0.17 and had the same problem. I have deleted in the file header.tpl of the module ganalytics the first part of the if clause: ({if universal_analytics eq true}) and now it works. Best regards, Oscar 1 Link to comment Share on other sites More sharing options...
vekia Posted January 1, 2014 Share Posted January 1, 2014 hello thank you for information how you solved this problem, anyway why not to use 1.5.6.1 ? 1.5.0.x is a bit old version of prestashop with several important bugs Link to comment Share on other sites More sharing options...
babyenshop Posted January 1, 2014 Share Posted January 1, 2014 hello thank you for information how you solved this problem, anyway why not to use 1.5.6.1 ? 1.5.0.x is a bit old version of prestashop with several important bugs Unfortunately I bought a template that was developt with this version. I tried to use it with the version 1.5.6.1 but it doesn´t work. Now, after weeks of works, I notice that there are a lot bugs and I am thinking about to buy a new template and start from scratch. Do you think it´s woth or should I go on with 1.5.0.17? Thank for you advice, Oscar Link to comment Share on other sites More sharing options...
vekia Posted January 1, 2014 Share Posted January 1, 2014 well, in my opinion 1.5.0 version is a bit "old" with several "childhood" problems in my opinion it's better to use at least 1.5.5 version, 1.5.6.1 - perfect Link to comment Share on other sites More sharing options...
PovkaREAL Posted January 6, 2014 Author Share Posted January 6, 2014 vekia, if I putting code to my header.tpl my web page doesn't start, just white screen in browser ok, thank you for clarification. it's weird, really weird. can you for test purposes disable the module. then go to analytics account, generate tracking code. then paste it between <header></header> tags in your header.tpl file will see what's goin on then Link to comment Share on other sites More sharing options...
vekia Posted January 6, 2014 Share Posted January 6, 2014 it's probably because your google analytics code uses "brackets" - signs like: { } if so, you have to put code between {literal}{/literal} tags, something like: {literal} your g analytics code here {/literal} 1 Link to comment Share on other sites More sharing options...
PovkaREAL Posted January 6, 2014 Author Share Posted January 6, 2014 Thank you very much! Now it works! Manually putted code works fine, so I have left ganalytics module disabled! it's probably because your google analytics code uses "brackets" - signs like: { } if so, you have to put code between {literal}{/literal} tags, something like: {literal} your g analytics code here {/literal} 1 Link to comment Share on other sites More sharing options...
vekia Posted January 6, 2014 Share Posted January 6, 2014 thank you for confirmation, i marked this thread as [solved] if you need additional assistance related to this case - just continue discussion below 2 Link to comment Share on other sites More sharing options...
PovkaREAL Posted January 6, 2014 Author Share Posted January 6, 2014 just one question - can i set analytics goals then module is disabled? thank you for confirmation, i marked this thread as [solved] if you need additional assistance related to this case - just continue discussion below Link to comment Share on other sites More sharing options...
vekia Posted January 6, 2014 Share Posted January 6, 2014 yes you can setup analytics goals, just define them in your google analytics account Link to comment Share on other sites More sharing options...
TomPuja Posted January 9, 2014 Share Posted January 9, 2014 Hi! After trying to edit header.tpl Google Analytics still doesn't show anything... Any advise? www.norwayshop.com Thank you in advance! Link to comment Share on other sites More sharing options...
Totti Posted January 9, 2014 Share Posted January 9, 2014 Same problem. Link to comment Share on other sites More sharing options...
vekia Posted January 9, 2014 Share Posted January 9, 2014 and what about adding own code manually? Link to comment Share on other sites More sharing options...
Totti Posted January 10, 2014 Share Posted January 10, 2014 Same problem. Link to comment Share on other sites More sharing options...
PovkaREAL Posted January 12, 2014 Author Share Posted January 12, 2014 After adding manually, my ga works, but I can't see keywords in real monitor. Link to comment Share on other sites More sharing options...
TomPuja Posted January 13, 2014 Share Posted January 13, 2014 Hi! After adding manually - GA still doesn't work and a shop can not be accessed... blank page. Please advise. Tx in advance! Link to comment Share on other sites More sharing options...
vekia Posted January 13, 2014 Share Posted January 13, 2014 i checked you website and analytics should work, my browser plugin to "block" analytics found it on your website Link to comment Share on other sites More sharing options...
TomPuja Posted January 13, 2014 Share Posted January 13, 2014 I chose to transfer to "Universal Analytics" and since it takes 24-48 hours I will have to try it again... Link to comment Share on other sites More sharing options...
guanooo Posted October 25, 2014 Share Posted October 25, 2014 Adding the code between header tags didn't do the work for me. Recently I found the solution for me in the forum. I'm with version 1.5.5.0 of Prestashop.So here is the thing: 1. Use your FTP client to navigate to the module -> modules/ganalytics/header.tpl 2. Open the file to edit it and change this: {if universal_analytics eq true} with this: {if $universal_analytics eq true} 3. In the admin panel go to the module Google Analytics and also disable this option though: Universal Analytics Active This worked for me. Try it and let me know. 1 Link to comment Share on other sites More sharing options...
camfab Posted March 31, 2015 Share Posted March 31, 2015 I've a similar problem: google analytycs real time correctly works only for a single CMS page.It's very strange: on each other page of the site, no realtime analytycs are reported.This is the page that is correctly reported --> http://shop.art-graph.it/content/3-condizioni-di-vendita All other page, such as for example --> http://shop.art-graph.it/home/24-coppi-di-orecchini-lettera-plexiglass-2015010002409.html is not reported at all.I've the module correctly installed, and if i try to check source code, it seems to be correct.Any suggestion? Thank you! Link to comment Share on other sites More sharing options...
vasilisdmr Posted April 9, 2015 Share Posted April 9, 2015 Same problem here, i have successfully installed google analytics module in ps v1.6 and it don work. By don't work i mean that in google account i dont see any traffic at all! Any suggestions?? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now