Skip to main content

Disable Organic Tracking

Disabling organic tracking allows you to exclude non-attributed (organic) installs and events from Trackier's analytics, focusing only on campaign-driven traffic. This is useful for analyzing paid campaigns without organic data interference. Enable this feature by setting disableOrganicTracking(true) during SDK configuration.

Overview

Organic tracking records installs and events from users who find your app naturally (e.g., via Play Store searches). Disabling it ensures only campaign-attributed data is tracked:

  • Purpose: Filter out organic installs to focus on paid campaign performance.

Implementation

Configure the AppTrove SDK to disable organic tracking in your Application class by calling disableOrganicTracking(true) before initialization.

import android.app.Application;
import com.trackier.sdk.TrackierSDK;
import com.trackier.sdk.TrackierSDKConfig;
import java.util.HashMap;

public class MainApplication extends Application {
@Override
public void onCreate() {
super.onCreate();
final String TR_SDK_KEY = "XXXXXXX-XXXX-XXXX-80e3-5938fadff"; // Please pass your SDK key here.

/* While Initializing the SDK, You need to pass the three parameter in the TrackierSDKConfig.
* In First argument, you need to pass context of the application
* In second argument, you need to pass the AppTrove SDK api key
* In third argument, you need to pass the environment which can be either "development", "production" or "testing". */
TrackierSDKConfig sdkConfig = new TrackierSDKConfig(this, TR_SDK_KEY, "development");

sdkConfig.disableOrganicTracking(true); // Pass true value for disable organic tracking.

TrackierSDK.initialize(sdkConfig);
}
}