Skip to content

Commit 2bfbcc8

Browse files
committed
Heading and other review fixes
1 parent bf3bfd7 commit 2bfbcc8

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

src/connections/sources/catalog/libraries/mobile/apple/live-plugins.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,10 @@ You can use JavaScript live plugins with Analytics-Swift and Analytics-Kotlin to
1616

1717
Because live plugins let you modify event data before it leaves a mobile device, you can use the same function to modify data meant for all your cloud-mode and device-mode destinations.
1818

19-
## Live plugin setup
19+
## Setup
2020

2121
To use live plugins, you first need to set up your mobile app with a one-time configuration.
2222

23-
### One-time configuration
24-
2523
To configure live plugins:
2624

2725
1. Include the [Analytics Live for Swift plugin](https://github.com/segment-integrations/analytics-swift-live){:target="_blank"}
@@ -57,7 +55,7 @@ After you've completed setup, you can deploy your apps to the Apple App Store an
5755

5856
This section walks you through a sample live plugin implementation.
5957

60-
### Write a live plugin in JavaScript
58+
### 1. Write a live plugin in JavaScript
6159

6260
Copy and save the following file, which anonymizes events by removing user IDs and device IDs:
6361

@@ -75,19 +73,19 @@ class PrivacyLivePlugin extends LivePlugin {
7573

7674
Note the name of your saved file. You'll need it in the next step.
7775

78-
### Deploy the plugin with the Live Plugin CLI
76+
### 2. Deploy the plugin with the Live Plugin CLI
7977

8078
With your plugin saved, you'll next deploy the plugin with Segment's Live Plugin CLI. Follow these steps:
8179

82-
#### 1. Install the CLI with Homebrew
80+
#### Install the CLI with Homebrew
8381

8482
Run this command to install the Segment CLI:
8583

8684
```shell
8785
$ brew install segment-integrations/formulae/segmentcli
8886
```
8987

90-
#### 2. Authenticate with Segment
88+
#### Authenticate with Segment
9189

9290
Next, you'll authenticate with Segment to give the CLI access to your workspace:
9391

0 commit comments

Comments
 (0)