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 name | Description |
---|---|
ViewContent | Someone viewed an item in your catalogue. |
AddToCart | Someone added a catalogue item to their basket on your website. |
Purchase | Someone 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 name | Description | Requirement | Value type | Example |
---|---|---|---|---|
content_type | Tells Meta to receive either a specific product ID or a product group ID, which is for variants of the same product. | Required | Must be either product or product_group. | product |
content_ids | Tells 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'] |
contents | Tells 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.