Skip to content

Commit ac86aba

Browse files
authored
Merge pull request #8127 from segmentio/auto-instrumentation-web-troubleshooting
Add troubleshooting tips for Segment signals
2 parents 7fc6d72 + c7c6b57 commit ac86aba

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/connections/auto-instrumentation/web-setup.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,14 @@ Network signals emit when an HTTP Request is made, or an HTTP Response is receiv
357357
- First party domain (for example, if on `foo.com`, then `foo.com/api/products`, but not `bar.com/api/products`)
358358
- Contains the content-type: `application/json`
359359

360+
## Troubleshooting
361+
362+
Here are the most common misconfigurations preventing signals from reaching Segment.
363+
364+
- Not enabling signals with the URL parameter: You must start each debug session by appending `?segment_signals_debug=true` to your URL parameters.
365+
- Running debug mode with an ad blocker: An active ad blocker prevents signals from reaching Segment. Disable your ad blocker and start a new session.
366+
- Content Security Policies: In addition to the [default Analytics.js Content Security Policies](/docs/connections/sources/catalog/libraries/website/javascript/faq/#does-segment-support-using-strict-content-security-policy-csp-on-the-page), you must add `cdn.jsdelivr.net` to your allowlist, or `https://cdn.jsdelivr.net/npm/@segment/analytics-signals@latest/dist/umd/analytics-signals.umd.js` if your policies require the full path.
367+
360368
## Next steps
361369

362370
This guide walked you through initial Signals SDK/Auto-Instrumentation setup. Next, read the [Auto-Instrumentation Signals Implementation Guide](/docs/connections/auto-instrumentation/configuration/), which dives deeper into Signals and offers example rules.

0 commit comments

Comments
 (0)