Skip to main content

Overview

Data export is a stream of JSON objects, where each object represents a single event. Each event object consists of a common wrapper containing metadata and a data object that holds the core event information. The data.category field determines the type of event and the specific schema of the other fields within the data object.

Common Schema

These fields are present in every event, regardless of the category.

Top-Level Fields

Field PathData TypeRequiredDescriptionOrigin
arrival_tsIntegerYesUNIX timestamp indicating when the event was received by our servers.GA servers
country_codeStringYesThe country code detected from the user's IP address.GA servers
dataObjectYesThe core event payload. Its schema varies by data.category.SDK
game_idIntegerYesUnique GameAnalytics game ID.SDK
ipStringYesThe (anonymized) IP address of the user.SDK
user_metaObjectYesContains metadata related to user acquisition and lifetime value.GA servers

user_meta Object

Field PathData TypeRequiredDescriptionOrigin
user_meta.attribution_partnerStringNoThe attribution partner that provided the install data.GA servers
user_meta.cohort_monthIntegerYesUNIX timestamp for the start of the month the user was acquired.GA servers
user_meta.cohort_weekIntegerYesUNIX timestamp for the start of the week the user was acquired.GA servers
user_meta.first_buildStringYesThe build version the user first played on.GA servers
user_meta.install_adgroupStringNoThe ad group associated with the user's install campaign.GA servers
user_meta.install_campaignStringNoThe name of the user's install campaign.GA servers
user_meta.install_publisherStringNoThe publisher associated with the user's install campaign.GA servers
user_meta.install_siteStringNoThe site associated with the user's install campaign.GA servers
user_meta.install_hourIntegerYesUNIX timestamp of the user's first-seen time, truncated to the hour.GA servers
user_meta.install_tsIntegerYesUNIX timestamp of the user's first-seen time.GA servers
user_meta.is_convertingStringNo"true" if it's the first purchase for this user, otherwise "false".GA servers
user_meta.is_payingStringNo"true" if the user has ever made a purchase, otherwise "false".GA servers
user_meta.originStringYesThe acquisition source of the user (e.g., "organic").GA servers
user_meta.pay_ftIntegerNoUNIX timestamp of the user's first validated purchase.GA servers
user_meta.receipt_statusStringNoThe validation status of the receipt.GA servers
user_meta.revenueObjectNoAn object containing total user revenue, keyed by currency (e.g., "USD": 199).GA servers

Common data Fields

Field PathData TypeRequiredDescriptionOrigin
data.ab_admission_tsIntegerNoThe UNIX timestamp of when the player was first assigned to the A/B test.SDK
data.ab_idStringNoA unique identifier for the A/B test.SDK
data.ab_titleStringNoThe descriptive title of the A/B test.SDK
data.ab_variant_idStringNoThe custom ID for the test variant.SDK
data.ab_variant_nameStringNoThe custom name for the test variant.SDK
data.buildStringYesThe game version/build string.SDK
data.categoryStringYesThe category of the event. Determines the rest of the data schema.SDK
data.client_tsIntegerYesThe UNIX timestamp when the event was generated on the client's device.SDK
data.configurations_v3ArrayNoAn array of remote configuration objects applied to the user.SDK
data.connection_typeStringYesThe network connection type (e.g., "wifi", "wwan", "offline").SDK
data.country_codeStringYesThe country code of the user at the time of the event.SDK
data.custom_01StringNoCustom dimension 1.SDK
data.custom_02StringNoCustom dimension 2.SDK
data.custom_03StringNoCustom dimension 3.SDK
data.deviceStringYesThe specific device model.SDK
data.engine_versionStringNoThe version of the game engine used (e.g., "unity 2020.3.2").SDK
data.event_uuidStringYesA unique identifier generated for each individual event.SDK
data.google_aidStringNoThe Google Advertising ID.SDK
data.manufacturerStringYesThe device manufacturer.SDK
data.os_versionStringYesThe version of the operating system.SDK
data.platformStringYesThe operating system platform (e.g., "android", "ios").SDK
data.sdk_versionStringYesThe version of the GameAnalytics SDK used.SDK
data.session_idStringYesA unique identifier for the current game session.SDK
data.session_numIntegerYesThe sequential number of the user's current session.SDK
data.user_id_extStringNoAn external user identifier, if provided.SDK
data.user_idStringYesThe main GameAnalytics user identifier.SDK
data.vIntegerYesThe version of the event schema.SDK

Platform specific data Fields

When "platform": "android"

Field PathData TypeRequiredDescriptionOrigin
data.android_app_buildStringNoThe internal build or version code of the app.SDK
data.android_app_set_idStringNoThe app set ID, used for analytics across a developer's apps.SDK
data.android_app_signatureStringNoA string representing the app's cryptographic signature.SDK
data.android_app_versionStringNoThe public-facing version of the app (e.g., "1.0.1").SDK
data.android_bundle_idStringNoThe application's package name (e.g., "com.company.game").SDK
data.android_channel_idStringNoThe installation source, indicating the app store (e.g., "com.android.vending").SDK
data.google_aid_srcStringNoThe source of the advertising ID (e.g., "service").SDK
data.google_aidStringNoThe Google Advertising ID.SDK

When "platform": "ios"

Field PathData TypeRequiredDescriptionOrigin
data.ios_app_buildStringNoThe internal build number of the app.SDK
data.ios_app_versionStringNoThe public-facing version of the app from the App Store (e.g., "1.2.3").SDK
data.ios_attStringNoThe App Tracking Transparency (ATT) authorization status (e.g., 3 for 'Authorized').SDK
data.ios_bundle_idStringNoThe application's bundle identifier (e.g., com.company.appname).SDK
data.ios_idfaStringNoThe Identifier for Advertisers, available only if the user grants tracking permission.SDK
data.ios_idfvStringNoThe Identifier for Vendors, an ID shared across apps from the same developer.SDK
data.limited_ad_trackingBoolNoIndicates if the user has enabled the "Limit Ad Tracking" privacy setting.SDK

2. Category-Specific Schemas

The fields below are located within the data object and are in addition to the common data fields listed above.

user

This event is sent when a session starts.

Field PathDescriptionOrigin
No category-specific fieldsThis event only contains the common data fields.n/a

session_end

This event is sent when a session ends.

Field PathData TypeRequiredDescriptionOrigin
data.lengthIntegerYesThe duration of the session in seconds.SDK

business

This event is for real-money transactions.

Field PathData TypeRequiredDescriptionOrigin
data.event_idStringYesThe ID of the item purchased, structured as [ItemType]:[ItemID].SDK
data.amountIntegerYesThe cost of the item in the smallest unit of the currency (e.g., cents).SDK
data.amount_usdFloatNoThe amount converted to USD cents.SDK
data.currencyStringYesThe currency code (e.g., "USD").SDK
data.transaction_numIntegerYesThe session-specific, sequential number of this transaction.SDK
data.cart_typeStringYesThe type of store or cart used for the purchase.SDK
data.receipt_infoObjectYesAn object containing store validation data. See table below.SDK

data.receipt_info Object

Field PathData TypeRequiredDescriptionOrigin
data.receipt_info.storeStringYesThe app store used for the purchase (e.g., "google_play").SDK
data.receipt_info.receipt_idStringYesA unique ID for the receipt.SDK
data.receipt_info.receiptStringYesThe raw receipt data from the store, often base64 encoded.SDK
data.receipt_info.signatureStringYesThe signature data for the receipt, used for validation.SDK

resource

This event tracks the flow of in-game resources (virtual currencies, items).

Field PathData TypeRequiredDescriptionOrigin
data.event_idStringYesStructured as [FlowType]:[Currency]:[ItemType]:[ItemID].SDK
data.amountNumberYesThe number of resources gained or spent.SDK

progression

This event tracks player progress, such as completing levels or checkpoints.

Field PathData TypeRequiredDescriptionOrigin
data.event_idStringYesStructured as [Status]:[ProgressionType]:[Progression01]:[Progression02]:[Progression03].SDK
data.attempt_numIntegerNoThe number of attempts for this progression event.SDK
data.scoreIntegerNoA score achieved during the attempt.SDK

error

This event is for logging client-side game errors.

Field PathData TypeRequiredDescriptionOrigin
data.severityStringYesThe severity of the error (e.g., "critical", "error", "warning", "info").SDK
data.messageStringYesThe error message or description.SDK

design

This event is for tracking any other custom gameplay event.

Field PathData TypeRequiredDescriptionOrigin
data.event_idStringYesCustom event ID, which can be structured with colons, up to 5 (e.g., World:Stage:Action1:Action2:Action3).SDK
data.valueNumberNoAn optional numeric value associated with the event.SDK

This event tracks direct interactions with advertisements.

Field PathData TypeRequiredDescriptionOrigin
data.ad_sdk_nameStringYesThe name of the ad SDK used (e.g., "applovin").Attribution partner
data.ad_placementStringYesThe placement ID within the game where the ad was shown.Attribution partner
data.ad_typeStringYesThe type of ad shown (e.g., "rewarded_video", "interstitial").Attribution partner
data.ad_actionStringYesThe action being tracked (e.g., "request", "show", "clicked", "reward_received").Attribution partner

impression

This event tracks ad revenue impressions from mediation.

Field PathData TypeRequiredDescriptionOrigin
data.ad_network_nameStringYesThe name of the ad network that served the impression (e.g., "admob").Advertising partner
data.impression_dataObjectYesAn object containing detailed revenue data. See table below.Advertising partner

impression_data Object

Field PathData TypeRequiredDescriptionOrigin
data.ad_network_versionArrayYesAn array containing the version of the ad network's SDK.Advertising partner
data.adunit_formatStringYesThe format of the ad unit (e.g., "INTERSTITIAL").Advertising partner
data.adunit_idStringYesThe specific ad unit ID that served the impression.Advertising partner
data.currencyStringYesThe ISO 4217 currency code for the revenue.Advertising partner
data.network_class_nameStringYesThe class name of the mediation adapter.Advertising partner
data.precision_nameStringYesThe precision of the revenue data (e.g., "precise", "estimated").Advertising partner
data.precisionIntegerYesA numeric code for the precision level.Advertising partner
data.publisher_revenue_usd_centsFloatYesThe revenue in USD cents.Advertising partner
data.revenueFloatYesThe revenue generated by the impression in the specified currency.Advertising partner

health

This event tracks the technical performance of the game.

Field PathData TypeRequiredDescriptionOrigin
data.fps_data_tableArrayYesA histogram where the array index is the FPS and the value is the duration.SDK
data.valueIntegerYesA value associated with the health event (e.g., the actual FPS or memory usage).SDK
fps_quantiles_sketchStringYesA base64-encoded quantile sketch summarizing the FPS distribution.SDK