Meta Business Help Centre

Required Meta pixel events and parameters for Advantage+ catalogue ads

You must set up certain Meta pixel events and parameters in order to run Meta Advantage+ catalogue ads for products. Learn more about using the pixel to run Advantage+ catalogue ads.

To run Advantage+ catalogue ads for products, your pixel must include the following standard events:

Event nameDescription
ViewContentSomeone viewed an item in your catalogue.
AddToCartSomeone added a catalogue item to their basket on your website.
PurchaseSomeone purchased a catalogue item from your website.

These events must contain specific parameters to help us match items on your website to items in your catalogue:

Parameter nameDescriptionRequirementValue typeExample
content_typeTells Meta to receive either a specific product ID or a product group ID, which is for variants of the same product. RequiredMust be either product or product_group.product
content_idsTells Meta the specific content ID for a product or product group. The content ID must exactly match either the product ID or the product group ID for that item in your catalogue, depending on which content_type you entered. The match indicates that it's the same product or group as the one in your catalogue.You must use either content_ids or contents. Remember to always include the letter "s" at the end of content_ids.Can be either a single content ID or an array of content IDs (multiple IDs).['123','456']
contentsTells Meta the specific content ID, which must match the product ID for that item in your catalogue. If you use contents in your parameter, you must also include the following in a sub-object: the product ID or IDs, and the quantity (number of items added to basket or purchased).You must use either content_ids or contents.Must be an array of objects (content parameter, ID sub-object and quantity sub-object).[{id: '1234', quantity: 2}]

For example, if you want to know when someone adds items to their basket, you'd include the AddToCart event in your pixel code. The code will look like this:

fbq('track', 'AddToCart')

The AddToCart event code with content_ids and content_type parameters for the specific item looks like this:

fbq('track', 'AddToCart', {
  content_ids: ['1234','1853','9386'],
  content_type: 'product'
});

After you've added the required standard events and parameters to your website, you'll need to connect your pixel to a catalogue. This connection allows you to create Advantage+ catalogue ads that show people relevant items from your catalogue. Learn how to connect a pixel to a catalogue in Catalogue Manager.

Note: The parameters above are to run Advantage+ catalogue ads for products. You'll need to include different pixel event parameters for hotels, flights, destinations, autos or property ads.

PermalinkShare
Was this information helpful?

More in this section: Events

Events |

Meta pixel