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

Extra week included in unique visitors data. #1171

Closed
anonymous-matomo-user opened this issue Feb 23, 2010 · 1 comment
Closed

Extra week included in unique visitors data. #1171

anonymous-matomo-user opened this issue Feb 23, 2010 · 1 comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Milestone

Comments

@anonymous-matomo-user
Copy link

When I requested:

/index.php?module=API&method=VisitsSummary.getUniqueVisitors&idSite=2&period=week&date=2010-01-25,2010-02-07&format=XML&token_auth=TOKEN&expanded=1

I got this data back:

<results>
    <result date="2010-01-18 to 2010-01-24">739</result>
    <result date="2010-01-25 to 2010-01-31">4</result>
    <result date="2010-02-01 to 2010-02-07">5</result>
</results>

I was not expecting the "2010-01-18 to 2010-01-24" data.

Changing the period to "day" instead of "week" does not return extra records:

<results>
    <result date="2010-01-25">3</result>
    <result date="2010-01-26">4</result>
    <result date="2010-01-27">3</result>
    <result date="2010-01-28">1</result>
    <result date="2010-01-29" />
    <result date="2010-01-30" />
    <result date="2010-01-31" />
    <result date="2010-02-01">4</result>
    <result date="2010-02-02">3</result>
    <result date="2010-02-03">5</result>
    <result date="2010-02-04" />
    <result date="2010-02-05">1</result>
    <result date="2010-02-06" />
    <result date="2010-02-07" />
</results>
@mattab
Copy link
Member

mattab commented Mar 2, 2010

You are requesting for weekly stats for: 2010-01-25, 2010-02-07
Is it expected that you get the current unfinished week. You will also get the partial first week. If you don't need the data, ignore weeks that are less than 7 days.

@anonymous-matomo-user anonymous-matomo-user added this to the Piwik 0.5.5 milestone Jul 8, 2014
@mattab mattab added the wontfix label Aug 3, 2014
This issue was closed.
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. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Projects
None yet
Development

No branches or pull requests

2 participants