Skip to main content
The Zeotap iOS SDK (ZeotapCollect) is a native client-side library that tracks events, identities, and user properties from your iOS 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 dependency via Swift Package Manager or CocoaPods, initialize it with your Source’s write_key in AppDelegate, 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 iOS SDK Source created in the CDP (provides your write_key)
  • Xcode 13+ recommended; the SDK supports iOS 12+
See Create an iOS SDK Source to create the Source and obtain your write_key.

Explore the docs

Quick Start

Add the SDK to your project and initialize it.

Configuration

All CollectOption 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

ATT prompts, identity handling, brand consent, common patterns.

FAQ

Troubleshooting, accepted identifiers, contextual data.
Last modified on June 22, 2026