Track time spent between 2 events

I couldn’t find anywhere how to track time spent between 2 events. Example Event 1 is tied onClick on Search Button after search is complete user picks an item and click on edit ( editButton is logged as second event). How do i go about figuring out how much time it took user to search something and then click on edit. I am using latest free version of Piwik and cant buy premium plugins.


You have to code that on your own. Start a timer on your page after the first event and attach the result of the timer to the second event, e.g. as custom dimension (Custom Dimensions - Analytics Platform - Matomo)

1 Like