URL Preview Feature Requirement Update
Customers must send data using the correct SDK versions to see the URL preview feature.
What it is
We’ve introduced a new URL Tracking plugin for the Amplitude Session Replay Browser SDK!
This enhancement ensures we accurately capture client-side navigations in SPAs (Single Page Applications), a critical prerequisite for features like Jump to Key Moments.
By default, rrweb only emits Meta events during full page loads or resizes — meaning SPA route changes using pushState, replaceState, or hash routing were previously invisible. With this plugin, we now emit URL change events for those too! :tada:
Key Features include three tracking modes:
- Polling Mode (opt-in): Periodic checks for URL changes
- History API + Hash Routing (default): Listens to pushState, replaceState, popstate, and hashchang
- Hash Routing: Fallback for environments lacking History API
Why it matters: This brings visibility to critical navigation behavior that rrweb misses — enabling more complete replays, unlocking accurate navigation context, and setting us up for richer replay intelligence.