Skip to main content
Skip table of contents

Android SDK Version 0.1.8

SDK Version: 0.1.8

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 through Initialization 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
val config = ZTConfig(
            clientSiteId = siteId,
            clientSecret = clientSecret,
            isLoggingEnabled = true,
            optIn = true,
            region = ZTRegion.US,
            appEnvironment = ZTAppEnvironment.PRODUCTION
        )
//Initialize method
ZetaClient.initialize(this, config)

Data Passed by Application

property names

Scope

SDK Method

appSetId

As part of device data

CODE
ZetaClient.user.setAppSetId(id)

advertisementId

As part of device data

CODE
ZetaClient.userManager.setAdvertisementId(id)
  • User Id

  • Name

    • First Name

    • Last Name

  • email

  • phone

  • signedUp date

  • additionalProperties

User property

CODE
ZetaClient.userManager.builder().setUid(id).submit()
  • Application Screen Name

  • Application deeplink url(optional)

  • Additional properties(optional)

Application specific

ZetaClient.event.trackScreenName(screenName = "ZetaDemoApp", deeplink = "deeplinkUrl", properties = mapOf("app_version" to BuildConfig.VERSION_NAME))

User location

Application specific

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

Device token

As part of device data

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

Once the token is ready and the SDK is not yet initialized:
ZetaClient.updatePushToken(applicationContext, token)

After the SDK has been initialized:
ZetaClient.user.updatePushToken(token = "token12345")


JavaScript errors detected

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

If this problem persists, please contact our support.