Skip to main content
Gainsight Inc.

Overview of Gainsight PX Mobile SDK

This article introduces the Gainsight PX Mobile SDK and explains the various advantages of using this SDK.


The Gainsight PX is a powerful application that helps you create in-app engagements to track various events from your mobile application. 

The Gainsight PX mobile SDK can be used by mobile developers to integrate Gainsight PX into their mobile application. This integration allows Gainsight PX to send real-time events from your mobile app. You can easily get insights on critical data like the number of downloads, activities performed by users in your app, screens viewed, and other important information about your app.

Recent Activity Mobile.jpg

Gainsight SDK is available in two versions; Android and iOS. You can use the respective SDK to integrate Gainsight PX, into your application. 

Using the SDK

You can download the Gainsight PX SDK from Gainsight’s official site. Once you download the SDK, you can add it to your project and then create dependencies from other modules as required. For a detailed integration manual for Android, refer to the Install Gainsight PX SDK for Android article from the Additional Resources section. For information on iOS variant of the integration manual, refer to the Install Gainsight PX SDK for iOS article from the Additional Resources section.

You can also use Gainsight React native code, if your application is built on react native. For more information on react-native configurations and Native-Script configurations, refer to the Install Gainsight PX React-Native and Install Gainsight PX Native-Script article respectively from the Additional Resources section. Once you setup Gainsight PX in your mobile app, you can start receiving events about your app.

Initialize Gainsight PX SDK to EU Environment

By default, the SDK points to the US environment. To configure the SDK to point to the EU environment, you need to set the below Analytics Configurations for iOS and Android respectively.


let configurations = AnalyticsConfigurations(apiKey: <#String#>)
configurations.connection = Connection(connectionMode:
GainsightPX.shared.initialise(configurations: configurations, completionBlock: nil)


GainsightPX.Builder builder = new GainsightPX.Builder(webView.getContext(), apiKey);

Advantages of Gainsight PX SDK

  • Allows you to easily receive multiple events from your app.
  • Provides insights on users of your app. 
  • Allows you to easily create custom events and track any part of your app.
  • Was this article helpful?