This article is also available in:
You can integrate a Facebook pixel with your online store to help you understand customer behavior and traffic. A Facebook pixel collects data about how customers are using your online store pages, so that you can more effectively plan your ad campaigns to find new customers.

Before you add a Facebook pixel to your store, you can learn more about the Facebook pixel.

On this page

A. Creating a Facebook pixel
B. Add your Facebook pixel ID to your online store preferences
C. Add multiple Facebook pixel IDs
D. Troubleshoot duplicate events
E. Facebook pixel events

A. Creating a Facebook pixel

You can create a Facebook pixel in Facebook Ads Manager. For the steps on creating a Facebook pixel, go to the Facebook Help Center.

B. Add your Facebook pixel ID(s) to your online store preferences

You can use one or many Facebook pixel IDs integrate the pixel with your online store. This integration doesn't require you to edit your online store code. Instead, you'll enter the Facebook pixel ID in your online store preferences.

Walkthrough:

From your ShopBase admin, go to Online Store > Preferences.

In the Facebook Pixel section, add your Facebook pixel ID:

If you're adding a pixel for the first time, then enter the Facebook pixel ID:



If you're changing to a new Facebook pixel from an existing one, then click Change before entering the new Facebook pixel ID.

Click Save.

After you add the pixel to your online store, then 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.

C. Add multiple Facebook pixel IDs

From your ShopBase admin, go to Online Store > Preferences.

In the Facebook Pixel section, add your Facebook Pixel IDs here and separate them by commas.



Adding many Pixel IDs on your store may result in more events are tracked. If you encounter this issue, please contact Facebook for support.

Click Save.

After you add the pixel to your online store, then 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. 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)



E. Facebook pixel events

When an action happens on your online store after you've added a Facebook pixel in ShopBase, the pixel 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.
Was this article helpful?
Cancel
Thank you!