Skip to content

Commit 1365565

Browse files
authored
edits
1 parent 5a5d03a commit 1365565

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ hidden: true
55

66
This guide outlines the steps required to set up the Signals SDK in your JavaScript website.
77

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.
99

10-
> info "Public Beta"
10+
> info "Auto-Instrumentation in public beta"
1111
> Auto-Instrumentation is in public beta, and Segment is actively working on this feature. Some functionality may change before it becomes generally available.
1212
1313
## Step 1: Get your source write key
1414

15-
You need the `writeKey` from an existing Segment source:
15+
You need the `writeKey` from an existing Segment source. To find it:
1616

1717
1. In your Segment workspace, go to **Connections > Sources**.
1818
2. Select your source.
@@ -21,7 +21,7 @@ You need the `writeKey` from an existing Segment source:
2121

2222
## Step 2: Add dependencies and initialization code
2323

24-
Next, you'll need to add the Signals SDKs to your web environment.
24+
Next, add the Signals SDKs to your web environment.
2525

2626
Choose the installation method that matches your setup:
2727

@@ -147,7 +147,7 @@ If your site uses the standard Segment snippet, **replace it** with the followin
147147
</head>
148148
```
149149

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).
151151

152152
### Option B: Install with a package manager
153153

@@ -206,7 +206,7 @@ After integrating the SDK and running your app, verify that Segment is collectin
206206
![The Event Builder tab shown in the navigation bar between Debugger and Schema in a Segment Source](images/event_builder_tab.png)
207207

208208
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`.
210210
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.
211211
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**.
212212

@@ -276,15 +276,15 @@ const signalsPlugin = new SignalsPlugin({
276276
analytics.register(signalsPlugin);
277277
```
278278

279-
#### Sandbox Strategies
279+
#### Sandbox strategies
280280

281281
If you get CSP errors, you can use the experimental 'global' sandbox strategy:
282282

283283
```ts
284284
new SignalsPlugin({ sandboxStrategy: "global" });
285285
```
286286

287-
## Configuration Options
287+
## Configuration options
288288

289289
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.
290290

0 commit comments

Comments
 (0)