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

No nb_uniq_visitors for Custom Date Range in Contents.getContentNames #9089

Open
cflee opened this issue Oct 24, 2015 · 4 comments
Open

No nb_uniq_visitors for Custom Date Range in Contents.getContentNames #9089

cflee opened this issue Oct 24, 2015 · 4 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc.

Comments

@cflee
Copy link

cflee commented Oct 24, 2015

I've enabled "Unique Visitors" metric as stated in FAQ:

[General]
enable_processing_unique_visitors_year = 1
enable_processing_unique_visitors_range = 1

However, the nb_uniq_visitors value is still not available on the Contents.getContentNames API endpoint for period that is not day. Instead, only sum_daily_nb_uniq_visitors is available.

  1. As nb_uniq_visitors is defined as 'Number of unique visitors', can I confirm that since this is in context of Content Tracking, this is the number of unique visitors that have a "content impression"?
  2. Is there any way of getting these values, for a custom date range:
    • number of unique visitors who have a "content impression"
    • number of unique visitors who have a "content interaction"
@mattab
Copy link
Member

mattab commented Nov 26, 2015

Do you still have the issue, for the new data @cflee ?

@cflee
Copy link
Author

cflee commented Nov 26, 2015

Yes, the issue is still there. I looked at the Archiver class but the aggregation seems to work very differently from the other plugins like Actions and Goals, so it's not affected by the enable_processing_unique_visitors_range setting.

Is this by design? I am trying to roll my own implementation of this metric externally, but I would definitely prefer if it is available in Piwik itself.

@mattab
Copy link
Member

mattab commented Nov 26, 2015

@cflee it's not really by design. ideally enable_processing_unique_visitors_* would consistently apply to Content Tracking and other plugins. If you are able to, we'd love to see a pull request to fix this behavior :-)

@mattab mattab added the Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. label Nov 26, 2015
@mattab mattab added this to the Mid term milestone Nov 26, 2015
@mattab mattab added Bug For errors / faults / flaws / inconsistencies etc. and removed Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. labels Nov 26, 2015
@mattab mattab modified the milestones: Short term, Mid term Nov 26, 2015
@rudyzeinoun
Copy link

Has a fix been made for this? I am trying to see unique visitors in a Custom Dimensions report, but that's also not available for ranges even when enabled in the settings. I can only find the sum, similar to @cflee's problem.

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