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

Segmentation by User ID #6959

Closed
jantlwoomy opened this issue Jan 9, 2015 · 3 comments
Closed

Segmentation by User ID #6959

jantlwoomy opened this issue Jan 9, 2015 · 3 comments
Labels
answered For when a question was asked and we referred to forum or answered it. Bug For errors / faults / flaws / inconsistencies etc.

Comments

@jantlwoomy
Copy link
Contributor

Task is to separate visits to Users (visitors who has user_id) and Not users (who has not).
How to reproduce:

  1. Make visit without setting userID
  2. Make another visit from another browser with _paq.push(["setUserId", 'userid@mydomain.org'])
  3. Go to Piwik, switch to the Visitors - Visitor Log tab. There are 2 visits - without userID (visit1) and with it (visit2).
  4. Create new Segment: name - Not Users, Metric: User ID, Match: Is, Value: Empty string
  5. Create new Segment: name - Users, Metric: User ID, Match: Is Not, Value: Empty string

Expected results:

  • Segment Not Users: only visit1
  • Segment Users: only visit2

Actual results:

  • Segment Not Users: Empty list
  • Segment Users: visit1, visit2

Please see #6954

@asafyish
Copy link

+1

@tsteur tsteur added the Bug For errors / faults / flaws / inconsistencies etc. label Feb 4, 2015
@tsteur tsteur added this to the Short term milestone Feb 4, 2015
@tsteur
Copy link
Member

tsteur commented Feb 4, 2015

I was able to reproduce this issue and pull request #6954 looks actually correct for me. The proposed change fixes the issue. I was already wondering why there is not the user_id used a while ago... @mattab do you have any objections reopening and merging that pull request (if tests succeed)?

@mattab
Copy link
Member

mattab commented Feb 9, 2015

@jantlwoomy PR was merged, closing, thanks for report & solution!

@mattab mattab closed this as completed Feb 9, 2015
@mattab mattab added the answered For when a question was asked and we referred to forum or answered it. label Oct 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it. Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

4 participants