matomo-org / matomo

Empowering People Ethically with the leading open source alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. Liberating Web Analytics. Star us on Github? +1. And we love Pull Requests!
https://matomo.org/
GNU General Public License v3.0
19.3k stars 2.59k forks source link

New Page Performance Metrics Segments #10202

Open mattab opened 8 years ago

mattab commented 8 years ago

The goal is to be able to segment only traffic with very slow load times to investigate site performance issues (and/or other network issues).

So we could introduce some new Segment(s) that help segment visits and page views based on the time it took for the page to generate. Based on metrics in https://matomo.org/faq/page-performance-metrics/ we would have new segments for:

  1. Page Load Time
  2. Page Performance - Network time
  3. Page Performance - Server time generation
  4. Page Performance - Transfer time
  5. Page Performance - Page DOM Processing time
  6. Page Performance - Page DOM Completion time
  7. Page Performance - On load time

    For example, by isolating visits with high Page Load Time, you can identify and optimise slow-loading elements; segmenting by Network Time can help in diagnosing connectivity or CDN issues; Server Time Generation insights can guide server-side optimisations; Transfer Time analysis can reveal bottlenecks in data transfer efficiency; and focusing on DOM Processing and Completion Times enables targeted improvements in client-side scripting and rendering. This granular segmentation approach allows for more precise, issue-specific interventions, leading to enhanced overall website performance and user experience.

siva538 commented 5 years ago

Thanks much @mattab. This is exactly what I was searching for. Has this been incorporated in the product? Please let me know if this was done.

I feel this is a very important feature if not already done, as this is going to help identify/troubleshoot some of the performance concerns from the end-users.

siva538 commented 4 years ago

Hello @mattab , Can you please share any further progress on this ?

The current challenge is that when we look at TOP pages by generation time, it might contain some skewed numbers due to 99 or 95 percentile latency deviations of response times and not correctly showing up the averages from a roll-up report and causing analysis issues on those specific page URLs.

Regds, Sivakumar

mattab commented 4 years ago

Hi @siva538 Unfortunately it hasn't been implemented yet, however we would welcome a new Pull request for this! Would you maybe be able to open a pull request?

sgiehl commented 6 months ago

@mattab I guess the title change was incorrect. With https://github.com/matomo-org/matomo/pull/15736 we have deprecated the generation time metric for Matomo 4 and the new performance metrics should be used instead. So there is not much sense in introducing a segment for a deprecated metric, but the new page performance metrics currently don't have segments as well, so would make more sense to add segments for those...

mattab commented 5 months ago

@sgiehl sounds good :+1: updated title & description accordingly