File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
src/connections/sources/catalog/libraries/mobile/apple/destination-plugins Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -56,14 +56,17 @@ import SegmentMixpanel // Add this line
5656
5757After configuring the Analytics Swift library, add the Mixpanel plugin to the analytics timeline:
5858
59- ```
60- let analytics = Analytics(configuration: Configuration(writeKey: "<YOUR WRITE KEY>")
61- .flushAt(3)
62- .trackApplicationLifecycleEvents(true))
59+ ``` swift
60+ let analytics = Analytics (
61+ configuration : Configuration (writeKey : " <YOUR_WRITE_KEY>" )
62+ .flushAt (3 )
63+ .trackApplicationLifecycleEvents (true )
64+ )
65+
6366analytics.add (plugin : MixpanelDestination ())
6467```
6568
66- Your events will now begin to flow to Mixpanel in device mode.
69+ After you add the plugin, Segment automatically routes your events to Mixpanel in device mode.
6770
6871## Identify
6972
You can’t perform that action at this time.
0 commit comments