Skip to main content
Skip table of contents

Zeta SDK Android Data Collection

image-20241107-055937.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

Application id

As part of device data

internal

Application version name

As part of device data

internal

Application version code

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

Device Manufacturer name

As part of device data

internal

OS version

As part of device data

internal

Telephonic carrier name

As part of device data

internal

Application instance id

As part of device data

internal(Generated by SDK)

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

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

For all events and properties

CODE
val config = ZTConfig(
    clientSiteId = siteId,
    clientSecret = authKey
)
 ZetaClient.initialize(this, config)
  • color

  • smallIcon

  • notificationChannelId

  • notificationChanelName

  • notificationChanelDescription

Configuring notification channel and default values

CODE
      val pushConfig = ZTNotificationConfig(
          color = Color.BLUE,
          smallIcon = R.drawable.ic_notification,
          notificationChannel = ZTNotificationChannel(
              id = "ApplicationTestChannel",
              name = "Application Test Channel",
              description = "Test Channel Description",
          )
      )
      ZTPush.setNotificationConfig(pushConfig)

Data Passed by Application

property names

Scope

SDK Method

appSetId

As part of device data

ZetaClient.user.setAppSetId(id)

advertisementId

As part of device data

ZetaClient.userManager.setAdvertisementId(id)

  • User Id

  • Name

    • First Name

    • Last Name

  • email

  • phone

  • signedUp date

User property

ZetaClient.userManager.builder().setUid(id).submit()

Application Screen Name

Application specific

ZetaClient.event.trackScreenName(screenName = screenName)

User location

Application specific

CODE
ZetaClient.event.trackLocation(
    latitude = latitude.value.toDoubleOrNull() ?: 0.0,
    longitude = longitude.value.toDoubleOrNull() ?: 0.0,
    isForeground = isForeGround.value
)

DeviceToken

As part of device data

If the application uses the SDK for push service(ZTPushService), the device token will be automatically captured.
ZetaClient.user.updatePushToken(token)

JavaScript errors detected

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

If this problem persists, please contact our support.