Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Referrers / Campaigns report: wrong unique visitors count for Campaing Names #10360

Open
adaqus opened this issue Aug 2, 2016 · 1 comment
Open
Labels
Bug For errors / faults / flaws / inconsistencies etc.

Comments

@adaqus
Copy link

adaqus commented Aug 2, 2016

Unique visitors count is a sum of unique visitors from each keyword belonging to the campaign. Similarly to this issue: #10127, unique visitors should not be simply summed up. There is a possibility that one unique visitor enters website from single campaign twice, each time from different keyword. Each keyword has then one uniqe visitor, but the campaign also has one. But in Campaign Names table value of 2 will be shown.

This problem most probably occurs in other parts of Piwik, where Piwik\DataArray::doSumVisitsMetrics() is executed (on line 106 sum of unique visitors is calculated: https://github.com/piwik/piwik/blob/master/core/DataArray.php#L106).

@tsteur
Copy link
Member

tsteur commented Aug 2, 2016

Thx for reporting the bug 👍

@tsteur tsteur added the Bug For errors / faults / flaws / inconsistencies etc. label Aug 2, 2016
@mattab mattab added this to the 2.16.x (LTS) milestone Aug 16, 2016
@mattab mattab modified the milestones: 2.16.x (LTS), Mid term Aug 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

3 participants