Jump to content

[SOLVED] After upgrade to 1.5.6.1 Google Analytics doesn't work


Recommended Posts

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

  • Like 1
Link to comment
Share on other sites

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

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

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}
  • Like 1
Link to comment
Share on other sites

  • 9 months later...

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.
  • Like 1
Link to comment
Share on other sites

  • 5 months later...

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

  • 2 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...