Skip to content

Commit 12e2224

Browse files
authored
Revise Live Plugins documentation for clarity
Cleaned up redundant text
1 parent 2edfa9f commit 12e2224

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,29 @@ title: Live Plugins
33
strat: swift
44
---
55

6-
Segment has launched the [Auto-Instrumentation Public Beta](https://segment.com/docs/connections/auto-instrumentation/){:target="_blank"} to Public Beta, which simplifies instrumenting your websites & apps with a simple WYSIWYG interface, directly from your Segment workspace. In addition to creating events remotely, Segment also offers the ability to transform events remotely via Live Plugins.
6+
Segment has launched the [Auto-Instrumentation](https://segment.com/docs/connections/auto-instrumentation/){:target="_blank"} to Public Beta, which simplifies instrumenting your websites & apps with a simple WYSIWYG interface, directly from your Segment workspace. As part of this launch, Segment also offers the ability to transform events remotely via Live Plugins.
77

8-
Live Plugins are JavaScript code snippets which are published via your Segment source, and then downloaded directly to the mobile devices of end users. Live Plugins let you perform real-time modifications to events, before they leave the mobile device, without having to rebuild & redistribute your apps.
8+
Live Plugins are JavaScript code snippets which are published from your Segment workspace directly to the devices of your end users. Live Plugins let you perform real-time modifications to events, before they leave the end-user device, without having to rebuild & redistribute your apps.
99

1010
On this page, you'll learn how to set up your mobile app to support Live Plugins, and how to create and deploy your own Live Plugins directly to your end users. You'll also see examples of Live Plugins that address common use cases.
1111

1212
> info "Live Plugins is in Public Beta"
13-
> Live Plugins is currently in Beta and available to select Business Tier Customers only. To enable this feature for your workspace, contact your CSM.
13+
> Live Plugins is currently in Beta for Swift & Kotlin, and available to select Business Tier Customers only. To enable this feature for your workspace, contact your CSM.
1414
15-
## Live plugins overview
15+
## Live Plugins overview
1616

1717
You can use JavaScript live plugins with Analytics-Swift and Analytics-Kotlin to filter and modify data remotely. As a result, you can filter and modify Analytics events without having to deploy updates to the app store for each change, ensuring data quality and consistency for all your mobile users.
1818

19-
Because Live Plugins let you modify event data before it leaves a mobile device, you can use the same Javascript code to modify data meant for all your cloud-mode and device-mode destinations, or scope your changes to specific Destinations.
19+
Because Live Plugins let you modify event data before it leaves a mobile device, you can use the same Javascript code to modify data across all your cloud-mode and device-mode destinations, or you can scope your changes to specific destinations.
2020

2121
## Setup
2222

2323
To use Live Plugins, you first need to set up your mobile app with a one-time configuration.
2424

2525
To configure Live Plugins:
2626

27-
1. Include the [Analytics Live for Swift plugin](https://github.com/segment-integrations/analytics-swift-live){:target="_blank"}
28-
and [Analytics Live for Kotlin plugin](https://github.com/segment-integrations/analytics-kotlin-live){:target="_blank"}
27+
1. Include [Analytics-Live for Swift plugin](https://github.com/segment-integrations/analytics-swift-live){:target="_blank"}
28+
and [Analytics-Live for Kotlin](https://github.com/segment-integrations/analytics-kotlin-live){:target="_blank"}
2929
in your project.
3030
2. Add the plugin to your instance of Analytics, using the following code:
3131

@@ -53,7 +53,7 @@ analytics.add(LivePlugins())
5353

5454
After you've completed setup, you can deploy your apps to the Apple App Store and Google Play Store. You can then add new JavaScript plugin code to your mobile apps through the Segment website, and perform updates as often as needed.
5555

56-
## Create your own live plugin
56+
## Create your own Live Plugin
5757

5858
To access Live Plugins for you Swift and Kotlin sources
5959
1. Navigate to Connections > Sources.
@@ -102,7 +102,7 @@ analytics.add(new UserIdLivePlugin(LivePluginType.enrichment, "adobe"));
102102

103103
### 3. Use the `LivePluginType` enums
104104

105-
To control when your custom live plugin runs during event processing, you can use `LivePluginType` enums, which define different timing options for your live plugin. Here are the available types:
105+
To control when your custom Live Plugin runs during the event lifecycle, you can use `LivePluginType` enums, which define different timing options for your Live Plugin. Here are the available types:
106106

107107
```js
108108
const LivePluginType = {
@@ -113,9 +113,9 @@ const LivePluginType = {
113113
}
114114
```
115115

116-
With these enums, you can select the timing that best fits your custom live plugin's target use case. These types align with categories used for Native Plugins.
116+
With these enums, you can select the timing that best fits your custom Live Plugin's target use case. These types align with categories used for Native Plugins.
117117

118-
## Live plugin examples
118+
## Live Plugin examples
119119

120120
The following live plugin examples address common use cases:
121121

@@ -252,7 +252,7 @@ analytics.add(new DownSampleLivePlugin(LivePluginType.enrichment, null));
252252

253253
## Live Plugins API
254254

255-
Live plugins follow an interface that let you intercept Segment events and modify their data. This interface includes several functions that you can implement for custom behavior:
255+
Live Plugins expose an interface that lets you intercept Segment events and modify their data. This interface includes several functions that you can implement for custom behavior:
256256

257257
```js
258258
// Interface for Live Plugins:

0 commit comments

Comments
 (0)