Introduction
Welcome to the official documentation for Sensors Analytics SDK. This guide provides detailed information on how to integrate Sensors Analytics into your iOS or Android app. By integrating our SDK, you will be able to track and analyze user behavior in order to gain valuable insights for your business.
Prerequisites
In order to integrate Sensors Analytics SDK into your app, you will need the following:
- Access to the codebase of your iOS or Android app
- Xcode (for iOS) or Android Studio (for Android) already installed on your development machine
- An active Sensors Analytics account
Installation
iOS Installation
To integrate Sensors Analytics SDK into your iOS app, follow these steps:
- Download the Sensors Analytics SDK from the official Cocoapods repository:
pod 'SensorsAnalyticsSDK'
- Open your iOS project in Xcode
- Add the downloaded SDK to your project by following the instructions provided in the official Sensors Analytics documentation for iOS
- Import the Sensors Analytics SDK into your project
Android Installation
To integrate Sensors Analytics SDK into your Android app, follow these steps:
- Download the Sensors Analytics SDK from the official Maven repository
- Open your Android project in Android Studio
- Add the downloaded SDK to your project by following the instructions provided in the official Sensors Analytics documentation for Android
- Import the Sensors Analytics SDK into your project
Initialization
iOS Initialization
To initialize Sensors Analytics SDK in your iOS app, follow these steps:
- Import the Sensors Analytics SDK into your code files
- Create an instance of Sensors Analytics
- Initialize the instance with your app’s distinct project token
- Enable visualized auto-tracking (optional)
- Configure additional options as needed
- Start tracking user events and behaviors
Android Initialization
To initialize Sensors Analytics SDK in your Android app, follow these steps:
- Import the Sensors Analytics SDK into your code files
- Create an instance of Sensors Analytics
- Initialize the instance with your app’s distinct project token
- Enable visualized auto-tracking (optional)
- Configure additional options as needed
- Start tracking user events and behaviors
Tracking Events
iOS Tracking Events
To track events in your iOS app using Sensors Analytics SDK, you need to:
- Create an event
- Add properties to the event (optional)
- Track the event
Android Tracking Events
To track events in your Android app using Sensors Analytics SDK, you need to:
- Create an event
- Add properties to the event (optional)
- Track the event
Data Analytics
Data Analytics on iOS
With Sensors Analytics SDK for iOS, you can analyze and gain insights from the data collected. You can:
- View and analyze user profiles
- Create funnels to track and optimize user conversion
- Visualize and explore your data with charts and graphs
- Generate custom reports
Data Analytics on Android
With Sensors Analytics SDK for Android, you can analyze and gain insights from the data collected. You can:
- View and analyze user profiles
- Create funnels to track and optimize user conversion
- Visualize and explore your data with charts and graphs
- Generate custom reports
Troubleshooting
If you encounter any issues during the integration or usage of Sensors Analytics SDK, refer to the official documentation or contact our support team for assistance.
Conclusion
Congratulations, you have successfully integrated Sensors Analytics SDK into your app. You can now start tracking user events and behaviors, and use our data analytics features to gain valuable insights for your business.