Home / Companies / Snowplow / Blog / Post Details
Content Deep Dive

Measuring Page Load Times with the Performance Timing Context

Blog post from Snowplow

Post Details
Company
Date Published
Author
Snowplow Team
Word Count
536
Language
English
Hacker News Points
-
Summary

Website speed is a critical factor for user retention in today's mobile-first environment, and Snowplow offers a solution for measuring page load times through its Performance Timing context. This feature utilizes the Navigation Timing API to capture detailed page loading milestones, such as navigationStart and loadEventEnd, allowing for precise performance analysis. To implement this, users need to adjust the JavaScript tracker configuration and ensure data storage in Redshift. Handling incomplete data can be managed using page ping events, which provide updates on performance metrics during long page loads. Aggregating data in Redshift with SQL queries helps calculate total load time and track specific milestones, enabling optimization across different user segments. By employing Snowplow's Performance Timing context, users can gain insights into website performance, identify bottlenecks, and enhance user experience, with future updates planned for integrating this data into dashboards for better monitoring and reporting.