Jump to content
yaloe2017

Visitors online not working Prestashop 1.7.4.4

Recommended Posts

Hello,

My visitors online is not working (Showing 0 all the time)

I do the following:

1. Install Analyics plugin (I see visitors in Analytics)

2. The Data Mining stats module is installed and 'Save page views for each customer' is enabled.

3. Try to reset the stats modules.

I don't no what the problem is here.

Anyone help?

Thanks!

Share this post


Link to post
Share on other sites

demo mode in dashboard enabled?

also you must activate the "Save page views for each customer" option in the "Data mining for statistics" (StatsData) module in order to see the pages that your visitors are currently viewing.

hope this helps 

Share this post


Link to post
Share on other sites

Hi El Patron,

1. I enabled "Save page views for each customer" in the "Data mining for statistics" module.

2. Demo mode is disabled

Unfortunately still not working 😞

Very strange bug 😞

 

  • Sad 1

Share this post


Link to post
Share on other sites

did you turn on debug mode see if anything thrown?  also check chrome dev console for .js errors.  that's all I can think of at the moment, except to uninstall that stats module and load a fresh one from github.

 

Share this post


Link to post
Share on other sites

Very strange problem

I have no .js errors in my Google console

A fresh install is not working :(

Share this post


Link to post
Share on other sites
On 11/19/2018 at 2:43 PM, yaloe2017 said:

Very strange problem

I have no .js errors in my Google console

A fresh install is not working :(

I did manage to get visitor online working by clicking 'upgrade' on stats modules.  However the pages not found which I think is super important does not work and is a known issue on github.  

Share this post


Link to post
Share on other sites

Hi, I made rookie mistake by not checking 'positions' of the stats modules.  I noticed for example pages not found was not hooked properly.  I reset it and  it works now.  Earlier I mentioned that I selected 'upgrade' on visitors online module then it also started working.

Please reset visitors online module and it should start working for you.

 

Share this post


Link to post
Share on other sites

Hi,

I'm having exactly exactly the same issue in 1.7.4.2

I followed your instructions, upgraded all modules and still online visitors is at 0.

Share this post


Link to post
Share on other sites

I have the same issue with 1.7.1.1

The module was working properly. After installing a couple of other modules (NT Backup and Restore and Cash on Delivery with fees), is has stopped working.

Now even if I disable those module, the online visitor count is always 0.

Any idea?

Thank you

 

Share this post


Link to post
Share on other sites

 

At starting, I was also having the same problem but after when I add the script of Google Analytics, Dashboard also started showing online visitors. (see attachment) Read that content above for more help.

Thanks

Screenshot from 2019-05-13 15-24-40.png

Share this post


Link to post
Share on other sites

Uhmmmm, I'm already using the Google Analytics code the way you suggested. I think this is not the cause.
 

My problem is: the counter was properly working till some days ago and now it's not working anymore.

Share this post


Link to post
Share on other sites

The module is enabled.

I've found a solution on another post, which basically consists in moving the Visitors Online module to the "Footer" hook.

I didn't had time to test it, but I think this is the right solution, as there's probably some conflict between the Analytics Code and the Visitors Online module.

Bye

 

 

Share this post


Link to post
Share on other sites
On 5/22/2019 at 11:04 AM, gosrl said:

The module is enabled.

I've found a solution on another post, which basically consists in moving the Visitors Online module to the "Footer" hook.

I didn't had time to test it, but I think this is the right solution, as there's probably some conflict between the Analytics Code and the Visitors Online module.

Bye

 

 

How do you move it?

In Positions > Transplant there is no option to move to Footer hook.

Any ideas?

P.S 1.7.4.4 here

Share this post


Link to post
Share on other sites
On 11/25/2018 at 4:37 PM, El Patron said:

Please reset visitors online module and it should start working for you.

 

Hello,

Where can I find visitors online module?

In my BO dashboard when I click on Online Visitors it redirects me to the Stats page but there is an error Module not found.

I want to install the module, but I cannot find it. I have the installation PS1.7.5.0 zip file but there is not statsvisitorsonline or dashvisitorsonline or anything like that. What is the exact name of the module?

Share this post


Link to post
Share on other sites

I don't know if will help someone, but if you reached this thread because your "Visitors online" shows a number but when you open the admin stats it doesn't show anyone there, like this:

statslive_error.png.5bcb3589bbcf63750293af33ba50723c.png

Then you're problably with a wrong server time locale definition. I run PS on an EC2 instance and it started just right after an module update (which afterall has nothing to do with the problem), so I got a little time to solve it.

In my case, I set my locale again to Sao_Paulo with:

 sudo ln -sf /usr/share/zoneinfo/America/Sao_Paulo /etc/localtime

After that I rebooted the EC2 instance and voila.

Seems like a "EC2" update changed it back to default for some reason.

Hope it helps!
Best regards.

image.png

Share this post


Link to post
Share on other sites

I had the same issue In PrestaShop 1.7.6.4. The reason was that the module lost it's original position on the HOOK.

The solution is to reset the module "Source Data for Statistics" to it's original settings or manually add the position of this module to the HOOK displayBeforeBodyClosingTag. See below for details. 

How to add module "Source Data for Statistics" to correct hook: 

1. reset the module: "Source Data for Statistics" on Menu >> Modules >> Module "Source Data for Statistics" settings >> Reset

image.thumb.png.9d8c717cf5f8da764f0d0126ed7874b4.png

 

2. Check that the Hook is associated correctly in Menu >> Design >> Module Positions  to the hook displayBeforeBodyClosingTag

image.thumb.png.b44c3b9129f4435268cee482a0e7dc3e.png

 

3. statistics should start working for non-maintenance IP addresses  

image.thumb.png.cf69c1e0eafd52cc186ee0465ad77f86.png

 

 

 

Hope this helps. 

Best Regards, Martin Mi

Dataquo, s.r.o. 

www.dataquo.eu

 

 

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