Appfiliate Docs
appfiliate.io

Quick Start

Go from zero to tracking attributed installs in under 5 minutes.


Step 1: Create your account

Sign up at app.appfiliate.io. You can start on the free tier -- no credit card required.


Step 2: Add your app and get API credentials

In the Appfiliate dashboard, go to Settings → Apps and click Add App. Enter your app name and platform. Once created, copy the App ID and API Key -- you will need these in the next step.

Keep your credentials handy

You can always find your App ID and API Key on the app settings page in the Appfiliate dashboard at app.appfiliate.io.

Step 3: Install the SDK

Choose your platform and add the Appfiliate SDK to your project.

iOS (Swift)

In Xcode, go to File → Add Package Dependencies and enter the repository URL:

Swift Package URL
https://github.com/appfiliate/appfiliate-ios-sdk

Android (Kotlin)

build.gradle.kts
// build.gradle.kts
dependencies {
    implementation("com.github.appfiliate:appfiliate-android-sdk:1.0.0")
}

Flutter (Dart)

Terminal
flutter pub add appfiliate

React Native

Terminal
npm install appfiliate-react-native

Step 4: Add two lines of code

At your app's entry point, configure the SDK and track the install. Replace the placeholder values with the credentials from your Appfiliate dashboard.

Swift

MyApp.swift
import Appfiliate

Appfiliate.configure(appId: "YOUR_APP_ID", apiKey: "YOUR_API_KEY")
Appfiliate.trackInstall()

Kotlin

MainApplication.kt
import com.appfiliate.sdk.Appfiliate

Appfiliate.configure(this, appId = "YOUR_APP_ID", apiKey = "YOUR_API_KEY")
Appfiliate.trackInstall(this)

Dart

main.dart
import 'package:appfiliate/appfiliate.dart';

Appfiliate.configure(appId: 'YOUR_APP_ID', apiKey: 'YOUR_API_KEY');
await Appfiliate.trackInstall();

TypeScript / JavaScript

App.tsx
import { appfiliate } from 'appfiliate-react-native';

appfiliate.configure({ appId: 'YOUR_APP_ID', apiKey: 'YOUR_API_KEY' });
await appfiliate.trackInstall();

Safe to call every launch

trackInstall() is idempotent -- it only fires once per install. You can safely call it on every app launch without creating duplicate events.

Step 5: Create a tracking link and test

  1. In the Appfiliate dashboard, go to Tracking Links and create a new link.
  2. Open the link on your test device or simulator.
  3. Install and launch the app.
  4. Check the Events tab in your dashboard -- you should see the attributed install within a few seconds.

Testing tip

If you are testing on a simulator, make sure to reset the app between tests so that trackInstall() fires again.

Next steps