Facebook Pixel Setup for Shopify

Shopify has native integration with Facebook Pixel (FB Pixel). It is relatively easy to create a FB Pixel and add it to your Shopify store through its settings. However, it doesn’t work in every case, and we have been reported many times on various problems.

While correct data helps you optimize your marketing spendings and get better ROI, Facebook Ads and their AI technologies optimize your ads according to the signals they receive from FB Pixel in your Shopify store. All they want is to upsell more products to you.

Instead, you can use Google Tag Manager and have an advanced and modern data structure. Hence, data will be captured from a few different points and processed with verifications through GTM. The accuracy will be much higher, and most of the problems will fade.

Analyzify is an excellent solution for your business. Just purchase our Shopify app for $99. Analyzify will set up your Google Tag Manager, GA4 and Universal Analytics with Enhanced Ecommerce by injecting dataLayer codes that will also work for Google & Facebook and other types of ads. Our support team will check and fix in case you have some problems with the setup.

The common problems with FB Pixels in Shopify

1. Missing product ID or SKU.
That is the most common problem we have faced. The sales data flows into Facebook, but it is missing product ID or SKU. And it does not allow for accurate analysis.

2. Sending different product IDs with different events (mixing SKU and IDs).
In some cases, you see the same events with product IDs or SKUs in Facebook Pixel reports. For instance, the SKU appears as a product ID in the sales report in FB Pixel, and the next line shows product ID for the same product.

3. Missing other parameters from events (product name, product ID, value, currency).
Unfortunately, not all of your events provide all the information you need. You can see many events in reports with no product name, ID, value or currency. It does not help if you do a deep analysis of your marketing costs.

4. “Add to cart” event not working or firing multiple times.
Micro conversions are as important as macro conversions (sales). Some groups of people will not purchase your product but will progress through the conversion funnel, so you would like to track these events accurately, as well.

5. Product Detail View not working for “quick view” or firings repeat on same occasions.
Some Shopify stores have “quick view” options for products that are convenient for users but not easy to track as a product impression.

6. Products do not match with a product catalogue.
You might also see issues with product name matching with your catalogues.

7. Events firing multiple times.
Like the “Add to cart” event, there are many other events that are being fired multiple times and send wrong signals through FB Pixel.

8. Purchase not sending values.
Last but not least, no doubt the purchase is the most important event and “purchase value” is crucial. You want to be sure that you have accurate data so that you can know your ROI.

How to set up FB Pixel in Shopify

Shopify has a great article on their blog about this topic. There are several options for setting up Facebook Pixel on your Shopify store.

Option 1: Using Shopify’s Native Integration

No need to go into details about it as it is explained perfectly in the above blog post. As a rough overview:

  • Watch this video tutorial to learn how to create a Facebook Pixel ID
  • Allow data sharing from your Shopify settings:
    • Shopify admin > Find “Facebook” in the Sales channels section

      facebook pixel setup
    • Then Settings > Data sharing settings
    • In the Customer data-sharing section, click the Enable data-sharing toggle.
    • In the Choose data-sharing level section select Standard, Enhanced, or Maximum.
  • The wizard will help you finish your setup.

Option 2: Use Analyzify

Shopify’s native integration is quite limited in sending data and processing it. With Analyzify, you not only get more accurate data but also track many other metrics/events.