How to set up performance monitoring for laravel app?

I’ve added the CDN JS to my blade template and tried throwing the Sentry.init JS into both the blade template directly and my app.js file, with no success. I keep getting

Uncaught TypeError: Sentry.Integrations.BrowserTracing is not a constructor

and

Uncaught TypeError: Cannot read property ‘replace’ of undefined
at keyToModifier (utils.js:32)

Hey @salvador I just ran into the same issue. I can’t find anything on it. Have you made any progress?

No luck so far. I’ll probably debug a few more things today.

This happens when the “Performance Bundle” is not included. The docs say - “To use Sentry’s performance tracing an alternative bundle is needed. This allows us to keep the filesize down for users who only need error monitoring.”

Ref: https://docs.sentry.io/platforms/javascript/install/cdn/