From 886364b060b99dc86d49da7198317007e5486adb Mon Sep 17 00:00:00 2001 From: Abhijeet Prasad Date: Thu, 26 Oct 2023 13:30:43 -0400 Subject: [PATCH 1/2] Make it clear that dsn needs to be set when using tunnel --- src/platforms/common/configuration/options.mdx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/platforms/common/configuration/options.mdx b/src/platforms/common/configuration/options.mdx index 4d7fff797e2fc8..185e2340fafdf7 100644 --- a/src/platforms/common/configuration/options.mdx +++ b/src/platforms/common/configuration/options.mdx @@ -174,8 +174,7 @@ By default the SDK will try to read this value from the `SENTRY_ENVIRONMENT` env -Sets the URL that will be used to transport captured events, instead of using the DSN. This can be used to work around ad-blockers or to have more granular -control over events sent to Sentry. This option **requires the implementation** of a custom server endpoint. Learn more and find examples in [Dealing with Ad-Blockers](/platforms/javascript/troubleshooting/#dealing-with-ad-blockers). +Sets the URL that will be used to transport captured events. This can be used to work around ad-blockers or to have more granular control over events sent to Sentry. Usage of a DSN is still required so that needed attributes can be set on the generated Sentry data. This option **requires the implementation** of a custom server endpoint. Learn more and find examples in [Dealing with Ad-Blockers](/platforms/javascript/troubleshooting/#dealing-with-ad-blockers). From e218f881494f77ed97d43b75040dd374fe2f4074 Mon Sep 17 00:00:00 2001 From: Abhijeet Prasad Date: Thu, 26 Oct 2023 15:47:08 -0400 Subject: [PATCH 2/2] Update src/platforms/common/configuration/options.mdx Co-authored-by: Shana Matthews --- src/platforms/common/configuration/options.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platforms/common/configuration/options.mdx b/src/platforms/common/configuration/options.mdx index 185e2340fafdf7..834143766dbb1c 100644 --- a/src/platforms/common/configuration/options.mdx +++ b/src/platforms/common/configuration/options.mdx @@ -174,7 +174,7 @@ By default the SDK will try to read this value from the `SENTRY_ENVIRONMENT` env -Sets the URL that will be used to transport captured events. This can be used to work around ad-blockers or to have more granular control over events sent to Sentry. Usage of a DSN is still required so that needed attributes can be set on the generated Sentry data. This option **requires the implementation** of a custom server endpoint. Learn more and find examples in [Dealing with Ad-Blockers](/platforms/javascript/troubleshooting/#dealing-with-ad-blockers). +Sets the URL that will be used to transport captured events. This can be used to work around ad-blockers or to have more granular control over events sent to Sentry. Adding your DSN is still required when using this option so necessary attributes can be set on the generated Sentry data. This option **requires the implementation** of a custom server endpoint. Learn more and find examples in [Dealing with Ad-Blockers](/platforms/javascript/troubleshooting/#dealing-with-ad-blockers).