Skip to main content

Introduction

The Trackier Cordova SDK enables developers to integrate powerful analytics and marketing capabilities into Cordova-based hybrid applications for Android and iOS platforms. Designed to facilitate tracking of user acquisition, in-app events, revenue, and deep links, the SDK provides precise campaign attribution and enhanced user engagement. This guide offers comprehensive instructions for integrating and utilizing the SDK to optimize your app's performance and marketing strategies.

Key Features

  • Attribution Tracking: Accurately attribute app installs to specific marketing campaigns, enabling detailed source analysis.

  • Event Tracking: Capture built-in and custom events to gain insights into user behavior and interactions within the app.

  • Revenue Tracking: Track in-app revenue with currency support to evaluate monetization performance effectively.

  • Deep Linking: Support normal and deferred deep links to direct users to specific in-app content, improving user engagement and conversion rates.

  • User Data Integration: Pass user information (e.g., user ID, email, name, phone) to enhance personalization and correlate with Trackier analytics.

  • SDK Signing: Authenticate requests with secret ID and key to ensure data integrity and prevent unauthorized access.

  • Campaign Data Retrieval: Access detailed campaign data (e.g., ad ID, campaign name, click ID) for personalized user experiences and advanced analytics.

  • Uninstall Tracking: Monitor app uninstalls on Android using Firebase integration to gain a complete view of the user lifecycle.

Example Application

To demonstrate the Trackier Cordova SDK integration, an example app is available for reference. To explore the integration:

  1. Clone the repository containing the example project from GitHub.

  2. Navigate to the example-ionic-app directory.

  3. Install dependencies by running npm install in the project root.

  4. For Ionic Native apps, run ionic cap sync to synchronize Capacitor dependencies.

  5. Add the Trackier folder to the @awesome-cordova-plugins directory in node_modules, as detailed in the Quick Start Guide.

  6. Run the project using ionic serve or build for Android/iOS to test the integration.

Requirements

  • Cordova 9.0 or later

  • Node.js and npm for package management

  • For Ionic Native apps:

    • Ionic CLI and Capacitor for project synchronization

    • @awesome-cordova-plugins/core package

  • For Android:

    • Android API 21 (Android 5.0) or later

    • Google Play Services Ads Identifier library (version 18.0.1 or later)

    • Android Install Referrer library (version 2.2 or later)

  • For iOS:

    • iOS 10.0 or later

    • Xcode 12.0 or later

  • Trackier MMP account with access to SDK key

  • Internet connection for downloading the SDK package

Next Steps

To get started with the Trackier Cordova SDK:

  1. Integrate the SDK into your Cordova project. Refer to the Quick Start Guide section.

  2. Initialize the SDK with your SDK key. Refer to the Initialize the SDK into Your App section.

  3. Test your integration to ensure accurate tracking of installs, events, and deep links.

  4. Contact Trackier support at support@trackier.com for assistance.

For additional resources and detailed instructions, visit the Trackier Documentation Portal.