You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/connections/sources/catalog/libraries/mobile/apple/destination-plugins/1flow-swift.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,14 +4,14 @@ title: 1Flow Swift Plugin
4
4
5
5
[1Flow](https://1flow.ai/?utm_source=segmentio&utm_medium=docs&utm_campaign=partners){:target="_blank"} is a leading in-app user survey and messaging platform for Mobile app and SaaS businesses.
6
6
7
-
Using 1Flow, you can reach users_in-the-moment_ while they are interacting with your website or application, to collect highly contextual user insights that help you improve your product offering and customer experience.
7
+
Using 1Flow, you can reach users_in-the-moment_ while they are interacting with your website or application to collect highly contextual user insights that help you improve your product offering and customer experience.
8
8
9
9
##Getting started
10
10
11
11
1. From the Segment web app, click**Catalog**, then search for**1Flow Mobile Plugin**.
12
12
2. Click**Add Destination**.
13
13
4. Select an existing Source to connect to 1Flow Mobile Plugin.
14
-
5. Go to 1flow.ai-> Settings-> Project Settings, copy the 1Flow project key, and paste it into the Destination Settings in Segment.
14
+
5. Go to**1flow.ai > Settings > Project Settings**, copy the 1Flow project key, and paste it into the Destination Settings in Segment.
15
15
6. Depending on the mobile source you’ve selected, include 1Flow's library by adding the following lines to your dependency configuration.
You'll then have the option to pin to a version, or specific branch, as well as which project in your workspace to add it to. Once you've made your selections, clickthe`Add Package` button.
27
+
You'll then have the option to pin to a version, or specific branch, as well as which project in your workspace to add it to. Once you've made your selections, click**Add Package**.
28
28
29
29
###Through Package.swift
30
30
@@ -38,9 +38,9 @@ Open your Package.swift file and add the following to the `dependencies` section
38
38
),
39
39
```
40
40
41
-
##Using the Plugin in yourApp
41
+
##Using the Plugin in yourapp
42
42
43
-
Open the file where yousetup and configure the Analytics-Swift library. Add this plugin to the list of imports.
43
+
Open the file where youset up and configure the Analytics-Swift library. Add this plugin to the list of imports.
When you callidentify methodof segment, it will be equivalent to`logUser` of 1Flow.`userId` will be`userID` and`traits` will be`userDetails`.
69
+
The Segmentidentify methodis equivalent to`logUser` of 1Flow.`userId` will be`userID` and`traits` will be`userDetails`.
70
70
71
71
##Track
72
72
If you're not familiar with the Segment Specs, take a look to understand what the[Track method](/docs/connections/spec/track/) does. An example call would look like: