# Conversions API Parameters

The **Meta Conversions API (CAPI)** allows sending events 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 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
* Improving 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 via 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 enhance campaign performance.

***

#### Events that are not Web (App, Offline, Messages)

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

* `action_source`

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

***

### Main body (Payload) parameters

| Parameter         | Description                             |
| ----------------- | --------------------------------------- |
| `date`            | List of events sent                     |
| `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 with mandatory 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 unhashed data

| Parameter             | Description          | Hash        |
| --------------------- | -------------------- | ----------- |
| `external_id`         | External contact 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`           | WhatsApp click ID    | ❌           |
| `ig_account_id`       | Instagram account ID | ❌           |
| `ig_sid`              | Instagram click ID   | ❌           |

#### App-specific parameters

| Parameter | Note                         |
| --------- | ---------------------------- |
| `anon_id` | Valid only for app events    |
| `madid`   | Mobile advertiser identifier |

***

### Server event parameters

| Parameter                         | Description           |
| --------------------------------- | --------------------- |
| `event_name`                      | Event name            |
| `event_time`                      | Event timestamp       |
| `user_data`                       | Customer data         |
| `custom_data`                     | Custom data           |
| `event_source_url`                | Origin 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:**\
Refer to the official documentation of 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>

***

### Default parameters

Meta provides a complete list of **default 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 fundamental 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 intends 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>Specify the city of the user's intent location.</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 identification numbers of content associated with the event, such as product SKUs for items in an <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>Must 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 pattern.</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 that contains the IDs of products 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>Specify the country of the user's intent location.</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 should be a valid three-digit currency code that follows the <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 enter the store to collect the purchased product.</li><li><code>curbside</code>: the customer drives to a store and waits in 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 arrival date and time 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 start date and time of the outbound trip.</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 of 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 destinations 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 Designated Market Area (DMA) code 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 representing the relative value of this hotel to 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>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 improves user experience (using template 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 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 that 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 that 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 infants that will be staying.</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 <code>InitiateCheckout</code>. The number of items a user attempts to purchase 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 identification 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 official IATA code of the departure airport.</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 total predicted 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 within 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 within 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>Indicate 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 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 value 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 identification.</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 when 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 of the start of the return trip.</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 <code>Search</code>. A search performed 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>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>Suggested home listings.</td></tr><tr><td><code>suggested_hotels</code></td><td><code>fb_suggested_hotels</code></td><td><code>suggested_hotels</code></td><td>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>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>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>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>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 end date of the trip.</td></tr><tr><td><code>travel_start</code></td><td><code>fb_travel_start</code></td><td><code>travel_start</code></td><td>The start date of the trip.</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 numeric value associated with the event. 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>Vehicle identification number (VIN).</td></tr><tr><td><code>year</code></td><td><code>fb_year</code></td><td><code>year</code></td><td>The vehicle's release 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 type of ad.</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 other product/content identifiers, as well as the quantities and prices of the products. 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 IDs: e.g., "[\"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 limit of a rating scale, e.g., 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**. Proper configuration 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, consult 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 parameters, validation rules and requirements at any time. We recommend consulting the official documentation whenever there are changes to the Conversions API configuration or event behavior.

***


---

# Agent Instructions: 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:

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

The question should be specific, self-contained, and written in natural language.
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.
