File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/connections/sources/catalog/libraries/mobile/apple/destination-plugins Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff 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
5353import 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```
6060let analytics = Analytics(configuration: Configuration(writeKey: "<YOUR WRITE KEY>")
You can’t perform that action at this time.
0 commit comments