Import URL list into Segment Editor from file

Hello I have a list of URLs which are going to populate a Custom Segment I am going to create.
Its logic is really basic:


Page URL Is "url number1" 
OR
Page URL Is "url number2" 
OR
Page URL Is "url number3"

and so on up to url no177.

Is there any way to import such big list in the editor, at once?

Thanx in advance

unfortunately not yet available, but this is a good idea! maybe someone would build a plugin to do this.

in the meantime you can create a segment by using an API call to Reporting API Reference: API Reference - Matomo Analytics (formerly Piwik Analytics) - Developer Docs - v3


SegmentEditor.add (name, definition, idSite = '', autoArchive = '', enabledAllUsers = '')

see other api calls for example of how it works.

Thank you very much, I guess I will have to stick with the current method. It would be great to see a plugin though!