Segment with event category and pageURL

Is it possible to use pageURL with event category and event name for segment?

The way I have understood, pageURL property works only with actions and if I give pageURL and event parameters in the segment it returns no data.

It returns no data because these are completely different actions in Piwik. If you define a segment which contains a pageURL AND an event, you will receive an empty set. Event is not a property of page view.

You can also define such segment: PageURL equals X OR Event category equals Y.

So is there a way I segment visitors based on the page URL on which the event was fired?

Add some page specific information (e.g. URL or ID) to event definition (e.g. to event name).

Is there any field in the database where I can find this detail? Does idaction_url in piwik_log_link_visit_action have this information?

Hi there,

maybe you could create a “bug report” on: Issues · matomo-org/piwik · GitHub and we will follow up.