AT Internet

The AT Internet dispatcher automatically dispatches events to the AT Internet SDK, including the XTOR tag when it's available.

To install simply add in your app's build.gradle:

implementation("com.batch.android:atinternet-dispatcher:3.0.1")

Once your dispatcher is installed, restart your app and you should see something like this in your logcat:

D/Batch: Batch.EventDispatcher: Adding event dispatcher: package com.batch.android.dispatcher.atinternet;
.AtInternetDispatcher

If you can't find the line in your log, it may be due to missing dependencies, be sure to add the AT Internet and/or Firebase Analytics SDKs to your project.

Batch will automatically instantiate Tracker instances using the default AT Internet configuration, automatically added in the aar you get from AT Internet. If you're not using their AAR but another distribution of the AT Internet (for example, a maven one) and would like to manually configure your Tracker in code, you can tell Batch which instance to use:

// Put this in your Application's onCreate()
AtInternetRegistrar().getDispatcher(this).setTrackerOverride(yourTrackerInstance)

Last updated

Was this helpful?