Skip to main content
The Zeotap Android SDK (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 from https://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 properties
  • setPageProperties — screen-level context attached to subsequent events
  • setUserProperties — current snapshot of user attributes
  • setUserIdentities / unsetUserIdentities — identifiers used to stitch events to profiles
  • setConsent — user consent signals
  • pauseCollection / 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)
See Create an Android SDK Source to create the Source and obtain your 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.
Last modified on June 22, 2026