Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/webengage/segment-integration-android
WebEngage's package integration with Segment
https://github.com/webengage/segment-integration-android
Last synced: 2 days ago
JSON representation
WebEngage's package integration with Segment
- Host: GitHub
- URL: https://github.com/webengage/segment-integration-android
- Owner: WebEngage
- Created: 2017-10-10T16:37:22.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-05-09T10:34:49.000Z (6 months ago)
- Last Synced: 2024-05-09T11:49:18.279Z (6 months ago)
- Language: Java
- Homepage:
- Size: 169 KB
- Stars: 3
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Segment-Integration-Android
[ ![Download](https://api.bintray.com/packages/webengage/maven/android-segment/images/download.svg) ](https://bintray.com/webengage/maven/android-segment/_latestVersion)WebEngage integration for [analytics-android](https://github.com/segmentio/analytics-android)
## Installation
To install the WebEngage-Segment integration, simply add this line to your app build.gradle file:
```
compile 'com.webengage:android-segment:2.+'
```## Usage
After adding the dependency, you must register the WebEngage's destination in your Segment's Analytics instance. To do this, import the WebEngage integration:
```
import com.webengage.sdk.android.integrations.segment.WebEngageIntegration;```
And add the following line:
```
analytics = new Analytics.Builder(this, "write_key")
.use(WebEngageIntegration.FACTORY)
.build();
```## Push Notifications
Please follow our [android push notification documentation](https://docs.webengage.com/docs/android-push-messaging)## In-App Notifications
No further action is required to integrate in-app messages.## Proguard
Please include the following rules in your proguard file.``` groovy
-keep class com.webengage.sdk.android.**{*;}
-dontwarn com.webengage.sdk.android.**
```## Advanced
For advanced integration options such as attribution and location tracking, please visit the advanced [section](https://docs.webengage.com/docs/android-advanced) of our Android documentation.## Sample App
WebEngage has created a sample Android application that integrates WebEngage via Segment. Check it out at our [Gitub repo](https://github.com/WebEngage/segment-integration-android-example).