Jump to content
noodly90210

Statistics Visits and Visitors not working.

Recommended Posts

Hello!

Module Visits and Visitors is showing as "installed", but there are no visitors in the counter. It can't be, because at least I am on the site! Besides that, other counter at my site shows 40 visitors a day. Help me please.

Thank you.

Share this post


Link to post
Share on other sites

Hi, I have the same problem. I'm using version 1.5.3.1.

Is there a solution to this already? Thanks.

Share this post


Link to post
Share on other sites

I think it's enough if I move the module "data mining" to footer...

Did this solved the problem?

Share this post


Link to post
Share on other sites

I think it's enough if I move the module "data mining" to footer...

 

I logged in specially to thank you for this solution.

Yes it works perfectly even with Presta 1.6 :)

  • Like 1

Share this post


Link to post
Share on other sites

This actually looks like solved the problem for 1.6.9.0, thank you!

Share this post


Link to post
Share on other sites

Hi, You can simply reset this module 'Data mining for statistics' and it itself move hook to footer. Go to Back Office -> Modules. Find 'Data mining for statistics' and push right side 'Configure' button to drop down it and press to 'Reset'.

It's helped me, I use PrestaShop 1.6.1.11.

 Thanks to all previous users for information - it's was very helpful.

Edited by sassbar (see edit history)

Share this post


Link to post
Share on other sites

Hi.

I have JS error in module "Visits and Visitors". 

nv.d3.min.js return Uncaught TypeError: Cannot read property 'data' of undefined.

Drawer.php return: {"axisLabels":{"xAxis":null,"yAxis":null},"data":[{"values":[{"x":10,"y":0},{"x":11,"y":0}],"key":"Number of visits and unique visitors"},{"values":[{"x":10,"y":0},{"x":11,"y":0}],"key":"Visits"}]}

But I have some data about visitors, module show totals:

Total visits: 187551

Total visitors: 184222

Can someone help me with these errors?

Prestashop version 1.7.4.2, Visits and Visitors version 2.0.2, NVD3 Charts version 2.0.1, Data mining for statistics 2.0.0

Share this post


Link to post
Share on other sites

Hi, 

PHP version: 7.1.30-2+0~20190710.21+debian9~1.gbp011d3c

MySQL version: 10.1.37-MariaDB-0+deb9u1

MySQL engine: InnoDB

Share this post


Link to post
Share on other sites

 

On 1/13/2020 at 9:49 AM, JanisR said:

I have JS error in module "Visits and Visitors". 

nv.d3.min.js return Uncaught TypeError: Cannot read property 'data' of undefined.

Anyone have any ideas what could be the problem?

Share this post


Link to post
Share on other sites
53 minutes ago, JanisR said:

Anyone have any ideas what could be the problem?

URL of your site to check the problem onsite is?

You are using non-native theme OR addons. If yes disable them. Seems that another non default thing is interacting wrongly with native Prestashop code.

Share this post


Link to post
Share on other sites

No difference. Even if I install a clean version 1.7.6.3, I get the same error: 

nv.d3.min.js:5 Uncaught TypeError: Cannot read property 'data' of undefined

 

Share this post


Link to post
Share on other sites

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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More