Amplitude destination
Getting started
- Go to Data & Integrations > Integrations and select the Amplitude entry in the Directory tab.
- (Optional) Select the data sources that you want to connect to your outbound integration. You can always connect data sources later. We'll only show you data sources that work with your integration.
-
Configure your integration.
- API Key: Amplitude project API key. You can find this key in the "General" tab of your Amplitude project.
- Secret Key: Amplitude project secret key. You can find this key in the "General" tab of your Amplitude project.
- Endpoint Region: The region to send your data.
- Click Enable Destination.
Actions
When you're done setting things up, you can go to the Actions tab to see how we map incoming data to your integration.
Log Event
Default Trigger:type = "track"Send an event to Amplitude.
- adidstringDefault:
coalesce($.context.device.advertisingId, $.context.device.idfa)Google Play Services advertising ID. _(Android)_ - android_idstringAndroid ID (not the advertising ID). _(Android)_
- app_versionstringDefault:
$.context.app.versionThe current version of your application. - carrierstringDefault:
$.context.network.carrierThe carrier that the user is using. - citystringDefault:
$.context.location.cityThe current city of the user. - countrystringDefault:
$.context.location.countryThe current country of the user. - device_brandstringDefault:
$.context.device.brandThe device brand that the user is using. - device_idstringDefault:
coalesce($.context.device.id, $.anonymousId)A device identifier, like the Identifier for Vendor (IDFV) on iOS. Required unless the request includes auser_id. - device_manufacturerstringDefault:
$.context.device.manufacturerThe device manufacturer that the user is using. - device_modelstringDefault:
$.context.device.modelThe device model that the user is using. - dmastringThe current Designated Market Area of the user.
- event_idintegerAn incrementing counter to distinguish events with the same user ID and timestamp from each other. Amplitude recommends you send an event ID, increasing over time, especially if you expect events to occur simultanenously.
- event_propertiesobjectDefault:
$.propertiesAn object of key-value pairs that represent additional data to be sent along with the event. You can store property values in an array, but note that Amplitude only supports one-dimensional arrays. Date values are transformed into string values. object depth may not exceed 40 layers. - event_typestringDefault:
$.eventA unique identifier for your event. - groupsobjectGroups of users for the event as an event-level group. You can only track up to 5 groups. Note: This Amplitude feature is only available to Enterprise customers who have purchased the Accounts add-on.
- idfastringDefault:
coalesce($.context.device.advertisingId, $.context.device.idfa)Identifier for Advertiser. _(iOS)_ - idfvstringDefault:
$.context.device.idIdentifier for Vendor. _(iOS)_ - insert_idstringAmplitude will deduplicate subsequent events sent with this ID we have already seen before within the past 7 days. Amplitude recommends generating a UUID or using some combination of device ID, user ID, event type, event ID, and time.
- ipstringDefault:
$.context.ipThe IP address of the user. Use "$remote" to use the IP address on the upload request. Amplitude will use the IP address to reverse lookup a user's location (city, country, region, and DMA). Amplitude has the ability to drop the location and IP address from events once it reaches our servers. You can submit a request to Amplitude's platform specialist team here to configure this for you. - languagestringDefault:
$.context.localeThe language set by the user. - librarystringDefault:
$.context.library.nameThe name of the library that generated the event. - location_latnumberDefault:
$.context.location.latitudeThe current Latitude of the user. - location_lngnumberDefault:
$.context.location.longitudeThe current Longitude of the user. - min_id_lengthintegerAmplitude has a default minimum id length of 5 characters for
user_idanddevice_idfields. This field allows the minimum to be overridden to allow shorter id lengths. - os_namestringDefault:
$.context.os.nameThe name of the mobile operating system or browser that the user is using. - os_versionstringDefault:
$.context.os.versionThe version of the mobile operating system or browser the user is using. - platformstringDefault:
$.context.device.typePlatform of the device. - pricenumberDefault:
$.properties.priceThe price of the item purchased. Required for revenue data if the revenue field is not sent. You can use negative values to indicate refunds. - productIdstringDefault:
$.properties.productIdAn identifier for the item purchased. You must send a price and quantity or revenue with this field. - Default:
$.properties.productsThe list of products purchased, where each object in the array represents an individual product. - quantityintegerDefault:
$.properties.quantityThe quantity of the item purchased. Defaults to 1 if not specified. - referrerstringDefault:
$.context.page.referrerThe referrer of the web request. Sent to Amplitude as both last touch “referrer” and first touch “initial_referrer” - regionstringDefault:
$.context.location.regionThe current region of the user. - revenuenumberDefault:
$.properties.revenueRevenue = price quantity. If you send all 3 fields of price, quantity, and revenue, then (price quantity) will be used as the revenue value. You can use negative values to indicate refunds. Note: You will need to explicitly set this if you are using the Amplitude in cloud-mode. - revenueTypestringDefault:
$.properties.revenueTypeThe type of revenue for the item purchased. You must send a price and quantity or revenue with this field. - session_idstring(datetime)Default:
$.integrations.Actions Amplitude.session_idThe start time of the session, necessary if you want to associate events with a particular system. To use automatic Amplitude session tracking in browsers, enable Analytics 2.0 on your connected source. - timestring(datetime)Default:
$.timestampThe timestamp of the event. If time is not sent with the event, it will be set to the request upload time. - use_batch_endpointbooleanDefault:
falseIf true, events are sent to Amplitude'sbatchendpoint rather than theirhttpapievents endpoint. Enabling this setting may help reduce 429s – or throttling errors – from Amplitude. More information about Amplitude's throttling is available in their docs. - user_idstringDefault:
$.userIdA unique identifier for a user. If your call references user ID you haven't added to Amplitude yet, then the user tied to that ID will not be marked "new" until their first event. Required unless device ID is present. - user_propertiesobjectDefault:
$.traitsAn object of key-value pairs that represent additional data tied to the user. You can store property values in an array, but note that Amplitude only supports one-dimensional arrays. Date values are transformed into string values. object depth may not exceed 40 layers. - userAgentstringDefault:
$.context.userAgentThe user agent of the device sending the event. - userAgentParsingbooleanDefault:
trueEnabling this setting will set the Device manufacturer, Device Model and OS Name properties based on the user agent string provided in the userAgent field - UTM Tracking Properties
Identify User
Default Trigger:type = "identify"Set the user ID for a particular device ID or update user properties without sending an event to Amplitude.
- app_versionstringDefault:
$.context.app.versionVersion of the app the user is on. - carrierstringDefault:
$.context.network.carrierThe user's mobile carrier. - citystringDefault:
$.context.location.cityThe city in which the user is located. - countrystringDefault:
$.context.location.countryThe country in which the user is located. - device_brandstringDefault:
$.context.device.brandThe brand of user's the device. - device_idstringDefault:
coalesce($.context.device.id, $.anonymousId)A device identifier, like the Identifier for Vendor (IDFV) on iOS. Required unless the request includes auser_id. - device_manufacturerstringDefault:
$.context.device.manufacturerThe manufacturer of the user's device. - device_modelstringDefault:
$.context.device.modelThe model of the user's device. - dmastringThe Designated Market Area in which the user is located.
- groupsobjectGroups of users for the event as an event-level group. You can only track up to 5 groups. Note: This Amplitude feature is only available to Enterprise customers who have purchased the Accounts add-on.
- insert_idstringAmplitude will deduplicate subsequent events sent with this ID we have already seen before within the past 7 days. Amplitude recommends generating a UUID or using some combination of device ID, user ID, event type, event ID, and time.
- languagestringDefault:
$.context.localeLanguage the user has set on their device or browser. - librarystringDefault:
$.context.library.nameThe name of the library that generated the event. - min_id_lengthintegerAmplitude has a default minimum id length of 5 characters for
user_idanddevice_id`` fields. This field allows the minimum to be overridden to allow shorter id lengths. - os_namestringDefault:
$.context.os.nameThe mobile operating system or browser of the user's device. - os_versionstringDefault:
$.context.os.versionThe version of the mobile operating system or browser of the user's device. - payingbooleanWhether the user is paying or not.
- platformstringDefault:
$.context.device.typeThe platform of the user's device. - referrerstringDefault:
$.context.page.referrerThe referrer of a web request. Sent to Amplitude as both last touch “referrer” and first touch “initial_referrer” - regionstringDefault:
$.context.location.regionThe geographical region in which the user is located. - start_versionstringThe version of the app the user was first on.
- user_idstringDefault:
$.userIdA unique identifier for a user. If your call references user ID you haven't added to Amplitude yet, then the user tied to that ID will not be marked "new" until their first event. Required unless device ID is present. - user_propertiesobjectDefault:
$.traitsAdditional data tied to the user in Amplitude. Each distinct value appears as a user segment in Amplitude. object depth cannot not exceed 40 layers. Date values are transformed to string strings. - userAgentstringDefault:
$.context.userAgentThe user agent of the device sending the event. - userAgentParsingbooleanDefault:
trueEnabling this setting will set the Device manufacturer, Device Model and OS Name properties based on the user agent string provided in the userAgent field - UTM Tracking Properties
Map User
Default Trigger:type = "alias"Merge two users together that would otherwise have different User IDs tracked in Amplitude.
- global_user_idstringDefault:
$.userIdThe Global User ID to associate with the User ID. - min_id_lengthintegerAmplitude has a default minimum id length of 5 characters for
user_idanddevice_idfields. This field allows the minimum to be overridden to allow shorter id lengths. - user_idstringDefault:
$.previousIdThe User ID to be associated.
Group Identify User
Default Trigger:type = "group"Set or update properties of particular groups. Note that these updates will only affect events going forward.
- device_idstringDefault:
coalesce($.context.device.id, $.anonymousId)A device identifier, like the Identifier for Vendor (IDFV) on iOS. Required unless the request includes auser_id. - group_propertiesobjectDefault:
$.traitsAdditional data tied to the group in Amplitude. - group_typestringThe type of the group
- group_valuestringThe value of the group
- insert_idstringAmplitude will deduplicate subsequent events sent with this ID we have already seen before within the past 7 days. Amplitude recommends generating a UUID or using some combination of device ID, user ID, event type, event ID, and time.
- min_id_lengthintegerAmplitude has a default minimum id length of 5 characters for
user_idanddevice_idfields. This field allows the minimum to be overridden to allow shorter id lengths. - timestringDefault:
$.timestampThe timestamp of the event. If time is not sent with the event, it will be set to the request upload time. - user_idstringDefault:
$.userIdA unique identifier for a user. If your call references user ID you haven't added to Amplitude yet, then the user tied to that ID will not be marked "new" until their first event. Required unless device ID is present.
Log Purchase
Default Trigger:type = "track"Send an event to Amplitude.
- adidstringDefault:
coalesce($.context.device.advertisingId, $.context.device.idfa)Google Play Services advertising ID. _(Android)_ - android_idstringAndroid ID (not the advertising ID). _(Android)_
- app_versionstringDefault:
$.context.app.versionThe current version of your application. - carrierstringDefault:
$.context.network.carrierThe carrier that the user is using. - citystringDefault:
$.context.location.cityThe current city of the user. - countrystringDefault:
$.context.location.countryThe current country of the user. - device_brandstringDefault:
$.context.device.brandThe device brand that the user is using. - device_idstringDefault:
coalesce($.context.device.id, $.anonymousId)A device identifier, like the Identifier for Vendor (IDFV) on iOS. Required unless the request includes auser_id. - device_manufacturerstringDefault:
$.context.device.manufacturerThe device manufacturer that the user is using. - device_modelstringDefault:
$.context.device.modelThe device model that the user is using. - dmastringThe current Designated Market Area of the user.
- event_idintegerAn incrementing counter to distinguish events with the same user ID and timestamp from each other. Amplitude recommends you send an event ID, increasing over time, especially if you expect events to occur simultanenously.
- event_propertiesobjectDefault:
$.propertiesAn object of key-value pairs that represent additional data to be sent along with the event. You can store property values in an array, but note that Amplitude only supports one-dimensional arrays. Date values are transformed into string values. object depth may not exceed 40 layers. - event_typestringDefault:
$.eventA unique identifier for your event. - groupsobjectGroups of users for the event as an event-level group. You can only track up to 5 groups. Note: This Amplitude feature is only available to Enterprise customers who have purchased the Accounts add-on.
- idfastringDefault:
coalesce($.context.device.advertisingId, $.context.device.idfa)Identifier for Advertiser. _(iOS)_ - idfvstringDefault:
$.context.device.idIdentifier for Vendor. _(iOS)_ - insert_idstringAmplitude will deduplicate subsequent events sent with this ID we have already seen before within the past 7 days. Amplitude recommends generating a UUID or using some combination of device ID, user ID, event type, event ID, and time.
- ipstringDefault:
$.context.ipThe IP address of the user. Use "$remote" to use the IP address on the upload request. Amplitude will use the IP address to reverse lookup a user's location (city, country, region, and DMA). Amplitude has the ability to drop the location and IP address from events once it reaches our servers. You can submit a request to Amplitude's platform specialist team here to configure this for you. - languagestringDefault:
$.context.localeThe language set by the user. - librarystringDefault:
$.context.library.nameThe name of the library that generated the event. - location_latnumberDefault:
$.context.location.latitudeThe current Latitude of the user. - location_lngnumberDefault:
$.context.location.longitudeThe current Longitude of the user. - min_id_lengthintegerAmplitude has a default minimum id length of 5 characters for
user_idanddevice_idfields. This field allows the minimum to be overridden to allow shorter id lengths. - os_namestringDefault:
$.context.os.nameThe name of the mobile operating system or browser that the user is using. - os_versionstringDefault:
$.context.os.versionThe version of the mobile operating system or browser the user is using. - platformstringDefault:
$.context.device.typePlatform of the device. - pricenumberDefault:
$.properties.priceThe price of the item purchased. Required for revenue data if the revenue field is not sent. You can use negative values to indicate refunds. - productIdstringDefault:
$.properties.productIdAn identifier for the item purchased. You must send a price and quantity or revenue with this field. - Default:
$.properties.productsThe list of products purchased, where each object in the array represents an individual product. - quantityintegerDefault:
$.properties.quantityThe quantity of the item purchased. Defaults to 1 if not specified. - referrerstringDefault:
$.context.page.referrerThe referrer of the web request. Sent to Amplitude as both last touch “referrer” and first touch “initial_referrer” - regionstringDefault:
$.context.location.regionThe current region of the user. - revenuenumberDefault:
$.properties.revenueRevenue = price quantity. If you send all 3 fields of price, quantity, and revenue, then (price quantity) will be used as the revenue value. You can use negative values to indicate refunds. Note: You will need to explicitly set this if you are using the Amplitude in cloud-mode. - revenueTypestringDefault:
$.properties.revenueTypeThe type of revenue for the item purchased. You must send a price and quantity or revenue with this field. - session_idstring(datetime)Default:
$.integrations.Actions Amplitude.session_idThe start time of the session, necessary if you want to associate events with a particular system. To use automatic Amplitude session tracking in browsers, enable Analytics 2.0 on your connected source. - timestring(datetime)Default:
$.timestampThe timestamp of the event. If time is not sent with the event, it will be set to the request upload time. - trackRevenuePerProductbooleanDefault:
falseWhen enabled, track revenue with each product within the event. When disabled, track total revenue once for the event. - use_batch_endpointbooleanDefault:
falseIf true, events are sent to Amplitude'sbatchendpoint rather than theirhttpapievents endpoint. Enabling this setting may help reduce 429s – or throttling errors – from Amplitude. More information about Amplitude's throttling is available in their docs. - user_idstringDefault:
$.userIdA unique identifier for a user. If your call references user ID you haven't added to Amplitude yet, then the user tied to that ID will not be marked "new" until their first event. Required unless device ID is present. - user_propertiesobjectDefault:
$.traitsAn object of key-value pairs that represent additional data tied to the user. You can store property values in an array, but note that Amplitude only supports one-dimensional arrays. Date values are transformed into string values. object depth may not exceed 40 layers. - userAgentstringDefault:
$.context.userAgentThe user agent of the device sending the event. - userAgentParsingbooleanDefault:
trueEnabling this setting will set the Device manufacturer, Device Model and OS Name properties based on the user agent string provided in the userAgent field - UTM Tracking Properties
Log Event V2
Default Trigger:type = "track"Send an event to Amplitude
- addobjectIncrement a user property by a number with add. If the user property doesn't have a value set yet, it's initialized to 0.
- adidstringDefault:
coalesce($.context.device.advertisingId, $.context.device.idfa)Google Play Services advertising ID. _(Android)_ - android_idstringAndroid ID (not the advertising ID). _(Android)_
- app_versionstringDefault:
$.context.app.versionThe current version of your application. - carrierstringDefault:
$.context.network.carrierThe carrier that the user is using. - citystringDefault:
$.context.location.cityThe current city of the user. - countrystringDefault:
$.context.location.countryThe current country of the user. - device_brandstringDefault:
$.context.device.brandThe device brand that the user is using. - device_idstringDefault:
coalesce($.context.device.id, $.anonymousId)A device identifier, like the Identifier for Vendor (IDFV) on iOS. Required unless the request includes auser_id. - device_manufacturerstringDefault:
$.context.device.manufacturerThe device manufacturer that the user is using. - device_modelstringDefault:
$.context.device.modelThe device model that the user is using. - dmastringThe current Designated Market Area of the user.
- event_idintegerAn incrementing counter to distinguish events with the same user ID and timestamp from each other. Amplitude recommends you send an event ID, increasing over time, especially if you expect events to occur simultanenously.
- event_propertiesobjectDefault:
$.propertiesAn object of key-value pairs that represent additional data to be sent along with the event. You can store property values in an array, but note that Amplitude only supports one-dimensional arrays. Date values are transformed into string values. object depth may not exceed 40 layers. - event_typestringDefault:
$.eventA unique identifier for your event. - groupsobjectGroups of users for the event as an event-level group. You can only track up to 5 groups. Note: This Amplitude feature is only available to Enterprise customers who have purchased the Accounts add-on.
- idfastringDefault:
coalesce($.context.device.advertisingId, $.context.device.idfa)Identifier for Advertiser. _(iOS)_ - idfvstringDefault:
$.context.device.idIdentifier for Vendor. _(iOS)_ - insert_idstringAmplitude will deduplicate subsequent events sent with this ID we have already seen before within the past 7 days. Amplitude recommends generating a UUID or using some combination of device ID, user ID, event type, event ID, and time.
- ipstringDefault:
$.context.ipThe IP address of the user. Use "$remote" to use the IP address on the upload request. Amplitude will use the IP address to reverse lookup a user's location (city, country, region, and DMA). Amplitude has the ability to drop the location and IP address from events once it reaches our servers. You can submit a request to Amplitude's platform specialist team here to configure this for you. - languagestringDefault:
$.context.localeThe language set by the user. - librarystringDefault:
$.context.library.nameThe name of the library that generated the event. - location_latnumberDefault:
$.context.location.latitudeThe current Latitude of the user. - location_lngnumberDefault:
$.context.location.longitudeThe current Longitude of the user. - min_id_lengthintegerAmplitude has a default minimum id length of 5 characters for
user_idanddevice_idfields. This field allows the minimum to be overridden to allow shorter id lengths. - os_namestringDefault:
$.context.os.nameThe name of the mobile operating system or browser that the user is using. - os_versionstringDefault:
$.context.os.versionThe version of the mobile operating system or browser the user is using. - platformstringDefault:
$.context.device.typePlatform of the device. - pricenumberDefault:
$.properties.priceThe price of the item purchased. Required for revenue data if the revenue field is not sent. You can use negative values to indicate refunds. - productIdstringDefault:
$.properties.productIdAn identifier for the item purchased. You must send a price and quantity or revenue with this field. - Default:
$.properties.productsThe list of products purchased, where each object in the array represents an individual product. - quantityintegerDefault:
$.properties.quantityThe quantity of the item purchased. Defaults to 1 if not specified. - regionstringDefault:
$.context.location.regionThe current region of the user. - revenuenumberDefault:
$.properties.revenueRevenue = price quantity. If you send all 3 fields of price, quantity, and revenue, then (price quantity) will be used as the revenue value. You can use negative values to indicate refunds. Note: You will need to explicitly set this if you are using the Amplitude in cloud-mode. - revenueTypestringDefault:
$.properties.revenueTypeThe type of revenue for the item purchased. You must send a price and quantity or revenue with this field. - session_idstring(datetime)Default:
$.integrations.Actions Amplitude.session_idThe start time of the session, necessary if you want to associate events with a particular system. To use automatic Amplitude session tracking in browsers, enable Analytics 2.0 on your connected source. - Set these properties once or with every event depending on the key. Relevant to AJS2.
- Set these properties once or with every event depending on the key. Relevant to AJS2.
- timestring(datetime)Default:
$.timestampThe timestamp of the event. If time is not sent with the event, it will be set to the request upload time. - use_batch_endpointbooleanDefault:
falseIf true, events are sent to Amplitude'sbatchendpoint rather than theirhttpapievents endpoint. Enabling this setting may help reduce 429s – or throttling errors – from Amplitude. More information about Amplitude's throttling is available in their docs. - user_idstringDefault:
$.userIdA unique identifier for a user. If your call references user ID you haven't added to Amplitude yet, then the user tied to that ID will not be marked "new" until their first event. Required unless device ID is present. - user_propertiesobjectDefault:
$.traitsAn object of key-value pairs that represent additional data tied to the user. You can store property values in an array, but note that Amplitude only supports one-dimensional arrays. Date values are transformed into string values. object depth may not exceed 40 layers. - userAgentstringDefault:
$.context.userAgentThe user agent of the device sending the event. - userAgentParsingbooleanDefault:
trueEnabling this setting will set the Device manufacturer, Device Model and OS Name properties based on the user agent string provided in the userAgent field.