This article is also available in:
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

A. Creating a Facebook pixel
B. Generating an Access token for Conversions API
C. Set up Facebook Pixel in ShopBase
D. Set up Conversions API in ShopBase
E. Troubleshoot duplicate events
F. Facebook pixel 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. Set up Facebook Pixel in ShopBase

Walkthrough:

After a Facebook Pixel has been created, you can attach it to your ShopBase store with these steps:

Log into your Business Manager Accounts in Facebook Events Manager.

Select the Pixel you want to attach to your ShopBase store.



Go to Settings section in that Pixel. Here, you can see the Pixel ID.



Copy this Pixel ID.

From ShopBase dashboard, go to Online Store >> Preferences.

Go to Facebook Pixel & Conversions API.



Here, you can paste the Pixel ID that you have previously copied in step 4.

Click Save.

Note:

You can attach multiple Facebook Pixel IDs into your ShopBase online store. These Pixel IDs are separated by commas or new lines.

After you add the pixel to your online store, you can make sure that it's working by using Facebook Ads Manager. Learn about how to tell if your Facebook pixel is working from the Facebook Help Center.

If you've recently added a Facebook pixel to your online store, then you need to wait for customer activity before you'll see any data in Facebook Ads Manager.

D. Set up Conversions API in ShopBase

Walkthrough:

After generating an Access token, you can attach it to ShopBase with these steps:

Copy the specific Access token for your Pixel in Facebook Events Manager.



From ShopBase dashboard, go to Online Store >> Preferences.

Go to Facebook Pixel & Conversions API.



Paste the Access token next to its Pixel ID in this format Pixel ID/**Access token**

For example:
Your Pixel ID is 12345678
Access Token of Pixel is QWERTY

Your combination of Pixel ID/Access Token should be 12345678/QWERTY

Click Save.

Note:

An access token must be linked to its designated Pixel ID.

You can attach multiple pairs of Pixel ID/Access token into your ShopBase store. These pairs are separated by commas or new lines.

E. Troubleshoot duplicate events

Purchase event are logged using your website's source code, if you have 'Track Events Automatically Without Code' function turn on, this leads to duplicate events being received and may affect the accuracy of your pixel reporting.

To turn automatic events off:

Go to Events Manager.



Select your pixel.
Click Settings.



Click to toggle OFF the Track Events Automatically Without Code feature under Event Setup.



Select Stop Tracking and Confirmed (additional)



Go to Overview >> Purchase >> Manage >> Click on the trash can icon >> Delete (additional)



F. 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
Search: When a visitor makes a search
ViewContent: When a visitor views a page, for example a product page
AddToCart: When a visitor adds a product to the shopping cart
InitiateCheckout: When a visitor clicks on the checkout button
AddPaymentInfo: When a visitor enters payment information in the checkout
Purchase: When a customer completes a purchase and views the thank you page in the checkout

Custom events
CheckoutButtonClicked: When a visitor clicks Checkout Button on Cart Drawler or Cart Page
AddShippingInfo: When a visitor finishes step 1 and click button Continue to Shipping method. (Only in 3-step checkout layout)
SelectShippingMethod: When a visitor finishes step 2 and click button Continue to Payment method (only in 3-step checkout layout)
UseCouponCode: When user applies coupon code successfully

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.
Was this article helpful?
Cancel
Thank you!