What this is
The Android SDK source is the Zeotap CDP entry point for first-party data collected from your Android and Android TV apps (including Amazon Fire TV). It pairs two components: a Source you create in the Zeotap CDP to receive events, and theZeotapCollect Android library you embed in your app. The library tracks events, page views, user identities, user properties, and consent signals, and posts them to the Source using a write_key issued at Source creation. Once data lands in the CDP, you use it to build segments, view insights, and activate audiences to downstream destinations.
Prerequisites
Before you begin, confirm the following:
- Access to the Zeotap CDP with permission to create Sources under Integrate → Sources.
- An Android project targeting API level 19 (Android 4.4) or higher.
- Gradle 4.0 or higher and Java 8 source/target compatibility.
- For apps targeting Android 13 or above, the
com.google.android.gms:play-services-adsdependency, so the SDK can retrieve the advertising ID.
Create the Source in Zeotap CDP
The Source issues thewrite_key your app authenticates with, so create it first. In the Zeotap CDP, open the Sources application under Integrate, start a new source, choose App Events as the category, and pick Android Native SDK as the data source. Enter a short descriptive name, select the upload region, and complete creation. The IMPLEMENTATION DETAILS tab then exposes the write_key and the SDK download link — keep both handy for the next step.
For the full clickpath and screenshots, see Create an Android SDK Source.
Install and initialize the SDK
IntegrateZeotapCollect through the Gradle dependency manager (recommended) or as a manual AAR. Once integrated, initialize the SDK in MainApplication.java with the write_key from the Source you created:
MainApplication in AndroidManifest.xml, and for apps targeting API 12 or higher add the AD_ID permission:
CollectOptions builder methods, and the API reference live in Implement the Android SDK Source and Introduction to Zeotap Collect Android SDK.
Verify the integration
After the SDK is initialized, fire a few test events from your app. In the Zeotap CDP, open the Source you created and check its PREVIEW tab — successful events appear there once they reach the platform. If events do not appear after your test batch is sent, work through the troubleshooting table below.Troubleshoot common integration issues
Common setup problems and where to fix them:
If none of the above resolves the symptom, contact your Zeotap customer success representative with the Source ID, the SDK version, the Android API level of the affected app, and a sample event payload from the app’s local logs (
enableLogging(true)).
FAQ
How is this page different from the Android SDK developer documentation?
How is this page different from the Android SDK developer documentation?
This page covers the Zeotap CDP side of the integration — creating the Android SDK Source and understanding how it fits into the CDP. The Android SDK developer documentation covers the library itself: installation,
CollectOptions configuration, the full API reference, consent handling, and release notes.Which Android versions does the SDK support?
Which Android versions does the SDK support?
The SDK targets API level 19 (Android 4.4) and above, including Android TV and Amazon Fire TV. For apps built against Android 13 or higher, add the
com.google.android.gms:play-services-ads dependency so the SDK can retrieve the advertising ID; on lower Android versions the SDK retrieves the ID on its own.Do I need to create the Source before installing the SDK?
Do I need to create the Source before installing the SDK?
Yes. The SDK is initialized with the
write_key that the Zeotap CDP issues when you create the Source. Without a Source, the SDK has no destination to post events to.Where do I see new versions of the SDK?
Where do I see new versions of the SDK?
All version changes are listed in the Android SDK release notes, grouped by features, changes, and fixes for each release.