Skip to content

Commit f8d2159

Browse files
committed
Fixes
1 parent fd0425a commit f8d2159

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ You then have the option to pin to a version or specific branch and select which
4444

4545
Open your Package.swift file and add the following to the `dependencies` section:
4646

47-
```
47+
```swift
4848
.package(
4949
name: "Segment",
5050
url: "https://github.com/segment-integrations/analytics-swift-adobe-analytics.git",
@@ -56,14 +56,14 @@ Open your Package.swift file and add the following to the `dependencies` section
5656

5757
Open the file where you set up and configured the Analytics-Swift library. Add this plugin to the list of imports.
5858

59-
```
59+
```swift
6060
import Segment
6161
import SegmentAdobe // <-- Add this line
6262
```
6363

6464
Just under your Analytics-Swift library setup, call `analytics.add(plugin: ...)` to add an instance of the plugin to the Analytics timeline.
6565

66-
```
66+
```swift
6767
let analytics = Analytics(configuration: Configuration(writeKey: "<YOUR WRITE KEY>")
6868
.flushAt(3)
6969
.trackApplicationLifecycleEvents(true))

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,15 @@ The first thing you'll want to do is to identify your users so Mixpanel knows wh
8282

8383
As soon as you have a `userId` for a visitor that was previously anonymous you'll need to [`alias`](/docs/connections/spec/alias/) their old anonymous `id` to the new `userId`. In Mixpanel only **one** anonymous user history can be merged to **one** identified user. For that reason you should only call `alias` once, right after a user registered, but before the first `identify`.
8484

85-
When you call the Identify method from the client in either a browser using Analytics.js or one a mobile SDKs, several things occur: Segment recognizes and translates the [special traits](/docs/connections/spec/identify/#traits) so that they fit the expectations of Mixpanel's API. The table below shows the mappings. Pass the key on the left and Segment transforms it to the key on the right before sending to Mixpanel.
85+
When you call the Identify method from the client in either a browser using Analytics.js or one a mobile SDKs, several things occur:
86+
Segment recognizes and translates the [special traits](/docs/connections/spec/identify/#traits) so that they fit the expectations of Mixpanel's API.
87+
The table below shows the mappings. Pass the key on the left and Segment transforms it to the key on the right before sending to Mixpanel.
8688

8789
<table>
90+
<tr>
91+
<td>Key</td>
92+
<td>Segment transformation</td>
93+
</tr>
8894
<tr>
8995
<td>`created`</td>
9096
<td>`$created`</td>

0 commit comments

Comments
 (0)