Skip to main content
Skip table of contents

iOS SDK Version 0.1.7

SDK Version: 0.1.7

Data Collected By SDK Automatically

property name

Scope

SDK method

Device Locale

As part of device data

internal

Device time zone

As part of device data

internal

App Bundle Identifier

As part of device data

internal

Application version (CFBundleShortVersionString)

As part of device data

internal

Build version (CFBundleVersion)

As part of device data

internal

SDK Version

As part of device data

internal

Notification permission status

As part of device data(authorized/not_authorized)

internal

Network type

As part of device data(wifi/mobile_data)

internal

Device model

As part of device data

internal

OS Version

As part of device data

internal

Application instance id

As part of device data

internal (Generated by ZetaSDK)

Application first launch

Application life cycle(Auto track)

internal

Application foreground state

Application life cycle(Auto track)

internal

Application background state

Application life cycle(Auto track)

internal

Application Terminate state

Application life cycle(Auto track)

internal

Event creation time

All Events

internal

Data Passed during Initialisation of SDK

property name

Scope

SDK method

  • ZMP Account site-id

  • ZMP Account client secret

  • optIn status

  • region

  • appEnvironment

  • isLoggingEnabled

Events and User properties

CODE
   let zetaConfig = ZTConfiguration(
            isLoggingEnabled: true,
            clientSiteId: "mobile-sdk",
            clientSecret: "asdasd,
            region: .US,
            appGroupId: "group.com.zetaglobal.XXX",
            optIn: true,
            appEnvironment: ZTAppEnvironment.PRODUCTION)
 ZetaClient.shared.initialize(config: zetaConfig)

Application Group Id (Optional)

Tracking notification delivered via notification extension

CODE
 let zetaConfig = ZTConfiguration(
            isLoggingEnabled: true,
            clientSiteId: Environment.clientSiteId,
            clientSecret: nil,
            region: .US,
            appGroupId: "group.com.zetaglobal.XXX",
            optIn: true,
            appEnvironment: ZTAppEnvironment.PRODUCTION)
ZetaClient.shared.initialize(config: zetaConfig)

Data Passed by Application

property name

Scope

SDK method

IDFV

As part of device data

CODE
ZetaClient.shared.user?.updateIDFV(idfv)

IDFA

As part of device data

CODE
ZetaClient.shared.user?.updateIDFA(idfa)
  • User Id

  • Name

    • First Name

    • Last Name

  • email

  • phone

  • signedUp date

  • additionalProperties

User property

CODE
 ZetaClient.shared.userBuilder?.build({ user in
   user.userId = "XYZ"
   user.name = "ABC"
  })
  • Application Screen Name

  • Application deeplink url(optional)

  • Additional properties(optional)

Application specific

CODE
ZetaClient.shared.event?.trackScreenName(screen: "User Home", deeplink: "deeplinkUrl", properties: ["key": "value"])

User location

Application specific

CODE
ZetaClient.shared.event?.trackLocation(location: ZTLocation(
            latitude: 12.933663251837913,
            longitude: 77.62168405034637,
            isForeground: true))

Device token

As part of device data

CODE
 ZetaClient.shared.user?.updateDeviceToken(token: deviceToken)

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.