Amplitude · Schema
AttributionEvent
AttributionEvent schema from Amplitude Attribution API
A/B TestingAnalyticsExperimentationFeature FlagsProduct AnalyticsUser Behavior
Properties
| Name | Type | Description |
|---|---|---|
| user_id | string | The user ID to attribute the campaign event to. Required unless device_id is present. |
| device_id | string | The device ID. Required unless user_id is present. |
| event_type | string | The type of attribution event, typically a campaign-related event such as install or re-engage. |
| platform | string | The platform of the device, such as iOS or Android. |
| os_name | string | The operating system name. |
| os_version | string | The operating system version. |
| device_brand | string | The brand of the device. |
| device_manufacturer | string | The manufacturer of the device. |
| device_model | string | The model of the device. |
| carrier | string | The carrier of the device. |
| country | string | The country of the user. |
| region | string | The region or state of the user. |
| city | string | The city of the user. |
| language | string | The language setting of the user. |
| adid | string | The Google Play Services advertising ID (Android). |
| idfa | string | The Identifier for Advertiser (iOS). |
| idfv | string | The Identifier for Vendor (iOS). |
| user_properties | object | User property operations to set alongside the attribution event. Typically used to set campaign-related properties like utm_source, utm_medium, utm_campaign, utm_term, and utm_content. |
| event_properties | object | Additional properties associated with the attribution event such as campaign name, ad group, ad creative, and network. |
| time | integer | The timestamp of the event in milliseconds since epoch. |