zeo-collect) is a native client-side library that tracks events, identities, and user properties from your Android app. Events flow into your Zeotap CDP, where they power segmentation, calculated attributes, profile lookups, and downstream activation.
How it works
Add the SDK as a Gradle dependency fromhttps://sdk.zeotap.com/android-sdk, initialize it with your Source’s write_key in MainApplication.onCreate(), then call tracking methods from anywhere in your app:
setEventProperties— named events with arbitrary propertiessetPageProperties— screen-level context attached to subsequent eventssetUserProperties— current snapshot of user attributessetUserIdentities/unsetUserIdentities— identifiers used to stitch events to profilessetConsent— user consent signalspauseCollection/resumeCollection— temporarily suspend event capture
Prerequisites
- Access to a Zeotap CDP instance
- An Android SDK Source created in the CDP (provides your
write_key) - Android Gradle Plugin 7+ recommended; minimum SDK 21 (Android 5.0)
write_key.
Explore the docs
Quick Start
Add the dependency, initialize the SDK, send your first event.
Configuration
All
CollectOptions flags — consent, hashing, batching, country.API Reference
Every Collect method, parameter, and payload shape.
Consent Resolution
Default opt-in, GDPR TCF, and custom consent flows.
Examples
AdID handling, identity patterns, brand consent.
FAQ
Troubleshooting, accepted identifiers, contextual data.