Page 1 of 1

Setting up dynamic remarketing on Facebook

Posted: Thu Jan 23, 2025 4:38 am
by subornaakter40
Facebook ads* can show one or more products at a time. The ad text can include a dynamic remarketing code, which will pull up information about a specific product: name, brand, price, etc.

Dynamic remarketing can be done by placing ads on Facebook* (news feed or right column), Instagram (news feed), Audience Network (websites and apps).

Dynamic remarketing is not available for formats thailand mobile phone numbers database such as Video Embed and Instant Article.

To set up dynamic remarketing on Facebook* you need to:

Create a Business Manager account.

Install the Facebook pixel* and set up event tracking.

Create a product catalog.

Installing the Facebook Pixel*
First of all, in order for dynamic remarketing to work properly, you need to set up the collection of information about page visits.

Using the "Business Manager", open the "Pixel" page and select "Create Pixel".

If the pixel was created earlier, then select “Actions” - “View pixel code”.

Installing a pixel

The code that appears must be copied and sent to the developer's email address.

Paste the copied pixel code onto the website pages (tags: <head> </head>).

Setting up event tracking
To obtain information about users who have shown interest in a product (viewed, put aside, bought), you will need to set up the following events:

fbq('track', 'ViewContent' – viewed content or product.

fbq('track', 'AddToCart' – sent the product to the "Cart".

fbq('track', 'Purchase') – purchased the product.

If any event is triggered, then data about the product that aroused the user's interest (product type, price, etc.) should be received.

Event Event name Event Description Parameters sent
fbq('track', 'ViewContent');

ViewContent

Product viewed

value, currency, content_name, content_type, content_ids, content_category

fbq('track', 'AddToCart');

AddToCart

Product in "Cart" - event sent

value, currency, content_name, content_type, content_ids, content_category

fbq('track', 'InitiateCheckout');

InitiateCheckout

The product is in the "Cart" but not paid for (unfinished transaction) - event sent.

value, currency, content_name, content_category, content_ids, num_items

fbq('track', 'Purchase');

Purchase

Item purchased (successful transaction).

value, currency, content_name, content_type, content_ids, num_items, content_category

Parameters:

Parameter name Description
value

Cost of goods

currency

Currency code of the product (UAH)

content_name

Page/product name

content_category

Page/product category

content_ids

Product identifiers (articles) associated with the event.

Important ! The identifiers must match those for which dynamic remarketing is configured (product ID in the feed)

content_type

Specify 'product' or 'product_group' based on content_ids ('product' if content_ids includes product IDs, and 'product_group' if content_ids passes product category IDs)

num_items

Used with the InitiateCheckout event. Data on the number of items in the cart at the time the transaction is completed.

The Facebook* pixel receives an event if the code is triggered. In this case, on the “Product viewed” page, the pixel is supplemented with a fragment indicating the parameters:

Specifying parameters

The screenshot shows a sample of the "Item viewed" event.

If the product is added to the cart, a similar code is triggered, but with a different event name (“AddToCart”, not “ViewContent”, as in the previous example):

fbq('track', 'AddToCart', {

content_type: 'product',

content_ids: ['1234'],

content_name: 'Pampers diapers 80pcs',

content_category: 'Diapers',

value: 200.45,

currency: 'UAH'

});

It is worth paying special attention to the order of tags.