This article explains how to integrate Facebook Pixel and Access Token to set up Conversions API in ShopBase, helping you create effective ads campaigns for your store.
To see more information on how to set up Facebook ads for your ShopBase online store, click this link.
In this article
B. Generating an Access token for Conversions API
C. Types of Facebook Pixel & Conversion API in ShopBase
D. Set up Universal Facebook Pixel & Conversion API
E. Set up single-item Facebook Pixel & Conversions API for products
F. Set up Single-item Facebook Pixel & Conversions API for collections
G. Troubleshoot duplicate events
A. Creating a Facebook pixel
To integrate Facebook Pixel into ShopBase, you need to create a Pixel in Facebook Events Manager. See more information on how to create a Facebook Pixel here.
B. Generating an Access token for Conversions API
To establish Conversions API ads optimization, you need to generate an Access token for each Pixel in your store. See more information on how to generate an access token here.
C. Types of Facebook Pixel & Conversions API in ShopBase
ShopBase currently supports 3 types of Facebook Pixel & Conversion API.
D. Set up Universal Facebook Pixel & Conversion API
You can attach multiple universal Facebook Pixel IDs into your ShopBase online store by clicking Add other pixel IDs.
E. Set up single-item Facebook Pixel & Conversions API for products
You can quickly add Pixel IDs and Access Tokens to your products when importing products into your store using CSV files.
When a product is cloned and imported to another ShopBase store, the original product's Pixel ID and Access Token can be preserved.
F. Set up Single-item Facebook Pixel & Conversions API for collections
You can attach only 1 single-item Facebook Pixel ID & Access Token into a product or a collection. An Access Token must be linked to its designated Pixel ID.
For the Pixel ID & Access Token attached in a product/collection to work, you must first install the Universal Pixel ID in your store.
G. Troubleshoot duplicate events
Purchase event are logged using your website's source code, if you have the Track Events Automatically Without Code
function enabled, this leads to duplicate events being received and may affect the accuracy of your pixel reporting.
To turn automatic events off:
H. Facebook pixel events
When an action happens on your online store after you've added a Facebook pixel in ShopBase, Facebook counts the action as an event. You can use event data to learn more about how customers interact with your store. Learn more about using Facebook Pixel Standard and custom events at the Facebook Help Center.
After you integrate a Facebook pixel with your online store, it automatically tracks 6 standard events and 4 custom events, with their descriptions as follows:
Standard events
Custom events
In case you want to change product ID that sent to marketing services like Facebook, you can customize product tracking id.
Facebook Pixel and Conversions API will fire events simultaneously as the buyer performs an action. Facebook will automatically deduplicate these events to make sure your report display correct data.
Since iOS 14, all apps must adhere to Apple's App Tracking Transparency Framework and all users can ask apps (including Facebook) not to track their activities while using. In response to these changes, Facebook has introduced a tracking mechanism via Conversion API to ensure uninterrupted user behavior tracking. However, with this mechanism, in some cases it can take up to 72 hours for events successfully sent from ShopBase to Facebook. Therefore, the data on Facebook might be different from ShopBase admin site. For example: You might notice the Purchase event for an order on July 25th recorded on Facebook, but cannot find the same order on July 25th in your ShopBase admin site corresponding to the real time of the event. This is because the events you see on Facebook might be recorded for the activities from the previous days (The actual time of order placement on ShopBase is July 22nd).