· togohq/sdk-ios 1.0.0
New
Togo.setup() initializes the SDK with configuration options, setting up event tracking and user identification.Togo.track() allows tracking of custom events with properties, supporting up to 256 properties per event.Togo.identify() sets a unique user identifier, associating events with a specific user.Togo.setPersonProperties() updates user profile properties, including typed fields for email and name.Togo.setConsent() manages user consent states, affecting data collection and storage.Togo.getConsent() retrieves the current consent state of the user.Togo.getAnonymousId() returns the anonymous identifier used for tracking before user identification.Togo.getDeviceId() provides the device identifier used in event tracking.Togo.getSessionId() retrieves the current session identifier, if sessions are enabled.Togo.flush() sends all queued events to the server immediately.- The SDK supports offline event queuing, persisting events until they can be sent.
- Events are batched and sent with a 256 KiB limit per event and an 8 MiB queue limit.
- The SDK includes a privacy manifest declaring collected data types and purposes.
- A minimal example app demonstrates SDK setup and event tracking.
- The SDK follows semantic versioning from this release onwards.
Improved
- Semantic versioning. The public API is now stable: from this version on, a breaking change ships only in a new major version.