Skip to content

Commit 182b976

Browse files
authored
Merge pull request #8012 from segmentio/change-from-private-to-public-beta
Private --> Public Beta for Auto Instrumentation
2 parents c03cb37 + ac8bc64 commit 182b976

File tree

5 files changed

+45
-61
lines changed

5 files changed

+45
-61
lines changed

src/connections/auto-instrumentation/configuration.md

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,15 @@ title: Generate Events from Signals
33
hidden: true
44
---
55

6-
This guide details how to use signals, and their associated data, generated in one of the Signals SDKs with the Auto-Instrumentation dashboard in your Segment workspace. On this page, you'll find details on:
6+
This guide details how to use signals and their associated data, generated in one of the Signals SDKs with the Auto-Instrumentation dashboard in your Segment workspace. On this page, find details on:
77

8-
- Creating custom rules to capture and translate signals into actionable analytics events
9-
- Example rules that you can use as a basis for further customization
8+
- Creating custom rules to capture and translate signals into actionable analytics events.
9+
- Example rules that you can use as a basis for further customization.
1010

1111
This guide assumes that you've already added the Signals SDK to your application. If you haven't yet, see the [Auto-Instrumentation Setup](/docs/connections/auto-instrumentation/) guide for initial setup.
1212

13-
> info "Auto-Instrumentation Private Beta"
14-
> Auto-Instrumentation is currently in Private Beta and is governed by Segment's [First Access and Beta Preview Terms](https://www.twilio.com/en-us/legal/tos){:target="_blank"}. Segment is actively iterating on and improving the Auto-Instrumentation user experience.
15-
16-
> success "Enable Auto-Instrumentation"
17-
> To enable Auto-Instrumentation in your Segment workspace, reach out to your dedicated account manager.
18-
13+
> info "Auto-Instrumentation in public beta"
14+
> Auto-Instrumentation is in public beta, and Segment is actively working on this feature. Some functionality may change before it becomes generally available.
1915
2016
## Converting signals to events
2117

@@ -34,9 +30,9 @@ After you set up the Signals SDK to capture the signals you want to target, you
3430

3531
The Rules Editor is where you define rules that transform raw signal data into analytics events. Using the dropdown-based editor, you can:
3632

37-
- Combine multiple signals into a single event (for example, a click followed by a navigation)
38-
- Set conditions to control when events should be triggered
39-
- Assign custom event names
33+
- Combine multiple signals into a single event (for example, a click followed by a navigation).
34+
- Set conditions to control when events should be triggered.
35+
- Assign custom event names.
4036

4137
#### Tracking plan integration
4238

@@ -46,8 +42,8 @@ If your source is connected to a tracking plan, you can quickly confirm that a r
4642

4743
You can enrich your events by adding properties based on signal metadata. For example:
4844

49-
- Capture `product.price` in your **Add to Cart** event
50-
- Add a boolean field like `couponApplied` to your **Order Completed** event
45+
- Capture `product.price` in your **Add to Cart** event.
46+
- Add a boolean field like `couponApplied` to your **Order Completed** event.
5147

5248
These properties are sent alongside your event, giving your team deeper insights without requiring any manual instrumentation.
5349

@@ -99,7 +95,7 @@ interface RawSignal<T> {
9995
10096
### Signal Types
10197
102-
The Signal Type enum defines the different types of signals the SDK can collect:
98+
The Signal Type `enum` defines the different types of signals the SDK can collect:
10399
104100
```java
105101
enum SignalType {
@@ -327,4 +323,4 @@ function ProcessSignals(signal) {
327323
trackAddToCart(signal); // Process the "Add To Cart" tracking based on incoming signals
328324
}
329325
```
330-
-->
326+
-->

src/connections/auto-instrumentation/index.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,8 @@ redirect_from:
2626

2727
Auto-Instrumentation simplifies tracking in your websites and apps by removing the need for a traditional Segment instrumentation.
2828

29-
> info "Auto-Instrumentation Private Beta"
30-
> Auto-Instrumentation is currently in private beta and is governed by Segment's [First Access and Beta Preview Terms](https://www.twilio.com/en-us/legal/tos){:target="_blank"}. Segment is actively iterating on and improving the Auto-Instrumentation user experience.
31-
32-
> success "Enable Auto-Instrumentation in your workspace"
33-
> To enable Auto-Instrumentation in your Segment workspace, reach out to your dedicated account manager or friends@segment.com.
29+
> info "Auto-Instrumentation in public beta"
30+
> Auto-Instrumentation is in public beta, and Segment is actively working on this feature. Some functionality may change before it becomes generally available.
3431
3532
## Background
3633

@@ -52,7 +49,7 @@ After you install the required SDKs and enable Auto-Instrumentation, Segment det
5249

5350
You can group signals into complete analytics events, assign names, and map custom properties. You can then [use this data to create detailed analytics events](/docs/connections/auto-instrumentation/configuration/) based on those signals, enriching your insights into user behavior and application performance.
5451

55-
## Setup Guides
52+
## Setup guides
5653

5754
<div class="auto-instrumentation-catalog">
5855
<div class="auto-insturmentation__section markdown" id="{{ category | slugify }}">

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

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,19 @@ Segment’s Signals library powers [Auto-Instrumentation](/docs/connections/auto
77

88
This guide shows how to install and configure the library, as well as how to enable optional plugins for screen views, network activity, and more.
99

10-
> info "Auto-Instrumentation Private Beta"
11-
> Auto-Instrumentation is currently in Private Beta and is governed by Segment's [First Access and Beta Preview Terms](https://www.twilio.com/en-us/legal/tos){:target="_blank"}. Segment is actively iterating on and improving the Auto-Instrumentation user experience.
10+
> info "Auto-Instrumentation in public beta"
11+
> Auto-Instrumentation is in public beta, and Segment is actively working on this feature. Some functionality may change before it becomes generally available.
1212
13-
> success "Auto-Instrumentation access"
14-
> To turn Auto-Instrumentation on in your Segment workspace, reach out to your dedicated account manager.
15-
16-
## Before you begin
13+
## Before you start
1714

1815
To use Signals with Android, you need:
1916

20-
- An active Segment workspace with Auto-Instrumentation enabled
21-
- A Kotlin-based Android project
22-
- Android Gradle Plugin version 7.0 or later
23-
- A minimum compile SDK version of 21
17+
- An active Segment workspace with Auto-Instrumentation enabled.
18+
- A Kotlin-based Android project.
19+
- Android Gradle Plugin version 7.0 or later.
20+
- A minimum compile SDK version of 21.
2421

25-
Signals supports [Jetpack Compose](https://developer.android.com/compose){:target="_blank"} and traditional Android UI frameworks. It also includes optional plugins for network tracking using [OkHttp3](https://square.github.io/okhttp/){:target="_blank"}, [Retrofit](https://square.github.io/retrofit/){:target="_blank"}, or `HttpURLConnection`](https://developer.android.com/reference/java/net/HttpURLConnection){:target="_blank"}.
22+
Signals supports [Jetpack Compose](https://developer.android.com/compose){:target="_blank"} and traditional Android UI frameworks. It also includes optional plugins for network tracking using [OkHttp3](https://square.github.io/okhttp/){:target="_blank"}, [Retrofit](https://square.github.io/retrofit/){:target="_blank"}, or [HttpURLConnection](https://developer.android.com/reference/java/net/HttpURLConnection){:target="_blank"}.
2623

2724
Segment recommends testing in a development environment before deploying Signals in production. For more information, see [Debug mode](#step-4-enable-debug-mode).
2825

@@ -66,7 +63,7 @@ Only add the plugins you plan to use. You can add or remove them later without r
6663

6764
## Step 2: Initialize the SDK
6865

69-
After you add dependencies, you'll need to initialize the Analytics client and configure the Signals plugin.
66+
After you add dependencies, you need to initialize the Analytics client and configure the Signals plugin.
7067

7168
Start by creating the `Analytics` instance using your source's write key. Then add the Signals plugin and configure its settings separately.
7269

@@ -98,7 +95,7 @@ navController.turnOnScreenTracking()
9895

9996
When you run this code, keep the following in mind:
10097

101-
- You'll need to replace `<WRITE_KEY>` with the key from your Android Source in Segment.
98+
- You need to replace `<WRITE_KEY>` with the key from your Android Source in Segment.
10299
- `debugMode` sends signals to Segment for use in the Event Builder. Only enable it in development environments.
103100
- If your app doesn't use Jetpack Compose or Navigation, you can skip those plugin lines.
104101

@@ -233,7 +230,7 @@ If `debugMode` is enabled, Signals appear in real time as you interact with the
233230
5. After you add any event mappings, click **Publish event rules** to save them.
234231

235232
> info "What if I don't see the Event Builder tab?"
236-
> If you don't see the Event Builder tab, confirm that the SDK is installed correctly and make sure `debugMode` is enabled. If you still don't see it, reach out to your CSM to verify that your workspace has Auto-Instrumentation enabled.
233+
> If you don't see the Event Builder tab, confirm that the SDK is installed correctly and make sure `debugMode` is enabled. Verify that Auto-Instrumentation is enabled in **Settings > Advanced**. If you still don't see it, reach out to your CSM.
237234
238235
## Configuration options
239236

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

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

66
This guide outlines the steps required to set up the Signals SDK in your Apple OS applications using Swift.
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 "Auto-Instrumentation Private Beta"
11-
> Auto-Instrumentation is currently in Private Beta and is governed by Segment's [First Access and Beta Preview Terms](https://www.twilio.com/en-us/legal/tos){:target="_blank"}. Segment is actively iterating on and improving the Auto-Instrumentation user experience.
12-
13-
> success "Auto-Instrumentation access"
14-
> To turn Auto-Instrumentation on in your Segment workspace, reach out to your dedicated account manager.
10+
> info "Auto-Instrumentation in public beta"
11+
> Auto-Instrumentation is in public beta, and Segment is actively working on this feature. Some functionality may change before it becomes generally available.
1512
1613
## Step 1: Get your source write key
1714

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

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

2522
## Step 2: Add dependencies and initialization code
2623

27-
Next, you'll need to add the Signals SDKs to your Swift applicatiion.
24+
Next, add the Signals SDKs to your Swift applicatiion.
2825

2926
1. Use Swift Package Manager to add the Signals SDK from the following repository:
3027

@@ -35,7 +32,7 @@ Next, you'll need to add the Signals SDKs to your Swift applicatiion.
3532
2. Add the initialization code and configuration options:
3633

3734
> success ""
38-
> see [configuration options](#configuration-options) for a complete list.
35+
> See [configuration options](#configuration-options) for a complete list.
3936

4037
```swift
4138
// Configure Analytics with your settings
@@ -58,11 +55,11 @@ Next, you'll need to add the Signals SDKs to your Swift applicatiion.
5855
Analytics.main.add(plugin: Signals.shared)
5956
```
6057

61-
Verify that you replaced `<WRITE_KEY>` with the actual write key you copied in Step 1.
58+
Verify that you replaced `<WRITE_KEY>` with the actual write key you copied in [Step 1](#step-1-get-your-source-write-key).
6259

6360
#### SwiftUI projects
6461

65-
If your app is written in SwiftUI, you'll need to add a `TypeAlias.swift` file to your project that captures interaction and navigation Signals, like in this example:
62+
If your app is written in SwiftUI, you need to add a `TypeAlias.swift` file to your project that captures interaction and navigation Signals, like in this example:
6663

6764
```swift
6865
import Foundation
@@ -96,7 +93,7 @@ After integrating the SDK and running your app, verify that Segment is collectin
9693
4. Use the app as a user would: navigate between screens, tap buttons, trigger network requests. Signals appear in real time as you interact with the app.
9794
5. In the Event Builder, find a signal and click **Configure event** to define a new event. After configuring the event, click **Publish event rules**.
9895

99-
## Configuration Options
96+
## Configuration options
10097

10198
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-Swift.
10299

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

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +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 "Auto-Instrumentation Private Beta"
11-
> Auto-Instrumentation is currently in Private Beta and is governed by Segment's [First Access and Beta Preview Terms](https://www.twilio.com/en-us/legal/tos){:target="_blank"}. Segment is actively iterating on and improving the Auto-Instrumentation user experience.
12-
13-
> success "Auto-Instrumentation access"
14-
> To turn Auto-Instrumentation on in your Segment workspace, reach out to your dedicated account manager.
10+
> info "Auto-Instrumentation in public beta"
11+
> Auto-Instrumentation is in public beta, and Segment is actively working on this feature. Some functionality may change before it becomes generally available.
1512
1613
## Step 1: Get your source write key
1714

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

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

2522
## Step 2: Add dependencies and initialization code
2623

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

2926
Choose the installation method that matches your setup:
3027

@@ -150,7 +147,7 @@ If your site uses the standard Segment snippet, **replace it** with the followin
150147
</head>
151148
```
152149

153-
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).
154151

155152
### Option B: Install with a package manager
156153

@@ -205,11 +202,11 @@ After integrating the SDK and running your app, verify that Segment is collectin
205202
1. In your Segment workspace, go to **Connections > Sources** and select the source you used for Auto-Instrumentation.
206203
2. In the source overview, look for the **Event Builder** tab. If the tab doesn’t appear:
207204
- Make sure you've installed the SDK correctly.
208-
- Reach out to your Segment CSM to confirm that your workspace has the necessary feature flags enabled.
205+
- Verify that Auto Instrumentation is enabled in **Settings > Analytics.js**.
209206
![The Event Builder tab shown in the navigation bar between Debugger and Schema in a Segment Source](images/event_builder_tab.png)
210207

211208
3. Open the **Event Builder** and follow the on-screen instructions to start signal detection.
212-
- 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`.
213210
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.
214211
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**.
215212

@@ -279,15 +276,15 @@ const signalsPlugin = new SignalsPlugin({
279276
analytics.register(signalsPlugin);
280277
```
281278

282-
#### Sandbox Strategies
279+
#### Sandbox strategies
283280

284281
If you get CSP errors, you can use the experimental 'global' sandbox strategy:
285282

286283
```ts
287284
new SignalsPlugin({ sandboxStrategy: "global" });
288285
```
289286

290-
## Configuration Options
287+
## Configuration options
291288

292289
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.
293290

0 commit comments

Comments
 (0)