Issue
I want to know why Session Replay and/or Performance (transactions) are still accepted after I disabled them on the Client Key (DSN) settings:
Applies To
All SaaS Customers
JavaScript SDK
Client Keys (DSN)Symptoms
Symptoms
Performance / Replay toggles are off on the DSN, but transactions or replays still appear in Stats
Resolution
Those Client Key toggles only apply when you're using the JavaScript Loader Script.
They don't disable Performance or Replay when the SDK is initialized directly through npm, Yarn, or another self-initialized setup.
If you're not using the Loader, disable these features in Sentry.init instead. For example, set tracesSampleRate to 0 to stop sending transactions, and set replaysSessionSampleRate and replaysOnErrorSampleRate to 0 to disable Replay. You can also remove the Replay integration entirely if you don't need it.
