vercel / analytics

Privacy-friendly, real-time traffic insights
https://vercel.com/analytics
Mozilla Public License 2.0
416 stars 24 forks source link

fix: nextjs parallel routes with catchall isn't supported #141

Closed feugy closed 2 months ago

feugy commented 2 months ago

๐Ÿง What's in there?

Next.js parallel route isn't fully supported when compute routes for pageviews and custom events. The unsupported situation is when using a catchall route ([...catchAll]) in parallel of individual path parameters ([teamSlug]).

With this fix, individual parameter will take precedence over multiple parameters.

๐Ÿงช How to test?

cd packages/web
pnpm test
vercel[bot] commented 2 months ago

The latest updates on your projects. Learn more about Vercel for Git โ†—๏ธŽ

Name Status Preview Comments Updated (UTC)
analytics-nextjs โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback May 24, 2024 9:31am
analytics-remix โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback May 24, 2024 9:31am