Taplytics Destination
Destination Info
- Accepts Page, Group, Identify, and Track calls
- Refer to it as Taplytics in the Integrations object
Components
Our Taplytics destination code is open sourced on GitHub. Feel free to check it out: iOS, Android.
Getting Started
Once the Segment library is integrated with your app, add your API key and select your settings then toggle Taplytics on in your Segment destinations. These new settings will take up to an hour to propagate to your existing users. For new users it’ll be instantaneous!
Follow the below steps for destination
iOS
To get started with Taplytics on iOS, first integrate your app with the Taplytics iOS library. To get the API key, login to your account, select the App on the top left then click into the Settings menu on the left side. If you want to set up Push Notifications click on the Push Notification tab in their UI and follow the instructions. Finally, you want to ensure you have configured your app delegate to enable push notifications.
If you want to set up deep linking, just follow this section of their docs!
For more information about setting up Taplytics on iOS, see their docs
Android
To get up and running with Taplytics on Android, there a couple of steps we will walk you through. You first want to ensure that you’ve integrated your mobile app with our Android library.
To enable its full functionality (like Push Notifications, Deep linking), there are a couple of extra steps that you have to take care of in your Android app. This document explains how to set up Push Notifications and ths one explains how to set up deep linking.
Identify
Use Identify to track user specific attributes. It equivalent to tracking user attributes on Taplytics. Taplytics supports traits supported by Segment as well as custom traits. If you set traits.id, we set that as the Unique ID for that user.
Track
Use track to track events and user behaviour in your app.
This will send the event to Taplytics with the associated properties. If you include a revenue
property on your Track call, we’ll call logRevenue
to pass a revenue amount into Taplytics associated with the action. If you include a value
property, we’ll map it to Taplytics amount property when we logEvent
.
Reset
If your app supports the ability for a user to logout and login with a new identity, then you’ll need to call reset in your mobile app. Here we will call Taplytic’s resetUser implementation to ensure the user information remains consistent.
Settings
Segment lets you change these destination settings from the Segment app without having to touch any code.
Setting | Description |
---|---|
API Key (required) |
string . You can find your API Key under Project Settings in the upper-left of the Taplytics interface. |
Delay Load (iOS) | number , defaults to 4. Seconds to keep showing the splash screen until the experiments are loaded. Used for when running an experiment on the first page of the app. |
Enable Live Update (Android) | select , defaults to default. This will automatically flag this device as a dev device and make a socket connection to the server for testing experiments and variations live. |
Push Sandbox (iOS) | boolean , defaults to FALSE . Configures whether the push token for the device is a production token or if it is a development token. |
Background Session Time | number , defaults to 10. This will control the amount of time the app can be in background before a session is ended. |
Enable Shake Menu (iOS) | boolean , defaults to FALSE . This will control whether the in-app Shake Menu is enabled or not. |
Enable Shake Menu (Android) | select , defaults to default. This will control whether the in-app Shake Menu is enabled or not. |
Enable Turn Menu (Android) | select , defaults to default. This is an alternative method of accessing the shake menu, useful for emulators that do not have such a capability. When enabled, turning the device three times will bring up the menu. |
This page was last modified: 27 Oct 2023
Need support?
Questions? Problems? Need more info? Contact Segment Support for assistance!