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

how can i Segment user by department #18173

Closed
chiraggwalani opened this issue Oct 18, 2021 · 1 comment
Closed

how can i Segment user by department #18173

chiraggwalani opened this issue Oct 18, 2021 · 1 comment
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@chiraggwalani
Copy link

We have multiple departments now how can we segment site visitors by the department?

For ex.
Userid 1 dept 1
Userid 2 Dept 2
Userid 3 dept 1

then dept1 has 2 visitors

@sgiehl
Copy link
Member

sgiehl commented Oct 18, 2021

I guess the best solution would be a custom dimension to track the department for each visitor. See https://matomo.org/docs/custom-dimensions/ for more details about custom dimensions.
Otherwise you may need to create complex segments where you segment for each userid in a department using OR.

@sgiehl sgiehl closed this as completed Oct 18, 2021
@sgiehl sgiehl added the answered For when a question was asked and we referred to forum or answered it. label Oct 18, 2021
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.
Projects
None yet
Development

No branches or pull requests

2 participants