@ghost opened this Issue on June 28th 2016

We are tracking with Piwik on this website: http://www.herz-der-wirtschaft.de/

If I look up the visits, especially the devices, we have 6.878 Visits with a smartphone during the month May.

If I add a segmentation - device type - smartphone the visits go down to 1970 for May.

I do not understand why this is the case?

Can you help me out?

Cheers

Christoph

2016-06-28 09_14_51-herz der wirtschaft - mai 2016 - webanalytik berichte - piwik

2016-06-28 09_15_09-herz der wirtschaft - mai 2016 - webanalytik berichte - piwik

@hpvd commented on June 28th 2016

wow that would be intersting..

Just checked in our Piwik - everything is fine there (latest Piwik beta 2.16.2b2)

Which version are you using?
Could please show a screen shot of your setup of smartphone segment filter?

@ghost commented on June 28th 2016

Hi,

we are using 2.16.1 with PHP 5.6.5

Here is a screenshot of the segment filter. It is in german but it means: device type is smartphone

2016-06-28 13_42_27-herz der wirtschaft - mai 2016 - webanalytik berichte - piwik

@hpvd commented on June 29th 2016

hmm -segment filter looks the same...
just checked again with other period setting: always working..

Does period setting has any influence in your installation or is there always a difference?

@ghost commented on June 29th 2016

Yes. I just discovered when I change the month into weekly oder daily setting the numbers are correct (the same with or without the segmentation).

Is there a difference in monthly visits because we delete old visit-logs?

2016-06-29 16_01_19-privatsphareeinstellungen - administration - piwik

@sgiehl commented on June 29th 2016 Member

Segments are build on the log data if they are not preprocessed. So it might be possible that you try to view a segment for a period, where not all logs are available anymore.

@ghost commented on June 29th 2016

How can we preprocess the data? We use a cronjob every hour to archive:

console core:archive --url=http://xyz.domain.de/ --force-all-websites > /files/piwik-archive-errors.log
is this incomplete?

Or is it just not possible to gain this data if we delete old visit-logs?

@sgiehl commented on June 29th 2016 Member

You can choose to preprocess segments when editing/creating them instead of having it processed live.

@mattab commented on July 8th 2016 Owner

Segments are build on the log data if they are not preprocessed. So it might be possible that you try to view a segment for a period, where not all logs are available anymore.

Good find @sgiehl - I created this issue to offer a solution: #10280

  • When a report was processed using incomplete log data, display a notification/warning that report data may be incomplete

Closing the issue as @chronozzz confirmed that Log Data delete was enabled causing the issue here.

This Issue was closed on July 8th 2016
Powered by GitHub Issue Mirror