Intempt Docs

Android event taxonomy

Every attribute the Android SDK captures, by event, with the type it carries and whether it is required.

Overview

What the Android SDK captures, event by event.

📘 Android events are stored in collections, with names and types only

Android events are stored in event collections like the other sources: session_start, session_end, view_screen, leave_screen, app_install_upgrade, touch_event, change_event, fragment_transition, added_to_cart, removed_from_cart, product_ordered and product_viewed. A collection is shared by every source in the project, so view_screen, leave_screen, session_start, session_end and app_install_upgrade also hold iOS events. Two things set this page apart from the other sources, and both are visible below.

  • There is no Example column, because the Android schemas carry names and types only.
  • Attributes are grouped by the record the SDK sends, named above each table, together with the collection it is stored in.

The full wire record for each, envelope included, is in Android record taxonomy.

The shared envelope

Identical on every event below, so it is stated once here rather than repeated in each table: eventId, profileId, userId, sessionId, pageId and timestamp. Only eventId, profileId and timestamp always arrive.

Events

Session start

Sent as the sessionStart record, stored in the session_start collection.

AttributeTypeRequired
userAttributes.deviceTypeStringNo
userAttributes.carrierStringNo
userAttributes.platformStringNo
userAttributes.regionStringNo
userAttributes.countryStringNo
userAttributes.cityStringNo
data.sessionStartEventNameStringNo
data.deviceNameStringNo
data.sourceStringNo
data.appNameStringNo
data.appVersionStringNo
data.androidIdStringNo
sessionAttributes.advertiserIdStringNo
data.appIdentifierStringNo
sessionAttributes.androidIdStringNo

Session end

Sent as the sessionEnd record, stored in the session_end collection.

AttributeTypeRequired
userAttributes.deviceTypeStringNo
userAttributes.carrierStringNo
userAttributes.platformStringNo
userAttributes.regionStringNo
userAttributes.countryStringNo
userAttributes.cityStringNo
data.sessionStartEventNameStringNo
data.deviceNameStringNo
data.sourceStringNo
data.appNameStringNo
data.appVersionStringNo
data.appIdentifierStringNo
data.androidIdStringNo
data.sessionEndEventNameStringNo
data.sessionDurationLongNo
data.sessionEventCountLongNo

View screen

Sent as the viewScreen record, stored in the view_screen collection.

AttributeTypeRequired
data.activityStringNo
data.fullActivityStringNo
data.screenNameStringNo

Leave screen

Sent as the leaveScreen record, stored in the leave_screen collection.

AttributeTypeRequired
data.activityStringNo
data.fullActivityStringNo
data.screenNameStringNo
data.timeOnScreenDecimalNo

App install or upgrade

Sent as the appInstall record, stored in the app_install_upgrade collection.

AttributeTypeRequired
data.currentVersionCodeDecimalNo
data.previousVersionCodeDecimalNo
data.previousBuildTypeStringNo
data.currentBuildTypeStringNo
data.isUpgradeBooleanNo
data.reasonStringNo
data.deviceTokenStringNo
userAttributes.fcm_token_<sourceId>StringNo

Touch

Sent as the touch record, stored in the touch_event collection.

AttributeTypeRequired
data.targetElementStringNo
data.hierarchyStringNo
data.targetTextStringNo
data.targetClassStringNo
data.targetIdStringNo
data.fullTargetIdStringNo
data.targetValueStringNo
data.targetResourceIdStringNo

Change event

Sent as the change record, stored in the change_event collection.

AttributeTypeRequired
data.targetElementStringNo
data.hierarchyStringNo
data.targetTextStringNo
data.targetClassStringNo
data.targetIdStringNo
data.fullTargetIdStringNo
data.targetResourceIdStringNo
data.targetValueStringNo

Fragment transition

Sent as the fragmentTransition record, stored in the fragment_transition collection.

AttributeTypeRequired
data.visibleFragmentStringNo
data.addedFragmentStringNo
data.removedFragmentStringNo

Added to cart

Sent as the addedToCart record, stored in the added_to_cart collection.

AttributeTypeRequired
data.productIdStringNo
data.quantityDecimalNo

Removed from cart

Sent as the removedFromCart record, stored in the removed_from_cart collection.

AttributeTypeRequired
data.productIdStringNo
data.quantityDecimalNo

Product ordered

Sent as the productOrdered record, stored in the product_ordered collection.

AttributeTypeRequired
data.productIdStringNo
data.quantityDecimalNo
data.amountDecimalNo
data.revenueDecimalNo
data.currencyStringNo

Product viewed

Sent as the productViewed record, stored in the product_viewed collection.

AttributeTypeRequired
data.productIdStringNo

Identify

Sent as the identify record.

Carries the shared envelope only. Nothing beyond identity is captured on this event.

On this page