Facebook Ads and Instagram Ads
page last edited on 15 November 2017
Social feeds are a good point to attract new visitors and boost sales, Facebook Marketing being one of the most popular and efficient. If you have a Facebook account, you can start using X-Cart’s free Facebook Ads and Instagram Ads addon (formerly known as “Facebook eCommerce”) right away. This addon enables you to upload your products to Facebook Catalog and to create personalized ads that will allow reaching the right audience in the right place at the right time. Facebook ads are synchronized with Instagram and are shown there as well even if you don’t have an Instagram account.
If you do not have a Facebook account yet, you can create it at https://www.facebook.com/business.
The addon Facebook Ads and Instagram Ads uploads your products to Facebook Catalog automatically and syncs the product data always keeping the catalog up-to-date.
To make use of Facebook and Instagram ads, you will need to:
PREREQUISITES: Make sure the addon Facebook Ads and Instagram Ads is installed and enabled.
For the guides on installing or activating the addon, see the section Managing addons of this manual.
Once the addon has been activated, a new section will become available in your store’s Admin area: Sales Channels > Facebook Ads & Instagram Ads.
Also, a new setting - Add to Facebook product feed - will be added for each of the products in your store’s catalog. You will find it in the Marketing section of the product details page. Note that this setting is enabled by default. All the products with the setting Add to Facebook product feed enabled will be added automatically to the product feed and uploaded to your Facebook Catalog.
Configure the addon
You can configure the addon settings in the Facebook Ads & Instagram Ads section of the store’s Admin area (Sales Channels > Facebook Ads & Instagram Ads).
Note that this section can also be accessed via the Settings link in the My addons section:
To configure the addon, adjust the following settings:
- Frequency of Product Feed renewal (hourly/daily/weekly): Specify how often you would like your product feed to be renewed.
- Include out of stock products into feed : Enable this option if you need the out-of-stock products to be included into the feed that is submitted to Facebook and Instagram.
- Facebook Pixel ID : Specify your Facebook Pixel ID. If you do not have a Facebook Pixel ID yet, you can generate it as described at https://www.facebook.com/business/help/952192354843755. Facebook Pixel will enable the tracking of such events as View Content/Search/Add to Cart/Initiate Checkout/Purchase, and you will be able to get stats on these events to work with sales funnel, ads conversion and so on.
Be sure to save your settings by clicking Save changes.
Use the Google Product Feed addon to expand the data values that are submitted to the feed. In case the Google Product Feed addon is installed and enabled and the hidden/global/class attributes are assigned to to Google groups, the feed generated by the Facebook Adds & Instagram Ads addon will also include the hidden/global/class attribute values set up for the Google Product feed.
After the settings have been properly adjusted, you can click the Generate Product Feed button to get a link for uploading the product feed to your Facebook Catalog.
The system will take some time to generate a Product Feed URL depending on the overall store inventory. Once the process is completed, copy the Product Feed URL that has been generated and paste it into the appropriate field when specifying a source of products for your catalog (https://www.facebook.com/products/catalogs/new).
The Frequency of Product Feed renewal setting itself will not make renewals automatical. You will need to configure your server to run scheduled X-Cart tasks.
Upload Product Feed to Facebook
To upload your product feed to Facebook:
Click to create a new catalog or choose to edit an exisitng one.
At the step Add Products to Your Catalog, specify that you want to Use Data Feeds.
In the section How do you want to upload your data feed?, choose ‘Set a schedule’ and paste the Product Feed URL generated for you by X-Cart in the Data Feed URL field:
Schedule the automatic uploads and name the feed the way you like it better.
Click the Start Upload button to upload your products from X-Cart to Facebook.
After the products have been uploaded, you will see them on the Products tab.
That’s it! You can start advertising your products through Facebook.
Help make this document better
This guide, as well as the rest of our docs, are open-source and available on GitHub.