Skip to content

Commit b435949

Browse files
authored
Merge pull request #2601 from segmentio/DOC-474
Added Swift and Kotlin repo links to Amplitude, Appsflyer, Firebase, Mixpanel [DOC-474]
2 parents 9cd0d34 + b3e1d50 commit b435949

File tree

4 files changed

+26
-47
lines changed

4 files changed

+26
-47
lines changed

src/connections/destinations/catalog/amplitude/index.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@ platform for your web and mobile apps. By analyzing the actions your users
99
perform, you can gain a better understanding to drive retention, engagement,
1010
and conversion.
1111

12-
Segment's Amplitude destination code is open source and available on GitHub. Feel free to check it out:
13-
- [JavaScript](https://github.com/segmentio/analytics.js-integrations/tree/master/integrations/amplitude)
14-
- [iOS](https://github.com/segment-integrations/analytics-ios-integration-amplitude)
15-
- [Android](https://github.com/segment-integrations/analytics-android-integration-amplitude)
16-
12+
Segment's Amplitude destination code is open source and available on GitHub. You can view these repositories:
13+
- [Android](https://github.com/segment-integrations/analytics-android-integration-amplitude){:target="_blank"}
14+
- [iOS](https://github.com/segment-integrations/analytics-ios-integration-amplitude){:target="_blank"}
15+
- [JavaScript](https://github.com/segmentio/analytics.js-integrations/tree/master/integrations/amplitude){:target="_blank"}
16+
- [Kotlin](https://github.com/segment-integrations/analytics-kotlin-amplitude){:target="_blank"}
17+
- [Swift](https://github.com/segment-integrations/analytics-swift-amplitude){:target="_blank"}
1718

1819
In addition to the docs below, Amplitude created a [integration guide](https://developers.amplitude.com/docs/segment-amplitude-integration).
1920

src/connections/destinations/catalog/appsflyer/index.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ id: 54521fd525e721e32a72ee8f
55
---
66
[AppsFlyer](https://www.appsflyer.com/) is the world's leading mobile attribution & marketing analytics platform, helping app marketers around the world make better decisions. Our AppsFlyer destination code is open-source. You can browse the code on GitHub for [iOS](https://github.com/AppsFlyerSDK/segment-appsflyer-ios) and [Android](https://github.com/AppsFlyerSDK/AppsFlyer-Segment-Integration).
77

8+
Segment's Appsflyer destination code is open source and available on GitHub. You can view these repositories:
9+
- [Android](https://github.com/AppsFlyerSDK/appsflyer-segment-android-plugin){:target="_blank"}
10+
- [iOS](https://github.com/AppsFlyerSDK/segment-appsflyer-ios){:target="_blank"}
11+
- [Kotlin](https://github.com/segment-integrations/analytics-kotlin-appsflyer){:target="_blank"}
12+
- [Swift](https://github.com/segment-integrations/analytics-swift-appsflyer){:target="_blank"}
13+
814
## Getting Started
915

1016
{% include content/connection-modes.md %}

src/connections/destinations/catalog/firebase/index.md

Lines changed: 6 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,14 @@ id: 579a568e80412f644ff19cf7
55
---
66
Firebase is Google's platform for mobile apps. The Segment Firebase destination requires that you bundle the Firebase SDK with your project. The Segment-wrapped destination code then runs on the user's device, and sends its tracking calls to the Firebase API endpoints, and a copy to Segment for archiving.
77

8-
98
> info ""
109
> As of October 2019, Firebase replaced the legacy version of Google Analytics Classic for mobile devices. (If you used Google Analytics for mobile, see the [migration guide](/docs/connections/destinations/catalog/google-analytics/migrating/).)
1110
11+
Segment's Firebase destination code is open source and available on GitHub. You can view these repositories:
12+
- [Android](https://github.com/segment-integrations/analytics-android-integration-firebase){:target="_blank"}
13+
- [iOS](https://github.com/segment-integrations/analytics-ios-integration-firebase){:target="_blank"}
14+
- [Kotlin](https://github.com/segment-integrations/analytics-kotlin-firebase){:target="_blank"}
15+
- [Swift](https://github.com/segment-integrations/analytics-swift-firebase){:target="_blank"}
1216

1317
## Getting Started on Android
1418

@@ -112,43 +116,6 @@ If you use Segment's React Native source library, you must explicitly bundle the
112116
4. Change to your iOS directory and run `pod install`.
113117
5. Add the `analytics-react-native-firebase` module to your `build.gradle` file. (See Step.4 of [Getting Started on Android](/docs/connections/destinations/catalog/firebase/#getting-started-on-android))
114118

115-
116-
## Setting up Firebase with Analytics-Kotlin
117-
If you're using the [Analytics-Kotlin library](/docs/connections/sources/catalog/libraries/mobile/kotlin-android), follow these steps to set up Firebase with Analytics-Kotlin:
118-
1. In your top-level `build.gradle` file add these lines:
119-
```kotlin
120-
buildscript {
121-
...
122-
repositories {
123-
google()
124-
}
125-
dependencies {
126-
...
127-
classpath 'com.google.gms:google-services:4.3.5'
128-
}
129-
}
130-
```
131-
2. In your app-module `build.gradle` file add these lines:
132-
```kotlin
133-
...
134-
plugins {
135-
id 'com.google.gms.google-services'
136-
}
137-
138-
dependencies {
139-
...
140-
implementation platform('com.google.firebase:firebase-bom:28.2.1')
141-
implementation 'com.google.firebase:firebase-analytics-ktx'
142-
}
143-
```
144-
3. Copy the [FirebaseDestination.kt](https://github.com/segmentio/analytics-kotlin/blob/main/samples/kotlin-android-app-destinations/src/main/java/com/segment/analytics/destinations/plugins/FirebaseDestination.kt) file into your project's codebase.
145-
4. Copy your `google-service.json` file to your app-module.
146-
5. Go to your project's codebase and add these lines where you intialize the analytics client:
147-
```kotlin
148-
val Firebase = FirebaseDestination()
149-
analytics.add(Firebase)
150-
```
151-
152119
## Identify
153120

154121
When you call `identify` Segment will map to the corresponding Firebase Analytics calls:
@@ -273,7 +240,7 @@ Then, enter the deep link URL scheme in your Segment Firebase destination settin
273240

274241
### **Conversion Tracking and Adwords Conversions**
275242

276-
Firebase is Google's recommended method for reporting conversions to Adwords. To use Firebase, track the conversion events as you normally would with Segment and Segment will send them through to Firebase.
243+
Firebase is Google's recommended method for reporting conversions to Adwords. To use Firebase, track the conversion events as you normally would with Segment and Segment will send them through to Firebase.
277244

278245
### Troubleshooting
279246

src/connections/destinations/catalog/mixpanel/index.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,12 @@ id: 54521fd925e721e32a72eed6
66
---
77
[Mixpanel](https://mixpanel.com/?utm_source=segmentio&utm_medium=docs&utm_campaign=partners) is an event tracking and segmentation platform for your web and mobile apps. By analyzing the actions your users perform, you can gain a better understanding to drive retention, engagement, and conversion. The client-side Mixpanel Destination code is open-source.
88

9-
You can browse the code on GitHub for [Analytics.js in Device-mode](https://github.com/segmentio/analytics.js-integrations/tree/master/integrations/mixpanel), [iOS](https://github.com/segment-integrations/analytics-ios-integration-mixpanel) and [Android](https://github.com/segment-integrations/analytics-android-integration-mixpanel).
9+
Segment's Mixpanel destination code is open source and available on GitHub. You can view these repositories:
10+
- [Analytics.js in Device-mode](https://github.com/segmentio/analytics.js-integrations/tree/master/integrations/mixpanel){:target="_blank"}
11+
- [Android](https://github.com/segment-integrations/analytics-android-integration-mixpanel){:target="_blank"}
12+
- [iOS](https://github.com/segment-integrations/analytics-ios-integration-mixpanel){:target="_blank"}
13+
- [Swift](https://github.com/segment-integrations/analytics-swift-mixpanel){:target="_blank"}
14+
- [Kotlin](https://github.com/segment-integrations/analytics-kotlin-mixpanel){:target="_blank"}
1015

1116
## Getting Started
1217

@@ -382,7 +387,7 @@ analytics.track({
382387

383388
### Explicitly Set People Properties and Super Properties
384389

385-
Previously, Segment set all traits and properties as both Super Properties and People Properties (If you had Mixpanel People enabled). Now Mixpanel allows you to segment your reports by both People Properties and Super Properties. To give you better precision and control over what property or trait gets set as a Super Property or People Property, you can disable **Set All Traits as Super Properties or People Properties By Default** and pass in the properties or traits that you want to send to Mixpanel as People or Super Properties as shown below. Segment passes through all of Mixpanel's special traits as People Properties so you only need to add the ones that aren't on [this list](#group-using-device-mode).
390+
Previously, Segment set all traits and properties as both Super Properties and People Properties (If you had Mixpanel People enabled). Now Mixpanel allows you to segment your reports by both People Properties and Super Properties. To give you better precision and control over what property or trait gets set as a Super Property or People Property, you can disable **Set All Traits as Super Properties or People Properties By Default** and pass in the properties or traits that you want to send to Mixpanel as People or Super Properties as shown below. Segment passes through all of Mixpanel's special traits as People Properties so you only need to add the ones that aren't on [this list](#group-using-device-mode).
386391

387392

388393
![mixpanel people properties list](images/mixpanelpeoplesuperprops.png)
@@ -498,7 +503,7 @@ analytics.identify(
498503

499504
Push notifications are only available for projects bundling the Segment-Mixpanel SDK.
500505

501-
> info ""
506+
> info ""
502507
> Set up your push notification handlers by calling into native Mixpanel methods. You can read more about how to approach this in the [iOS](/docs/connections/sources/catalog/libraries/mobile/ios/#what-if-your-sdk-doesnt-support-feature-x) and [Android](/docs/connections/sources/catalog/libraries/mobile/android/#how-can-i-use-a-destination-specific-feature) documentation.
503508
504509
### In-App Notifications

0 commit comments

Comments
 (0)