@mattab opened this Issue on June 30th 2009 Owner

Currently we only display unique visitors per day. We could run the query to also process this number across all logs for weeks and month. This might interfere with log purging, eg. if we purge logs that are older than 2 weeks, we are not able to process uniques for the month anymore.

@zawadzinski commented on July 8th 2009 Contributor
@zawadzinski commented on July 9th 2009 Contributor
@zawadzinski commented on July 8th 2009 Contributor

I attach the small patch that solves the problem.

You need to keep at least one month history of piwik_log_visit in order this function can return proper results for month period stats.

@mattab commented on July 8th 2009 Owner

Maciej, we can commit your patch to core - can you just please replace == 3 and == 2 b the real constant; looks good to me

@zawadzinski commented on July 9th 2009 Contributor

(In [1301]) fixes #842 computing the real number of unique visitors per month and week

This Issue was closed on July 9th 2009
Powered by GitHub Issue Mirror