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

Ability to set a custom segment as default #5125

Open
zssoftware opened this issue May 9, 2014 · 19 comments
Open

Ability to set a custom segment as default #5125

zssoftware opened this issue May 9, 2014 · 19 comments
Labels
c: Onboarding For issues that make the experience of getting Matomo up and running better. c: Segments Segmentation and Segment editor related improvements and fixes. c: Usability For issues that let users achieve a defined goal more effectively or efficiently. Enhancement For new feature suggestions that for example enhance Matomo's cabapilities.. valid For issues that might be open for a long time already but are still valid and worth keeping.
Milestone

Comments

@zssoftware
Copy link

When creating a custom segment, it would be helpful to implement the ability to set that as the loaded-on-default segment.
Keywords: segment

@gaumondp
Copy link

gaumondp commented May 9, 2014

Interesting.

Should this feature be only available if the segment is also "cron generated" ?

If not, on installation with 50k pageviews a day, Piwik will have to work a lot before showing any data.

I'm just wondering.

Dali

@zssoftware
Copy link
Author

Good thinking!

Cron generated.

@mattab
Copy link
Member

mattab commented May 13, 2014

Great idea!

  • New setting to choose which segment to load by default
  • When Matomo is loaded, the plugin could automatically redirect to the segment to load by default, if one was set by the user.

@zssoftware zssoftware added this to the 2.x - The Great Piwik 2.x Backlog milestone Jul 8, 2014
@mattab mattab removed the P: normal label Aug 3, 2014
@mattab mattab modified the milestones: Mid term, Long term Oct 11, 2014
@mattab mattab modified the milestones: Mid term, Long term Oct 30, 2015
@mattab
Copy link
Member

mattab commented Oct 30, 2015

from email:

This feature is great but please allow us to set up a default segment for each websites and/or
that the UI remember the previous one when we switch from one website to another.

anyway your product is really good. I use it for a few years and it becomes better and better after each updates. Thank you!

@mattab mattab modified the milestones: Long term, Mid term Dec 5, 2016
@NanorPiwik
Copy link

Hi there,
I recently got a demand about it recently. The need is the following one, the Matomo account is shared between an agency and a client. The internal traffic of the agency is going within the account which is increasing artificially the visits. As the account is in a cloud they cannot install the invalidate reports plugin to delete their traffic. So they need a segment applied by default which will remove their traffic.

@sgiehl
Copy link
Member

sgiehl commented Aug 1, 2019

@NanorPiwik if the agency has a static IP address, you could als exclude the traffic using an ip exclusion

@tsteur
Copy link
Member

tsteur commented Aug 1, 2019

Wouldn't the cookie exclusion work as well?

@sgiehl
Copy link
Member

sgiehl commented Aug 1, 2019

Wouldn't the cookie exclusion work as well?

But that's something everyone needs to do on his machine in every browser (and do it again after clearing cookies)

@Jieiku
Copy link

Jieiku commented Apr 8, 2022

I was also hoping for a way to set a default segment.

I am logging all traffic (including robots) it is useful when trying to see how often things are happening, etc.

I have a segment that is fairly effective at removing bots and my traffic, it looks like this:

Browser > Is not > Unknown
and
Operating system > is not > Uknown
and
Visitor IP > Not Equals > (My IP that I want to exclude)
and
Visitor IP > Not Equals > (My other IP that I want to exclude)

Currently I use a bookmark to open straight to this segment, but it would be great if I could just set it as the default.

@goochj03
Copy link

fyi had a request from a customer for this feature today.

"I would like to filter visits from this segment : segment=operatingSystemName!%3DGNU%25252FLinux;resolution!%3D1280x1024 Or, if it's not possible, how can I select this segment as default view ?"

@mattab mattab added the c: Usability For issues that let users achieve a defined goal more effectively or efficiently. label Mar 10, 2023
@Starker3
Copy link
Contributor

We have another request for this from a Matomo user today:
" We have some not-so-savvy users who could (and probably will) overlook that "All Visits" is the default and report incorrect statistics. "

Having such a feature to be able to set default Segments to view would be very helpful to them.

@paul-buttimore
Copy link

Another request received today from a Matomo user for the ability to configure a custom segment to load by default in Matomo

@mattab mattab modified the milestones: Impact Backlog, 5.4.0 Sep 20, 2023
@goochj03
Copy link

A customer was asking for this feature today, wanting the ability to apply a default segment for certain users.

@Jieiku
Copy link

Jieiku commented Nov 1, 2023

Well @mattab agreed it would be good, but said it would be good to do in a plugin...

It was not clear if the core team intended to write the plugin, or if they were looking for outside help to write the plugin, just spelling this out because there seems to be periodic bumps to this request but no actual progress to make it happen.

I also see they added it to the backlog milestone, so I do think it is on the core teams radar, but with so many things to do it is likely not high priority. (In case you missed it, this issue was first opened in 2014, nearly ten years ago!)

Matomo is a great product, ive used it a few years now. I think Matomo needs to accept donations and start a bounty program for some of these issues. With 2,300+ open issues I get the feeling that the core team is smaller, this is not a Jab, just an observation, there are actually over 11,000 closed issues which is VERY Impressive!

@goochj03
Copy link

It does seem to be a popular request, from another Matomo user today: "Is it possible to set a default segment other than the one with allvisits".

@michalkleiner michalkleiner added the valid For issues that might be open for a long time already but are still valid and worth keeping. label Nov 20, 2023
@mattab
Copy link
Member

mattab commented Nov 20, 2023

It was not clear if the core team intended to write the plugin, or if they were looking for outside help to write the plugin, just spelling this out because there seems to be periodic bumps to this request but no actual progress to make it happen.

we'd be interested in having this feature in Matomo Core actually (and welcome PR!), as it is a valid use case that can really help people who only care about one segment.

@paul-buttimore
Copy link

Request received today, the ability for a segment to load by default when logging in the the Matomo instance.

@mattab mattab added c: Onboarding For issues that make the experience of getting Matomo up and running better. c: Segments Segmentation and Segment editor related improvements and fixes. labels Dec 10, 2023
@goochj03
Copy link

Another customer asking about setting a segment to load by default for their dashboard

@mahmonirbkh
Copy link

It's a necessary requirement for us as well. We need to define a segment as a default segment for a custom dashboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Onboarding For issues that make the experience of getting Matomo up and running better. c: Segments Segmentation and Segment editor related improvements and fixes. c: Usability For issues that let users achieve a defined goal more effectively or efficiently. Enhancement For new feature suggestions that for example enhance Matomo's cabapilities.. valid For issues that might be open for a long time already but are still valid and worth keeping.
Projects
None yet
Development

No branches or pull requests