You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/signals/signals/README.md
+18-24Lines changed: 18 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,23 +55,8 @@ analytics.load({
55
55
})
56
56
57
57
```
58
-
### Extending / Emitting Custom Signals
59
-
```ts
60
-
import { signalsPlugin } from'./analytics'// assuming you exported your plugin instance.
61
-
62
-
signalsPlugin.addSignal({ someData: 'foo' })
63
-
64
-
// emits a signal with the following shape
65
-
{
66
-
type: 'userDefined'
67
-
data: { someData: 'foo', ... }
68
-
}
69
-
```
70
-
71
-
### Debugging
72
-
#### Enable debug mode
73
-
Values sent to the signals API are redacted by default.
74
-
This adds a local storage key. To disable redaction, add a magic query string:
58
+
### Sending and Viewing Signals on Segment.com (Debug mode)
59
+
For privacy reasons, **signals are only to Segment.com when debug mode is on**. You must enable debug mode on the client to send and view those signals on segment.com. To enable debug mode on your client
0 commit comments