Skip to content

Commit e221538

Browse files
committed
more cleanup + syntax highlighting improvements
1 parent 478efb2 commit e221538

File tree

1 file changed

+5
-5
lines changed
  • src/connections/sources/catalog/libraries/mobile/apple/destination-plugins

1 file changed

+5
-5
lines changed

src/connections/sources/catalog/libraries/mobile/apple/destination-plugins/mixpanel-swift.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,16 @@ Open your `Package.swift` file and add the dependency to the `dependencies` sect
4545
),
4646
```
4747

48-
## Using the Plugin in your App
48+
## Using the plugin in your App
4949

50-
Open the file where you setup and configure the Analytics-Swift library. Add this plugin to the list of imports.
50+
Open the file where you set up and configure the Analytics Swift library. Import the Mixpanel plugin alongside Segment:
5151

52-
```
52+
```swift
5353
import Segment
54-
import SegmentMixpanel // <-- Add this line
54+
import SegmentMixpanel // Add this line
5555
```
5656

57-
Just under your Analytics-Swift library setup, call `analytics.add(plugin: ...)` to add an instance of the plugin to the Analytics timeline.
57+
After configuring the Analytics Swift library, add the Mixpanel plugin to the analytics timeline:
5858

5959
```
6060
let analytics = Analytics(configuration: Configuration(writeKey: "<YOUR WRITE KEY>")

0 commit comments

Comments
 (0)