> For the complete documentation index, see [llms.txt](https://docs.sprinthub.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sprinthub.com/en/strategies/meta-business/meta-ads/conversions-api-parameters.md).

# Conversions API Parameters

The **Meta Conversions API (CAPI)** allows events to be sent directly from the server to Meta, ensuring greater accuracy in measurement and campaign optimization, even in the face of limitations such as cookie blocking, ad blockers, or browser restrictions.

The **Conversions API parameters** are essential for Meta to correctly use events in **ad delivery and results attribution**.

***

### What are the Conversions API parameters?

The parameters include **all required event data** and other additional data that the Conversions API uses to:

* Ad delivery optimization
* Correct conversion attribution
* Improvement of event quality (Event Match Quality)
* Better campaign performance

Currently, the Conversions API is compatible with events from:

* 💬 **Messages for businesses**
* 🌐 **Web**
* 📱 **Apps**
* 🗂 **Offline events**

***

### Required parameters according to event type

#### Website events (Web)

Events sent through the Conversions API for **websites** require the following:

* `client_user_agent`
* `action_source`
* `event_source_url`

These parameters help improve the quality of events used in ad delivery and can significantly improve campaign performance.

***

#### Non-web events (App, Offline, Messages)

For events that **are not web-based**, only the following is required:

* `action_source`

📌 **Important:**\
By using the Conversions API, you agree that the value entered in the parameter `action_source` be **accurate and consistent with the actual source of the event**, to the best of your knowledge.

***

### Main body parameters (Payload)

| Parameter         | Description                             |
| ----------------- | --------------------------------------- |
| `date`            | List of sent events                     |
| `test_event_code` | Code used for testing in Events Manager |

***

### Customer information parameters (User Data)

These parameters are used for **user identification and matching**. Whenever indicated, **SHA-256 hashing is required**.

#### Data requiring hashing

| Parameter | Description   |
| --------- | ------------- |
| `in`      | Email         |
| `ph`      | Phone number  |
| `fn`      | First name    |
| `ln`      | Last name     |
| `ge`      | Gender        |
| `db`      | Date of birth |
| `ct`      | City          |
| `st`      | State         |
| `zp`      | Postal code   |
| `country` | Country       |

***

#### Recommended or non-hashed data

| Parameter             | Description           | Hash        |
| --------------------- | --------------------- | ----------- |
| `external_id`         | Contact external ID   | Recommended |
| `client_ip_address`   | Client IP address     | ❌           |
| `client_user_agent`   | User agent            | ❌           |
| `fbc`                 | Click ID              | ❌           |
| `fbp`                 | Browser ID            | ❌           |
| `subscription_id`     | Subscription ID       | ❌           |
| `fb_login_id`         | Facebook login ID     | ❌           |
| `lead_id`             | Lead ID               | ❌           |
| `page_id`             | Page ID               | ❌           |
| `page_scoped_user_id` | Page-scoped user ID   | ❌           |
| `ctwa_clid`           | Click ID for WhatsApp | ❌           |
| `ig_account_id`       | Instagram account ID  | ❌           |
| `ig_sid`              | Instagram click ID    | ❌           |

#### Exclusive parameters for App

| Parameter | Observation               |
| --------- | ------------------------- |
| `anon_id` | Valid only for app events |
| `madid`   | Mobile advertiser ID      |

***

### Server event parameters

| Parameter                         | Description           |
| --------------------------------- | --------------------- |
| `event_name`                      | Event name            |
| `event_time`                      | Event timestamp       |
| `user_data`                       | Customer data         |
| `custom_data`                     | Custom data           |
| `event_source_url`                | Source URL            |
| `opt_out`                         | User consent          |
| `event_id`                        | Unique event ID       |
| `action_source`                   | Event source          |
| `data_processing_options`         | Processing options    |
| `data_processing_options_country` | Country               |
| `data_processing_options_state`   | State                 |
| `referrer_url`                    | Referrer URL          |
| `customer_segmentation`           | Customer segmentation |

***

### App data parameters

| Parameter                      |
| ------------------------------ |
| `advertiser_tracking_enabled`  |
| `application_tracking_enabled` |
| `extinfo`                      |
| `campaign_ids`                 |
| `install_referrer`             |
| `installer_package`            |
| `url_schemes`                  |
| `windows_attribution_id`       |
| `anon_id`                      |
| `madid`                        |
| `vendor_id`                    |

📌 **Note:**\
See the official documentation for the **Meta Conversions API for app events** for details on correct integration, supported parameters, and best practices.\
🔗 <https://developers.facebook.com/docs/marketing-api/conversions-api/app-events>

***

### Standard parameters

Meta provides a complete list of **standard parameters** that can be sent in events. Some examples:

* `event_name`
* `event_time`
* `order_id`
* `event_id`

***

### Original Event Data Parameters

The original event data parameters include:

* `event_name`
* `event_time`
* `order_id`
* `event_id`

They are essential for **deduplication** and correct attribution when used together with the Pixel.

***

## Standard parameters <a href="#par-metros-padr-o" id="par-metros-padr-o"></a>

This table lists all standard parameters that users can send to Meta.

<table><thead><tr><th width="138.454345703125">Website</th><th width="155.54168701171875">App</th><th width="134.23779296875">Offline</th><th>Description</th></tr></thead><tbody><tr><td><code>availability</code></td><td><code>fb_availability</code></td><td><code>availability</code></td><td>The value must be <code>available_soon</code>, <code>for_rent</code>, <code>for_sale</code>, <code>off_market</code>, <code>recently_sold</code> or <code>sale_pending</code>.</td></tr><tr><td><code>body_style</code></td><td><code>fb_body_style</code></td><td><code>body_style</code></td><td>Vehicle body style: <code>CONVERTIBLE</code>, <code>COUPE</code>, <code>HATCHBACK</code>, <code>MINIVAN</code>, <code>TRUCK</code>, <code>SUV</code>, <code>SEDAN</code>, <code>VAN</code>, <code>WAGON</code>, <code>CROSSOVER</code> or <code>OTHER</code>.</td></tr><tr><td><code>checkin_date</code></td><td><code>fb_checkin_date</code></td><td><code>checkin_date</code></td><td>The date on which the user wants to check in, in the hotel's time zone. We accept dates in the formats <code>YYYYMMDD</code>, <code>YYYY-MM-DD</code>, <code>YYYY-MM-DDThh:mmTZD</code> and <code>YYYY-MM-DDThh:mm:ssTZD</code>.</td></tr><tr><td><code>city</code></td><td><code>fb_city</code></td><td><code>city</code></td><td>Enter the city of the location of the user's intent.</td></tr><tr><td><code>condition_of_vehicle</code></td><td><code>fb_condition_of_vehicle</code></td><td><code>condition_of_vehicle</code></td><td>The condition of the vehicle.</td></tr><tr><td><code>content_ids</code></td><td><code>fb_content_ids</code></td><td><code>content_ids</code></td><td>The content identification numbers associated with the event, such as product SKUs for items in an event of type <code>AddToCart</code>.</td></tr><tr><td><code>content_type</code></td><td><code>fb_content_type</code></td><td><code>content_type</code></td><td><p>Should be set to <code>product</code> or <code>product_group</code>:</p><ul><li>Use <code>product</code> if the keys you send represent products. The keys can be <code>content_ids</code> or <code>contents</code>.</li><li>Use <code>product_group</code> if the keys you send in <code>content_ids</code> represent product groups. Product groups are used to differentiate identical products that have variations, such as color, material, size, or print.</li></ul></td></tr><tr><td><code>contents</code></td><td><code>fb_contents</code></td><td><code>contents</code></td><td>A list of JSON objects containing the product IDs associated with the event and information about the items. Available fields: <code>id</code>, <code>quantity</code>, <code>item_price</code>, <code>delivery_category</code>.</td></tr><tr><td><code>country</code></td><td><code>fb_country</code></td><td><code>country</code></td><td>Enter the country of the location of the user's intent.</td></tr><tr><td><code>currency</code></td><td><code>fb_currency</code></td><td><code>currency</code></td><td>Required for purchase events. The currency of the <code>value</code> specified, if applicable. The value must be a valid three-digit currency code that follows the standard <a href="https://l.facebook.com/l.php?u=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FISO_4217%3Ffbclid%3DIwAR2qARpy3ufnmcEY-sVHvTzUA1AsFOsLYdNsrZP6UYAMRt6NVM5SAhfzfJg&#x26;h=AT2wos61w4pioawM1QU6fu-5sqYSRWnz5LGmpeitgfp6vDBlDgHEcsAIwp8UhenMAkroxd_Ur1s7_uPBGIHl3OlGTOwsnexiVhsARbWA5kJ17ZxAXvw7WwvZUBOr1aQ6H9vyh2qpLTjKZ6ByU32HRw">ISO 4217</a>.</td></tr><tr><td><code>delivery_category</code></td><td><code>fb_delivery_category</code></td><td><code>delivery_category</code></td><td><p>Optional for purchase events. Delivery type for a purchase event. Supported values:</p><ul><li><code>in_store</code>: the customer needs to go into the store to get the purchased product.</li><li><code>curbside</code>: the customer drives to a store and waits inside the vehicle to pick up the order.</li><li><code>home_delivery</code>: the purchase is delivered to the customer's home.</li></ul></td></tr><tr><td><code>departing_arrival_date</code></td><td><code>fb_departing_arrival_date</code></td><td><code>departing_arrival_date</code></td><td>The date and time of arrival at the destination for the outbound trip.</td></tr><tr><td><code>departing_departure_date</code></td><td><code>fb_departing_departure_date</code></td><td><code>departing_departure_date</code></td><td>The date and time the outbound trip starts.</td></tr><tr><td><code>destination_airport</code></td><td><code>fb_destination_airport</code></td><td><code>destination_airport</code></td><td>Use the official IATA code for the destination airport.</td></tr><tr><td><code>destination_ids</code></td><td><code>fb_destination_ids</code></td><td><code>destination_ids</code></td><td>If you have a destination catalog, you can associate one or more destinations from that catalog with a specific hotel event.</td></tr><tr><td><code>dma_code</code></td><td><code>fb_dma_code</code></td><td><code>dma_code</code></td><td>The code of the Designated Marketing Area (DMA) used to target offers to users.</td></tr><tr><td><code>drivetrain</code></td><td><code>fb_drivetrain</code></td><td><code>drivetrain</code></td><td>Vehicle drivetrain: <code>4X2</code>, <code>4X4</code>, <code>AWD</code>, <code>FWD</code>, <code>RWD</code>, <code>OTHER</code> or <code>NONE</code>.</td></tr><tr><td><code>exterior_color</code></td><td><code>fb_exterior_color</code></td><td><code>exterior_color</code></td><td>Exterior color.</td></tr><tr><td><code>fuel_type</code></td><td><code>fb_fuel_type</code></td><td><code>fuel_type</code></td><td>Vehicle fuel type: <code>DIESEL</code>, <code>ELECTRIC</code>, <code>FLEX</code>, <code>GASOLINE</code>, <code>HYBRID</code>, <code>PETROL</code>, <code>PLUGIN_HYBRID</code>, <code>OTHER</code> or <code>NONE</code>.</td></tr><tr><td><code>hotel_score</code></td><td><code>fb_hotel_score</code></td><td><code>hotel_score</code></td><td>An indicator that represents the relative value of this hotel for the advertiser compared to other hotels.</td></tr><tr><td><code>interior_color</code></td><td><code>fb_interior_color</code></td><td><code>interior_color</code></td><td>The interior color.</td></tr><tr><td><code>lead_event_source</code></td><td><code>lead_event_source</code></td><td><code>lead_event_source</code></td><td>The source of the lead event.</td></tr><tr><td><code>lease_end_date</code></td><td><code>fb_lease_end_date</code></td><td><code>lease_end_date</code></td><td>Specified using the ISO 8601 date format: <code>YYYY-MM-DD</code>.</td></tr><tr><td><code>lease_start_date</code></td><td><code>fb_lease_start_date</code></td><td><code>lease_start_date</code></td><td>Allows property recommendations based on date availability (using <code>available_dates_price_config</code> in the catalog) and improved user experience (using model tags).</td></tr><tr><td><code>listing_type</code></td><td><code>fb_listing_type</code></td><td><code>listing_type</code></td><td>The value must be <code>for_rent_by_agent</code>, <code>for_rent_by_owner</code>, <code>for_sale_by_agent</code>, <code>for_sale_by_owner</code>, <code>foreclosed</code>, <code>new_construction</code> or <code>new_listing</code>.</td></tr><tr><td><code>make</code></td><td><code>fb_make</code></td><td><code>make</code></td><td>The vehicle's make or manufacturer.</td></tr><tr><td><code>mileage.unit</code></td><td><code>fb_mileage.unit</code></td><td><code>mileage.unit</code></td><td>The mileage unit.</td></tr><tr><td><code>mileage.value</code></td><td><code>fb_mileage.value</code></td><td><code>mileage.value</code></td><td>The mileage value.</td></tr><tr><td><code>model</code></td><td><code>fb_model</code></td><td><code>model</code></td><td>The vehicle model.</td></tr><tr><td><code>neighborhood</code></td><td><code>fb_neighborhood</code></td><td><code>neighborhood</code></td><td>The neighborhood of interest.</td></tr><tr><td><code>net_revenue</code></td><td><code>net_revenue</code></td><td><code>net_revenue</code></td><td>The margin value of a conversion event.</td></tr><tr><td><code>num_adults</code></td><td><code>fb_num_adults</code></td><td><code>num_adults</code></td><td>The number of adults who will be staying.</td></tr><tr><td><code>num_children</code></td><td><code>fb_num_children</code></td><td><code>num_children</code></td><td>The number of children who will be staying.</td></tr><tr><td><code>num_infants</code></td><td><code>fb_num_infants</code></td><td><code>num_infants</code></td><td>The number of babies that will be accommodated.</td></tr><tr><td><code>num_items</code></td><td><code>fb_num_items</code></td><td><code>num_items</code></td><td>Use only with events <code>InitiateCheckout</code>. The number of items a user tries to buy during checkout.</td></tr><tr><td><code>order_id</code></td><td><code>fb_order_id</code></td><td><code>order_id</code></td><td>The transaction order ID as a string.</td></tr><tr><td><code>origin_airport</code></td><td><code>fb_origin_airport</code></td><td><code>origin_airport</code></td><td>Use the airport's official IATA code of departure.</td></tr><tr><td><code>postal_code</code></td><td><code>fb_postal_code</code></td><td><code>postal_code</code></td><td>Postal code.</td></tr><tr><td><code>predicted_ltv</code></td><td><code>predicted_ltv</code></td><td><code>predicted_ltv</code></td><td>The predicted total value of a conversion event.</td></tr><tr><td><code>preferred_baths_range</code></td><td><code>fb_preferred_baths_range</code></td><td><code>preferred_baths_range</code></td><td>Number of bathrooms selected in a range.</td></tr><tr><td><code>preferred_beds_range</code></td><td><code>fb_preferred_beds_range</code></td><td><code>preferred_beds_range</code></td><td>Number of bedrooms selected in a range.</td></tr><tr><td><code>preferred_neighborhoods</code></td><td><code>fb_preferred_neighborhoods</code></td><td><code>preferred_neighborhoods</code></td><td>Preferred neighborhoods.</td></tr><tr><td><code>preferred_num_stops</code></td><td><code>fb_preferred_num_stops</code></td><td><code>preferred_num_stops</code></td><td>Specify the number of stops the user is looking for.</td></tr><tr><td><code>preferred_price_range</code></td><td><code>fb_preferred_price_range</code></td><td><code>preferred_price_range</code></td><td>The preferred price range for the vehicle. Min./max.: up to 2 decimal places.</td></tr><tr><td><code>preferred_star_ratings</code></td><td><code>fb_preferred_star_ratings</code></td><td><code>preferred_star_ratings</code></td><td>A tuple of the minimum and maximum hotel star ratings that a user applies when filtering.</td></tr><tr><td><code>price</code></td><td><code>fb_price</code></td><td><code>price</code></td><td>Cost and currency of the vehicle. Format the price as the cost, followed by the <a href="https://l.facebook.com/l.php?u=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FISO_4217%3Ffbclid%3DIwAR2ULtemU7YsoTB8AJImQX-3SI6WZpHxKb3WXANzqKV00yn6PBbYGdGQmWs&#x26;h=AT0XjGjvta2KcDW38txFxP_1RA9wqUVQ5bzQv-o_sB9UE0bFV7CmZG6sfM8cS4P8Pu9HH3TT9FeaF8out5B1SO2gMgeaiAe_VstgWgdeDjjlhozGn5VmcBBWfjl4RUfpBHwPgRA4fFJIuH1XJ14ZsA">ISO currency code</a>, with a space between the amount and the currency.</td></tr><tr><td><code>product_catalog_id</code></td><td><code>product_catalog_id</code></td><td><code>product_catalog_id</code></td><td>Product catalog ID.</td></tr><tr><td><code>property_type</code></td><td><code>fb_property_type</code></td><td><code>property_type</code></td><td>Must be <code>apartment</code>, <code>condo</code>, <code>house</code>, <code>land</code>, <code>manufactured</code>, <code>other</code> or <code>townhouse</code>.</td></tr><tr><td><code>region</code></td><td><code>fb_region</code></td><td><code>region</code></td><td>State, district, or region of interest.</td></tr><tr><td><code>returning_arrival_date</code></td><td><code>fb_returning_arrival_date</code></td><td><code>returning_arrival_date</code></td><td>The date and time the return trip is completed.</td></tr><tr><td><code>returning_departure_date</code></td><td><code>fb_returning_departure_date</code></td><td><code>returning_departure_date</code></td><td>The date and time the return trip starts.</td></tr><tr><td><code>search_string</code></td><td><code>fb_search_string</code></td><td><code>search_string</code></td><td>Use only with events <code>Search</code>. A search made by a user.</td></tr><tr><td><code>state_of_vehicle</code></td><td><code>fb_state_of_vehicle</code></td><td><code>state_of_vehicle</code></td><td>Vehicle condition.</td></tr><tr><td><code>suggested_destinations</code></td><td><code>fb_suggested_destinations</code></td><td><code>suggested_destinations</code></td><td>The suggested destinations.</td></tr><tr><td><code>suggested_home_listings</code></td><td><code>fb_suggested_home_listings</code></td><td><code>suggested_home_listings</code></td><td>The suggested real estate listings.</td></tr><tr><td><code>suggested_hotels</code></td><td><code>fb_suggested_hotels</code></td><td><code>suggested_hotels</code></td><td>The suggested hotels.</td></tr><tr><td><code>suggested_jobs</code></td><td><code>fb_suggested_jobs</code></td><td><code>suggested_jobs</code></td><td>The suggested jobs.</td></tr><tr><td><code>suggested_local_service_businesses</code></td><td><code>fb_suggested_local_service_businesses</code></td><td><code>suggested_local_service_businesses</code></td><td>The suggested local service businesses.</td></tr><tr><td><code>suggested_location_based_items</code></td><td><code>fb_suggested_location_based_items</code></td><td><code>suggested_location_based_items</code></td><td>The suggested location-based items.</td></tr><tr><td><code>suggested_vehicles</code></td><td><code>fb_suggested_vehicles</code></td><td><code>suggested_vehicles</code></td><td>The suggested vehicles.</td></tr><tr><td><code>transmission</code></td><td><code>fb_transmission</code></td><td><code>transmission</code></td><td>Vehicle transmission: <code>AUTOMATIC</code>, <code>MANUAL</code>, <code>OTHER</code> or <code>NONE</code>.</td></tr><tr><td><code>travel_class</code></td><td><code>fb_travel_class</code></td><td><code>travel_class</code></td><td>Must be <code>economy</code>, <code>premium</code>, <code>business</code> or <code>first</code>.</td></tr><tr><td><code>travel_end</code></td><td><code>fb_travel_end</code></td><td><code>travel_end</code></td><td>The trip end date.</td></tr><tr><td><code>travel_start</code></td><td><code>fb_travel_start</code></td><td><code>travel_start</code></td><td>The trip start date.</td></tr><tr><td><code>trim</code></td><td><code>fb_trim</code></td><td><code>trim</code></td><td>Maximum characters: 50.</td></tr><tr><td><code>user_bucket</code></td><td><code>fb_user_bucket</code></td><td><code>user_bucket</code></td><td>The user's group.</td></tr><tr><td><code>value</code></td><td><code>_valueToSum</code></td><td><code>value</code></td><td><p>Required for purchase events or any events that use value optimization.</p><p>A numerical value associated with the event. It must represent a monetary value.</p></td></tr><tr><td><code>vin</code></td><td><code>fb_vin</code></td><td><code>vin</code></td><td>Chassis number.</td></tr><tr><td><code>year</code></td><td><code>fb_year</code></td><td><code>year</code></td><td>The vehicle's model year in the format <code>yyyy</code>.</td></tr><tr><td></td><td></td><td><code>item_number</code></td><td>Unique identifier to distinguish events within the same order or transaction.</td></tr><tr><td></td><td><code>ad_type</code></td><td></td><td>The ad type.</td></tr><tr><td></td><td><code>fb_content</code></td><td></td><td><p>A list of JSON objects containing the International Article Number (EAN), when applicable, or another product or content identifier, as well as product quantities and prices. Required: <code>id</code>, <code>quantity</code>.</p><p><br></p><p>Example: "[{\"id\": \"1234\", \"quantity\": 2,}, {\"id\": \"5678\", \"quantity\": 1,}]".</p></td></tr><tr><td></td><td><code>fb_content_id</code></td><td></td><td>International Article Number (EAN), when applicable, or other content or product identifiers. For multiple product ID numbers: for example, "[\"1234\",\"5678\"]".</td></tr><tr><td></td><td><code>fb_description</code></td><td></td><td>A string description.</td></tr><tr><td></td><td><code>fb_level</code></td><td></td><td>The level of a game.</td></tr><tr><td></td><td><code>fb_max_rating_value</code></td><td></td><td>The maximum value of a rating scale, for example, 5 on a 5-star scale.</td></tr><tr><td></td><td><code>fb_payment_info_available</code></td><td></td><td><code>1</code> for yes, <code>0</code> for no.</td></tr><tr><td></td><td><code>fb_registration_method</code></td><td></td><td>Facebook, Email, Twitter, among others.</td></tr><tr><td></td><td><code>fb_success</code></td><td></td><td><code>1</code> for yes, <code>0</code> for no.</td></tr><tr><td></td><td><code>_valueToSum</code></td><td></td><td>The numeric value of the individual event to be summed in reports.</td></tr></tbody></table>

***

### Conclusion

The Meta Conversions API parameters are essential to ensure **reliable events, better user matching, and more efficient campaigns**. A correct setup directly impacts ad performance and the quality of the analyzed data.

***

### References

This article was prepared based on Meta's official documentation on the Conversions API. For detailed technical information, updates, and advanced examples, see the sources below:

* **Conversions API Parameters**\
  🔗 <https://developers.facebook.com/docs/marketing-api/conversions-api/parameters>
* **Custom Data Parameters**\
  🔗 <https://developers.facebook.com/docs/marketing-api/conversions-api/parameters/custom-data>

📌 **Note:**\
Meta may update the parameters, validation rules, and requirements at any time. We recommend consulting the official documentation whenever there are changes in the configuration of the Conversions API or in event behavior.

***


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.sprinthub.com/en/strategies/meta-business/meta-ads/conversions-api-parameters.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
