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: src/connections/auto-instrumentation/web-setup.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,14 +5,14 @@ hidden: true
5
5
6
6
This guide outlines the steps required to set up the Signals SDK in your JavaScript website.
7
7
8
-
You'll learn how to connect an existing source, integrate dependencies, turn on Auto-Instrumentation, and verify that your setup captures and processes data as intended.
8
+
Learn how to connect an existing source, integrate dependencies, turn on Auto-Instrumentation, and verify that your setup captures and processes data as intended.
9
9
10
-
> info "Public Beta"
10
+
> info "Auto-Instrumentation in public beta"
11
11
> Auto-Instrumentation is in public beta, and Segment is actively working on this feature. Some functionality may change before it becomes generally available.
12
12
13
13
## Step 1: Get your source write key
14
14
15
-
You need the `writeKey` from an existing Segment source:
15
+
You need the `writeKey` from an existing Segment source. To find it:
16
16
17
17
1. In your Segment workspace, go to **Connections > Sources**.
18
18
2. Select your source.
@@ -21,7 +21,7 @@ You need the `writeKey` from an existing Segment source:
21
21
22
22
## Step 2: Add dependencies and initialization code
23
23
24
-
Next, you'll need to add the Signals SDKs to your web environment.
24
+
Next, add the Signals SDKs to your web environment.
25
25
26
26
Choose the installation method that matches your setup:
27
27
@@ -147,7 +147,7 @@ If your site uses the standard Segment snippet, **replace it** with the followin
147
147
</head>
148
148
```
149
149
150
-
Verify that you only have **one snippet** in your site, then move to [Step 3: Verify and deploy events](#step-3-verify-and-deploy-events).
150
+
Verify that you only have **one snippet** in your site, then move on to [Step 4: Verify and deploy events](#step-4-verify-and-deploy-events).
151
151
152
152
### Option B: Install with a package manager
153
153
@@ -206,7 +206,7 @@ After integrating the SDK and running your app, verify that Segment is collectin
206
206

207
207
208
208
3. Open the **Event Builder** and follow the on-screen instructions to start signal detection.
209
-
- To collect signals in the UI, visit your site in a browser using the query string:`?segment_signals_debug=true`
209
+
- To collect signals in the UI, visit your site in a browser using the query string:`?segment_signals_debug=true`.
210
210
4. Interact with your app to trigger signals: click buttons, navigate pages, submit forms, and so on. Segment collects and displays these as signals in real time.
211
211
5. From the signals list, click **Configure event** to define a new event based on one or more signals. After configuring the event, click **Publish event rules**.
212
212
@@ -276,15 +276,15 @@ const signalsPlugin = new SignalsPlugin({
276
276
analytics.register(signalsPlugin);
277
277
```
278
278
279
-
#### Sandbox Strategies
279
+
#### Sandbox strategies
280
280
281
281
If you get CSP errors, you can use the experimental 'global' sandbox strategy:
282
282
283
283
```ts
284
284
newSignalsPlugin({ sandboxStrategy: "global" });
285
285
```
286
286
287
-
## Configuration Options
287
+
## Configuration options
288
288
289
289
Using the Signals Configuration object, you can control the destination, frequency, and types of signals that Segment automatically tracks within your application. The following table details the configuration options for Signals Web.
0 commit comments