Skip to main content
Skip table of contents

Zeta SDK iOS Data Collection

image-20241107-055037.png

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

As indicated in our Apple Privacy Manifest, the Zeta iOS SDK does not currently support third-party tracking.

  • To assist ZMP users in respecting this preference, a user property is automatically created on all profiles generated by the iOS SDK called z_att_status_authorized and is always set to FALSE. This property should be used to filter out users in any Audience or Experience that is being used for targeted advertising or advertising measurement purposes.

Data Passed during Initialisation of SDK

property name

Scope

SDK method

  • ZMP Account site-id

  • ZMP Account client secret

Events and User properties

CODE
   let zetaConfig = ZTConfiguration(
            isLoggingEnabled: true,
            clientSiteId: "mobile-sdk",
            clientSecret: "asdasd,
            appGroupId: "group.com.zetaglobal.XXX")
 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,
            appGroupId: "group.com.zetaglobal.XXX")
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

User property

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

Application Screen Name

Application specific

CODE
ZetaClient.shared.event?.trackScreenName(screen: "User Home")

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.