A product feis a detail file with products and their characteristics. The advertising system generates ads bas on it. The fe can be present in several formats: XML, CSV, TSV. You can read more about fe formats and requirements in Facebook Help .
It is important to ensure that the fe is fill in correctly, otherwise you will not be able to launch an advertising campaign. You can check the product fe for errors using a special Facebook tool . Upload data from your file, and the system will indicate errors (mark the lines in r) that ne to be correct. For example, one of the most common errors in the fe is partial filling of requir fields.
The product feed should include the following characteristics
id – unique identifier of each whatsapp data product;
title – product name;
description – product description;
availability – availability of goods. Can have the value in stock, available for order, preorder, out of stock, etc.;
condition – the condition of the product. The product can have different statuses: new, refurbished, used, etc.
price – price of the product;
link – link to the product;
image_link – link to the product image;
brand – brand.
In addition to the listed elements, we recommend filling in other fields listed in Facebook Help . The more characteristics you specify, the more relevant your ads will be.
A fe can be creat in two ways: manually or using create a data feed the site’s CMS. You can read more about each option in this article . If the fe is creat manually, then it will have to be updat in the same way. If the fe is generat using the CMS, then it will be updat automatically. This point is worth considering if your product range changes periodically.
When creating ads, Facebook Ads gets all the information from the feed. So make sure the links lead to the right product, the images match it, and there are no typos in the title and description.
Set up Facebook Pixel on your website
A pixel is a piece of code that is installed on your site and used by Facebook Ads to track user events. Let’s talk about how to generate this mobile list code in more detail.
To get started, head to the Events Manager – this is where you’ll be able to view your pixel event data later.
Setting up the Facebook Pixel
Then add data sources that will track user actions.
Adding data sources
Select “Internet” as the source.
Source: “Internet”
And connect Facebook Pixel.
Connecting Facebook Pixel
Please provide all required information (pixel name and website address):
Pixel name and website address
Facebook offers two ways to set up the pixel: adding the code to your site manually or through Facebook partners. If you work with tools like Google Tag Manager, WordPress, etc., you can choose partner integration ( full list of Facebook partners ).
We’ll tell you how to generate a pixel code manually.
How to Generate Pixel Code Manually
Copy the generated code and add it to your site. It is important that the pixel is copied entirely and written on all pages of the site.
Copy the generated code
Enable advanced matching to allow the system to track users by gender, location, and other characteristics.
Enable advanced match search
Now set up standard events – those user actions on the site that you want to track.
To launch dynamic advertising, you need to add the following events:
content viewing – the user viewed the product in the store catalog;
add to cart – the user adds a product or products to the cart;
purchase – purchase of goods on the website.
Most often, online stores are satisfied with setting up standard events. But if you want to track users by some non-standard actions or get the most complete data, you can set up additional events, for example, visiting a specific page by URL.
For standard events to work correctly, you need to specify the required parameters. Without them, Facebook Ads will not be able to receive data about your products from the catalog.
For example:
content_ids passes the ID of the product or product group to Facebook. The value of this parameter must match the ID of the product in the catalog, otherwise the system will not be able to match it correctly. Example: [‘1357’,’1470”].
contents transmits not only the ID of the product or product group, but also the quantity of the purchased product. Important: you must specify only one parameter – content_ids or contents. Example: [{id: ‘1476’, quantity: 5}], where quantity is the quantity of the product.
content_type specifies the page type. With this parameter, the system gets the ID of a specific product or product group. The values can be ‘product’ or ‘product_group’.
To track the addition of a product to the cart, you must specify the following parameters: currency and value.
Using the data that events send, the system determines what products different people are interested in and shows what is most likely to arouse the user’s interest and desire to make a purchase. You can read more about events and parameters in Facebook Help .
This is what a pixel should look like in the website code:
Pixel view in website code
Source
In the image:
The main code of the site. Please note: the pixel must be written before the closing tag </head>. If it is written below or at the end of the code, then the user information may not be considered.
Pixel code.
Event code. It must be written above the closing </script> tag for the event to be tracked correctly.
To check if the pixel code and events are installed correctly on your site, use the Facebook Pixel Helper extension .