From 39afdb62aa5403fb658e7eb93c391838b1fe7cd1 Mon Sep 17 00:00:00 2001 From: pwseg Date: Wed, 27 Aug 2025 19:54:22 -0500 Subject: [PATCH 1/3] update header --- src/connections/auto-instrumentation/web-setup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/connections/auto-instrumentation/web-setup.md b/src/connections/auto-instrumentation/web-setup.md index 77285f0a59..1f90040215 100644 --- a/src/connections/auto-instrumentation/web-setup.md +++ b/src/connections/auto-instrumentation/web-setup.md @@ -13,7 +13,7 @@ You'll learn how to add Auto-Instrumentation sources, integrate dependencies, an > success "Enable Auto-Instrumentation" > To enable Auto-Instrumentation in your Segment workspace, reach out to your dedicated account manager. -## Step 1: Add a source and get its write key +## Step 1: Add or enable a source and get its write key You'll first need to add a source and copy its write key: From d8f83a9bf118c96fbd8e79e15c3dd6c2c332710c Mon Sep 17 00:00:00 2001 From: pwseg Date: Wed, 27 Aug 2025 19:57:40 -0500 Subject: [PATCH 2/3] clean up add source steps --- src/connections/auto-instrumentation/web-setup.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/connections/auto-instrumentation/web-setup.md b/src/connections/auto-instrumentation/web-setup.md index 1f90040215..9cef6b0444 100644 --- a/src/connections/auto-instrumentation/web-setup.md +++ b/src/connections/auto-instrumentation/web-setup.md @@ -15,13 +15,14 @@ You'll learn how to add Auto-Instrumentation sources, integrate dependencies, an ## Step 1: Add or enable a source and get its write key -You'll first need to add a source and copy its write key: +You can either create a new source or turn on Auto-Instrumentation for an existing source. Both methods let you retrieve the `writeKey` that you’ll need later. -1. In your Segment workspace, navigate to **Connections > Auto-Instrumentation** and click **Add source**. -2. Select a source, give the source a name, and click **Save**. -3. Return to **Connections > Sources** to view your sources. -4. In the **My sources** table, find and click the new source you just set up. -5. In the **Initialize the Client** section, look for and copy the `writeKey` displayed in the code block. +### Create a new source + +1. In your Segment workspace, navigate to **Connections > Auto-Instrumentation**. +2. Select **Add source**, give the source a name, and click **Save**. +3. Return to **Connections > Sources** and select the new source you just set up. +4. In the **Initialize the Client** section, copy the `writeKey` shown in the code block. ## Step 2: Add dependencies and initialization code From 922b43dc7adc5fa01b5aeb235774f6be31823849 Mon Sep 17 00:00:00 2001 From: pwseg Date: Wed, 27 Aug 2025 20:03:26 -0500 Subject: [PATCH 3/3] add info about existing sources [netlify-build] --- src/connections/auto-instrumentation/web-setup.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/connections/auto-instrumentation/web-setup.md b/src/connections/auto-instrumentation/web-setup.md index 9cef6b0444..e82e57e256 100644 --- a/src/connections/auto-instrumentation/web-setup.md +++ b/src/connections/auto-instrumentation/web-setup.md @@ -24,6 +24,13 @@ You can either create a new source or turn on Auto-Instrumentation for an existi 3. Return to **Connections > Sources** and select the new source you just set up. 4. In the **Initialize the Client** section, copy the `writeKey` shown in the code block. +### Enable Auto-Instrumentation on an existing source + +If you want to use an existing source, copy its `writeKey` from **Initialize the client**. After you install the SDK (Step 2), return to the source settings to turn on Auto-Instrumentation: + +- **Web:** **Connections > Sources > [source] > Settings > Analytics.js > Auto-Instrumentation** and toggle it on. +- **Mobile:** **Connections > Sources > [source] > Settings > Advanced > Auto-Instrumentation** and toggle it on. + ## Step 2: Add dependencies and initialization code Next, you'll need to add the Signals SDKs to your web environment.