Taplytics Destination

Segment makes it easy to send your data to Taplytics (and lots of other destinations). Once you've tracked your data through our open source libraries we'll translate and route your data to Taplytics in the format they understand. Learn more about how to use Taplytics with Segment.

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.


Supported Sources and Connection Modes

WebMobileServer
📱 Device-based
☁️ Cloud-based

To learn more about about Connection Modes and what dictates which we support, see here.

This destination requires a Device-based Connection Mode for Mobile data. Follow the steps above to ensure you have packaged the Taplytics SDK with Segment’s.

Settings

Segment lets you change these destination settings via your Segment dashboard without having to touch any code.

Enable Live Update (Android)

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)

Configures whether the push token for the device is a production token or if it is a development token.

Background Session Time

This will control the amount of time the app can be in background before a session is ended.

Enable Shake Menu (iOS)

This will control whether the in-app Shake Menu is enabled or not.

Enable Shake Menu (Android)

This will control whether the in-app Shake Menu is enabled or not.

Enable Turn Menu (Android)

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.

API Key

You can find your API Key under Project Settings in the upper-left of the Taplytics interface.

Delay Load (iOS)

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.


If you have any questions or see anywhere we can improve our documentation, please let us know or kick off a conversation in the Segment Community!