Is there a way to extend the limit or work around the problem?
Maybe if you can POST the parameters in the HTTP body instead of the HTTP querystring? (but I don’t know how)
I think also, for future data, you could use a custom visit dimension in order to be able to create a segment based on a simple parameter instead of having thousands of conditions…
Do you get an error because the URL is too long?
Probably the URL is truncated…
After I set 200 Visitor IDs in the Segmentation API, I can’t overwrite the condition settings in the Segment GUI with the same error.
I wonder if I can overwrite it because there are too many condition settings.
Please tell me the upper limit of the number of conditions in the Segment GUI.
It is recommended to not exceed 2000 characters long
As previously said, I think create such segment is not the good way…
You should add a dimension during tracking (eg. user-category), then the semgnetation will be easy and efficient.
If you can’t delete the segment through the API, you can try to logically delete it directly in the database (column deleted
):
https://developer.matomo.org/guides/database-schema#segments