Skip to main content

Universal Events and Parameters for Online Conversions API Program

LiveRamp’s Online Conversion API program utilizes unified schema parameters with a mapping system that translates our parameters to each platform’s specific ones.

This article lists the following:

  • Available event types and the platforms that support them

  • Custom data parameters for passing additional data related to the event

  • Contents parameters for passing SKU-level data

  • Required parameters for API implementation

For instructions on implementing the Online Conversions API for ATS for Web, see "Implement Online CAPI"

For instructions on implementing the Online Conversions API with ATS API calls, see "Online Conversions API Program for API Implementation".

Note

The tables in this article will continue to expand as LiveRamp works with additional platforms. Stay up-to-date by regularly checking the "Release Notes and System Information" page to be notified when a new platform is supported.

Tip

If an event or parameter is not supported by one of your enabled CAPI platforms, the event data will still be sent to other platforms that do support it.

For example, you've enabled Meta, Pinterest, Snapchat, and TikTok in your CAPI integration. You then create an Add Payment Info event, which is only supported by Meta and TikTok. When the specified event takes place, the conversion data will be sent to Meta and TikTok only.

Caution

The Trade Desk Online Conversions API connectors are currently in limited availability. If you're interested in being considered to participate, contact your LiveRamp representative.

Tips on Using This Article

Learn which information is relevant depending on your implementation method and event source.

Event Types

The table below lists the conversion events you can send, the platforms that can receive them, and the supported event source.

App-only events can only be passed through API calls, while web events can be passed via ATS.js as well as direct API calls.

Universal Key

Description

Supported Platforms

Web Event Support

App Event Support

AchieveLevel

A user reaches a certain level that you have defined in your game.

  • TikTok

  • Yahoo

X mark for lack of support

Checkmark

AchievementUnlocked

A user unlocks a certain achievement that you have defined in your app.

  • Snapchat

  • TikTok

  • Yahoo

X mark for lack of support

Checkmark

AdClick

A user clicks an ad.

  • Snapchat

  • Yahoo

Checkmark

Checkmark

AdView

A user views an ad.

  • Snapchat

  • Yahoo

Checkmark

Checkmark

AddBilling

A user configures their payment information.

  • Snapchat

  • Yahoo

Checkmark

Checkmark

AddPaymentInfo

A user adds their payment information at checkout.

  • Meta

  • Pinterest

  • TikTok

  • Yahoo

Checkmark

Checkmark

AddToCart

A user adds a product to the shopping cart.

  • Amazon

  • Meta

  • Pinterest

  • Snapchat

  • TikTok

  • The Trade Desk

  • Yahoo

Checkmark

Checkmark

AddToWishlist

A user adds a product the wishlist.

  • Meta

  • Pinterest

  • Snapchat

  • TikTok

  • The Trade Desk

  • Yahoo

Checkmark

Checkmark

AppInstall

A user installs your app.

  • Pinterest

  • Snapchat

  • TikTok

  • Yahoo

X mark for lack of support

Checkmark

AppOpen

A user opens your app.

  • Snapchat

  • TikTok

  • Yahoo

X mark for lack of support

Checkmark

ApplicationApproval

An application submitted by a user is approved.

  • TikTok

  • Yahoo

Checkmark

X mark for lack of support

Checkout

A user is ready to check out an order in your app.

  • TikTok

  • Yahoo

X mark for lack of support

Checkmark

CompleteRegistration

A user signs up or creates an account by completing a registration form.

  • Amazon

  • Meta

  • Pinterest

  • Snapchat

  • TikTok

  • Yahoo

Checkmark

Checkmark

CompleteTutorial

A user completes a tutorial.

  • TikTok

  • Snapchat

  • Yahoo

X mark for lack of support

Checkmark

Contact

A user contacts your business via chat, email, telephone, etc,

  • Amazon

  • Meta

  • TikTok

  • The Trade Desk

  • Yahoo

Checkmark

X mark for lack of support

ConvertedLead

A user completes a step in the (pre-defined) lead conversion process.

  • Yahoo

Checkmark

Checkmark

CreateGroup

A user creates a group or team in your game.

  • TikTok

  • Yahoo

X mark for lack of support

Checkmark

CreateRole

A user creates a role or character in your game.

  • TikTok

  • Yahoo

X mark for lack of support

Checkmark

CustomizeProduct

A user customizes a product.

  • Meta

  • TikTok

  • Yahoo

Checkmark

X mark for lack of support

Donate

A user donates to your organization or a cause.

  • Meta

  • Yahoo

Checkmark

Checkmark

Download

A user downloads something from your websites.

  • TikTok

  • Yahoo

X mark for lack of support

X mark for lack of support

Engagement

A user performs an action that indicates engagement.

  • Yahoo

Checkmark

Checkmark

FindLocation

A user searches for a location on your website, such as looking for the location of a physical store.

  • Meta

  • TikTok

  • The Trade Desk

  • Yahoo

Checkmark

X mark for lack of support

GenerateLead

A user leaves contact information, such as a phone number or email, in your app.

  • TikTok

  • Yahoo

X mark for lack of support

Checkmark

ImportedLead

A user has been qualified as a lead from an external source.

  • Yahoo

Checkmark

Checkmark

InAppAdClick

A user clicks on an advertisement displayed in your app.

  • TikTok

  • Yahoo

X mark for lack of support

Checkmark

InAppAdImpr

A user views an advertisement displayed in your app.

  • TikTok

  • Yahoo

X mark for lack of support

Checkmark

InitiateCheckout

A user starts the checkout flow to purchase items.

  • Amazon

  • Meta

  • Pinterest

  • Snapchat

  • TikTok

  • The Trade Desk

  • Yahoo

Checkmark

X mark for lack of support

Invite

A user invites another user.

  • Snapchat

  • Yahoo

Checkmark

Checkmark

JoinGroup

A user joins a group or team in your game.

  • TikTok

  • Yahoo

X mark for lack of support

Checkmark

Lead

A user completes a form (sign up) to get more information.

  • Meta

  • Pinterest

  • Amazon

  • Yahoo

Checkmark

Checkmark

LevelComplete

A user completes a level.

  • Snapchat

  • Yahoo

Checkmark

Checkmark

ListView

A user views a list.

  • Snapchat

  • Yahoo

Checkmark

Checkmark

LoanApplication

A user applies for a loan in your app.

  • TikTok

  • Yahoo

X mark for lack of support

Checkmark

LoanApproval

A user receives approval for a loan in your app.

  • TikTok

  • Yahoo

X mark for lack of support

Checkmark

LoanDisbursal

A user successfully receives a loan in your app.

  • TikTok

  • Yahoo

X mark for lack of support

Checkmark

Login

A user logs into your app.

  • Snapchat

  • TikTok

  • The Trade Desk

  • Yahoo

X mark for lack of support

Checkmark

Other

A user performs actions that don't fit the definition of the standard conversion types.

  • Amazon

  • Yahoo

X mark for lack of support

Checkmark

OutboundClick

A user clicks on a link to an external website.

  • Yahoo

Checkmark

Checkmark

PageView

When a user visits a product or article page.

  • Amazon

  • Meta

  • Pinterest

  • Snapchat

  • TikTok

  • The Trade Desk

  • Yahoo

Checkmark

Checkmark

Purchase

A user completes the checkout flow or a purchase.

  • Amazon

  • Meta

  • Pinterest

  • Snapchat

  • TikTok

  • The Trade Desk

  • Yahoo

Checkmark

Checkmark

QualifiedLead

A user performs an action that qualifies them as a lead.

  • Yahoo

Checkmark

Checkmark

Rate

A user rates a product or a service.

  • Snapchat

  • Yahoo

Checkmark

Checkmark

Registration

A user registers in your app.

  • TikTok

  • Yahoo

X mark for lack of support

Checkmark

RequestQuote

A user requests a quote.

  • Yahoo

Checkmark

Checkmark

Reserve

A user makes a reservation.

  • Snapchat

  • Yahoo

Checkmark

Checkmark

Save

A user saves content, product, or offer to revisit later.

  • Snapchat

  • Yahoo

Checkmark

Checkmark

Schedule

A user schedules an appointment to visit your business.

  • Meta

  • TikTok

  • Yahoo

Checkmark

X mark for lack of support

SearchCategory

A user searches for a category.

  • The Trade Desk

  • Yahoo

Checkmark

Checkmark

Search

A user searches or uses the search bar.

  • Amazon

  • Meta

  • Pinterest

  • Snapchat

  • TikTok

  • The Trade Desk

  • Yahoo

Checkmark

Checkmark

Share

A user shares content such as posts, products, or promotions.

  • Snapchat

  • Yahoo

Checkmark

Checkmark

SpentCredits

A user spends credits, such as in-app currency, in your app.

  • Snapchat

  • TikTok

  • Yahoo

X mark for lack of support

Checkmark

StartTrial

A user begins a free trial to use a product or service your business offers

  • Meta

  • Snapchat

  • TikTok

  • Yahoo

Checkmark

Checkmark

StoreSale

A user makes a purchase at your physical store.

  • Yahoo

Checkmark

Checkmark

StoreVisit

A user physically visits your store

  • Yahoo

Checkmark

Checkmark

SubmitApplication

A user applies for something that your business offers.

  • Meta

  • TikTok

  • Amazon

  • Yahoo

Checkmark

X mark for lack of support

SubmitForm

A user submits a form or application.

  • TikTok

  • Yahoo

Checkmark

Checkmark

Subscribe

A user subscribes to content on your website, including paid subscription.

  • Amazon

  • Meta

  • Pinterest

  • Snapchat

  • TikTok

  • Yahoo

Checkmark

Checkmark

ViewCategory

A user views a product category page.

  • Pinterest

  • Yahoo

Checkmark

Checkmark

ViewCart

A user views the contents of the shopping cart.

  • The Trade Desk

  • Yahoo

Checkmark

Checkmark

ViewContent

A user visits a specific page related to your business, such as a product page or landing page.

  • Meta

  • Pinterest

  • Snapchat

  • TikTok

  • The Trade Desk

  • Yahoo

Checkmark

Checkmark

WatchVideo

A user watches a video.

  • Pinterest

  • Yahoo

Checkmark

Checkmark

Custom Data

Parameters marked as "Recommended" mean that including them will help create more accurate and higher quality conversion data. Parameters marked as "Optional" mean that including them can provide more context in your conversion data.

We highly suggest including as many recommended parameters as possible when you set up your event in Console or when you are constructing you request payload.

For API implementations, you can pass the following data as part of the custom_data object for both web or app events. For ATS for Web (ATS.js) implementations, you can include the parameters by enabling "Add Custom Data Parameters" in your event's setting.

Universal Key

Description

Recommendation

Supported Platforms

content_ids

Array of string

The product IDs (or SKUs) associated with the event.

Optional

  • Meta

  • Pinterest

  • Snapchat

  • TikTok

content_category

Array of string

The category of the product.

Optional

  • Meta

  • Pinterest

  • Snapchat

content_name

Array of string

The name of the product.

Optional

  • Meta

  • Pinterest

  • Snapchat

content_type

Array of string

Used to indicate what the keys the content IDs represent; individual items or multiple items in group.

Optional

  • Meta

  • Snapchat

  • TikTok

currency

Array of string

ISO 4217 code of the currency associated with the value.

Required for Purchase events

  • Amazon

  • Meta

  • Pinterest

  • Snapchat

  • TikTok

  • The Trade Desk

  • Yahoo

email

Array of string

The user's email address.

Recommended

  • Meta

num_items

Array of string

The number of items the user has during checkout.

Optional

  • Amazon

  • Meta

  • Pinterest

  • Snapchat

  • TikTok

order_id

Array of string

A string of ID for this specific transaction.

Optional

  • Meta

  • Pinterest

  • Snapchat

  • TikTok

  • The Trade Desk

  • Yahoo

description

Array of string

A string description of the product.

Optional

  • TikTok

phone_number

Array of string

The user's phone number.

Recommended

  • Meta

predicted_ltv

Array of string (stringified float)

The predicted lifetime value of a conversion event.

Optional

  • Meta

  • Snapchat

search_string

Array of string

The text that was used for the search event.

Optional

  • Meta

  • Pinterest

  • Snapchat

  • TikTok

value

Array of string (stringified float)

Total value of items with item_price attribute within the "contents" object (i.e. basket-level value).

Required for Purchase events

  • Amazon

  • Meta

  • Pinterest

  • Snapchat

  • TikTok

  • The Trade Desk

  • Yahoo

content_brand

Array of string

The brand associated with the content ID.

Optional

  • Pinterest

event_tag

Array of string

Custom event set label.

Optional

  • Snapchat

shop_id

Array of string

The shop ID.

Optional

  • TikTok

first_name

Array of string

The user's first name.

Recommended

  • Meta

last_name

Array of string

The user's last name.

Recommended

  • Meta

zip_code

Array of string

The user's zip code.

Recommended

  • Meta

  • The Trade Desk

date_of_birth

Array of string

The user's date of birth.

Recommended

  • Meta

gender

Array of string

The user's gender.

Recommended

  • Meta

  • Pinterest

  • Snapchat

city

Array of string

The city associated with the event.

Recommended

  • Meta

  • Pinterest

  • Snapchat

  • TikTok

  • The Trade Desk

country

Array of string

The country associated with the event.

Recommended

  • Amazon

  • Meta

  • Pinterest

  • Snapchat

  • TikTok

  • The Trade Desk

  • Yahoo

state

Array of string

The state associated with the event.

Recommended

  • Meta

  • Pinterest

  • Snapchat

  • TikTok

  • The Trade Desk

  • Yahoo

fb_login_id

Array of string

The ID issued by Meta when a person first logs into an instance of an app. This is also known as App-Scoped ID.

Optional

  • Meta

lead_id

Array of string

The ID associated with a lead.

Optional

  • Meta

  • Snapchat

subscription_id

Array of string

The subscription ID of the user in the event.

Optional

  • Meta

  • Snapchat

anon_id

App events only

Array of string

Unique application install ID.

Optional

  • Meta

  • Snapchat

limited_data_use

Array of string

Data processing options to enable for specific events. You can set this parameter to help comply with various US state privacy regulations.

Optional

  • Amazon

  • Meta

  • Pinterest

  • Snapchat

  • TikTok

  • Yahoo

Content Properties

Include the optional parameters in the following table to provide more context on every individual item in an event.

For API implementations, you can pass the following data as part of the contents object. For ATS for Web implementations, you can include the parameters by enabling "Add Contents" in your event setting.

Universal Key

Description

Supported Platforms

item_id

Required if contents is used

array of string

Unique ID of the individual item.

  • Meta

  • Pinterest

  • Snapchat

  • TikTok

  • The Trade Desk

  • Yahoo

item_price

array of string (stringified float)

Price of the individual item.

  • Meta

  • Pinterest

  • Snapchat

  • TikTok

  • The Trade Desk

  • Yahoo

item_quantity

array of string (stringified integer)

Quantity of the individual item.

  • Meta

  • Pinterest

  • Snapchat

  • TikTok

  • The Trade Desk

  • Yahoo

item_name

array of string

Name of the individual item or page.

  • Pinterest

  • TikTok

  • The Trade Desk

  • Yahoo

item_brand

array of string

Brand of the individual item.

  • Meta

  • Pinterest

  • Snapchat

  • TikTok

  • Yahoo

item_brand_id

array of string

Brand ID of the individual item.

  • Pinterest

item_category

array of string

Product category of an individual item.

  • Pinterest

  • TikTok

  • The Trade Desk

  • Yahoo

item_subcategory

array of string

Sub-category of an individual item.

  • Yahoo

Additional Parameters for API Implementations

Customers calling the CAPI connector API should pass additional event and user-level data in their request payload to ensure events can be accurately matched to ad exposures, and support reliable measurement and optimization.

  • Do not send conversions that occurred more than 7 days ago.

  • Do not send conversions with a conversion date in the future.

Note

For ATS.js implementations, the data below would be provided by customers directly in Console or automatically obtained and passed by ATS.js.

Required Event Data

When sending web and app events via API calls, you are required to include all the parameters below in your request payload.

Parameter Name

Universal Key

Description

Event Name

string

event_name

The event type key from the list all universal event types.

Event ID

string

event_id

A unique string that identifies the event and can be used for deduplication between events.

Event Time

integer

event_time

  • The date/time of event in Unix timestamp in seconds

    For example: 1756425600

  • Must not be in the future.

  • Must not be more than 7 days ago.

Event Source URL

string

event_source_url

The browser URL when the event happened.

Event Source

string

event_source

Where the event occurred, value must be set to either web or app.

User Data Keys

When sending web and app events via API calls, we recommend always adding the following identifier data to enrich your events and improve match rates. Especially with upper-funnel events such as Page View, View Content, or Search, which often lack identifiers.

Universal Key

Description

Applicable for Web Events

Applicable for App Events

envelope

string

Identity envelope value. If pulled from storage, the value must be Base64-decoded before sending.

Checkmark

Checkmark

fb_envelope

string

Facebook-scoped envelope value. If pulled from storage, the value must be Base64-decoded before sending.

Checkmark

Checkmark

gaid

string

Advertising identifier for Android devices.

X mark for lack of support

Checkmark

idfa

string

Advertising identifier for iOS devices.

X mark for lack of support

Checkmark

idvf

string

Vendor identifier assigned to apps on iOS devices.

X mark for lack of support

Checkmark

user_agent

string

The user agent from the user's device where the event occurred.

Caution

If the user_agent parameter is not present in your API payload, the adapter retrieve user agent from the request header.

Checkmark

Checkmark

ip_address

string

The IP address of the user's device.

Caution

If the ip_address parameter is not present in your API payload, the adapter will automatically retrieve IP address from the request header.

Checkmark

Checkmark

Provider Data for Web Events

When sending web events via API calls, we recommend to include the following provider data keys so platforms can directly tie each conversion back to the exact ad click or view that generated it.

Platform

Provider Data

Universal Key

Description

Meta

Facebook Click ID

fb_click

The Facebook click ID value stored in the _fbc browser cookie under your domain. Can also be found in the fbclid= URL query parameter, but requires special formatting.

See Meta's article "Managing fbc and fbp Parameters" for more info.

Facebook View ID

fb_view

The Facebook browser ID value stored in the _fbp browser cookie under your domain.

See Meta's article "Managing fbc and fbp Parameters" for more info.

Pinterest

Pinterest Click ID

pin_click

The _epik cookie value that is generated when a user clicks an ad. The value can also be found in the epik= URL query parameter.

This parameter is mapped to click_id in Pinterest.

See Pinterest’s article “Managing Click ID Parameters” for more info.

Snapchat

Snapchat Click ID

sc_click

The ID value stored in the landing page URL’s &ScCid= query parameter.

This parameter is mapped to sc_click_id in Snapchat.

See Snapchat’s article “Managing Click ID and View ID Parameters” for more info.

Snapchat View ID

sc_view

The 1st party cookie if you are using the Pixel SDK, which can be accessed by looking at the _scid value under your domain.

This parameter is mapped to sc_cookie1 in Snapchat.

See Snapchat’s article “Managing Click ID and View ID Parameters” for more info.

TikTok

TikTok Click ID

tt_click

TikTok Click ID, a data connection parameter appended to a landing page URL whenever a user clicks on an ad on TikTok. The value can be found in the ttclid cookie or the ttclid= URL parameter.

This parameter is mapped to ttclid in TikTok.

Send TikTok's article "Send TikTok Click ID" for more info.

TikTok View ID

tt_view

Cookie ID. If you also use Pixel SDK and have enabled cookies, Pixel SDK automatically saves a unique identifier in the _ttp cookie.

This parameter is mapped to ttp in TikTok.

See TikTok's article “Send TikTok Cookie” for more info.

The Trade Desk

The Trade Desk Impression ID

ttd_view

The Trade Impression ID, appended to the landing page URL at ad bid time.

Required Parameters for App Events

In addition to the required event data parameters above, customers passing app events must include additional fields about the application and device where the event occurred.

Caution

All fields are required, but only a few require values to be passed.

Use these keys to share app information with the conversions API. All fields are required, but only a few require values to be included.

Universal Key

Description

Value Required?

Supported Platforms

advertiser_tracking_enabled

boolean

Use this field to specify ATT permission on an iOS 14.5+ device. Set to 0 for disabled or 1 for enabled.

  • Field and value required

  • Meta

  • Pinterest

  • Snapchat

  • TikTok

application_tracking_enabled

boolean

Use this field to specify user's choice regarding tracking on an app level. Use 0 for disabled, 1 for enabled.

  • Field and value required

  • Meta

app_id

string

The unique ID assigned for a given application.

  • Field required

  • Value optional

  • Pinterest

  • Snapchat

  • TikTok

app_name

string

Name of the app.

  • Field required

  • Value optional

  • Pinterest

device_type

string

Type of the user device.

  • Field required

  • Value optional

  • Pinterest

device_brand

string

Brand of the user device.

  • Field required

  • Value optional

  • Pinterest

language

string

Two-character ISO-639-1 language code indicating the user's language.

  • Field required

  • Value optional

  • Pinterest

wifi

boolean

Whether the event occurred when the user device was connected to wifi.

  • Field required

  • Value optional

  • Pinterest

Pass the data below as part of the extinfo object to send device information such as screen width and height.

Universal Key

Description

Value Required?

Supported Platforms

extinfo_version

string

Device version, value can be a2 for Android and i2 for iOS.

  • Field and value required

  • Meta

  • Snapchat

app_pack_name

string

App package name.

Example: com.liveramp.sdk

  • Field required

  • Value optional

  • Meta

  • Pinterest

  • Snapchat

short_version

string

App version (short).

Example: 1.0

  • Field required

  • Value optional

  • Meta

  • Snapchat

long_version

string

App version (long).

Example: 1.0 long

  • Field required

  • Value optional

  • Meta

  • Pinterest

  • Snapchat

  • TikTok

os_version

string

The OS version.

Example: 13.4.1

  • Field and value required

  • Meta

  • Pinterest

  • Snapchat

device_model

string

Device model name.

Example: iPhone13

  • Field required

  • Value optional

  • Meta

  • Pinterest

  • Snapchat

locale

string

The device's region.

Example: En_US

  • Field required

  • Value optional

  • Meta

  • Pinterest

  • Snapchat

  • TikTok

timezone_abbr

string

Timezone abbreviation.

Example: PDT

  • Field required

  • Value optional

  • Meta

  • Pinterest

  • Snapchat

carrier

string

The device data carrier.

Example: AT&T

  • Field required

  • Value optional

  • Meta

  • Pinterest

  • Snapchat

screen_width

string

The device's screen width.

Example: 320

  • Field required

  • Value optional

  • Meta

  • Pinterest

  • Snapchat

screen_height

string

The device's screen height.

Example: 568

  • Field required

  • Value optional

  • Meta

  • Pinterest

  • Snapchat

screen_density

string

The device's screen density.

Example: 2

  • Field required

  • Value optional

  • Meta

  • Pinterest

  • Snapchat

cpu_core

string

The CPU core

Example: 2

  • Field required

  • Value optional

  • Meta

  • Pinterest

  • Snapchat

ext_storage_size

string

The external storage size in GB.

Example: 13

  • Field required

  • Value optional

  • Meta

  • Pinterest

  • Snapchat

free_space

string

The free space on the external storage in GB.

Example: 8

  • Field required

  • Value optional

  • Meta

  • Pinterest

  • Snapchat

device_timezone

string

The device's time zone.

Example: USA/New York

  • Field required

  • Value optional

  • Meta

  • Pinterest

  • Snapchat

form_factor

string

Device form factor.

Example: cellphone

  • Field required

  • Value optional

  • Pinterest

os_family

string

The device's OS family.

Example: ios

  • Field required

  • Value optional

  • Pinterest

network_type

string

The device's network type or capability.

Example: 4G, 5G

  • Field required

  • Value optional

  • Pinterest