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’swrite_key in AppDelegate, 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 iOS SDK Source created in the CDP (provides your
write_key) - Xcode 13+ recommended; the SDK supports iOS 12+
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.