Setting Up Facebook/Instagram Pixel on Shopify

The Facebook/Instagram Pixel is a powerful tool that allows you to track your Shopify store visitors’ actions. It provides valuable insights that can help you fine-tune your ad targeting, retarget users who took specific actions, and measure the effectiveness of your advertising efforts. This step-by-step guide will walk you through setting up the Facebook/Instagram Pixel on your Shopify store.

Step 1: Create your facebook pixel

Go to the Facebook Events Manager and click on the ‘Pixels’ tab. From here, click ‘Create a Pixel’, give it a name and click ‘Create’. You’ll now be given a Pixel ID.

Step 2: Enable the facebook sales channel in shopify

From your Shopify admin dashboard, click on ‘+’ next to ‘Sales Channels’, then add ‘Facebook’.

Step 3: Connect your facebook account

From the Facebook sales channel in Shopify, connect your Facebook account. You’ll need to have admin access to the Facebook Page and Ad Account you want to use.

Step 4: Add facebook pixel to shopify

In the Facebook sales channel settings, under ‘Data Sharing Settings’, click ‘Set Up Facebook’. Select ‘Maximum’ to share all customer browsing behavior for ad optimization. Then enter your Pixel ID from step 1.

Step 5: test the pixel

Use the ‘Test Events’ feature in Facebook Events Manager to verify that the Pixel is working correctly. Visit your store, add something to the cart, or make a test purchase, and ensure these actions show up in the Events Manager.

Step 6: configure pixel events

Decide which actions or ‘events’ you want to track on your Shopify store. These could be actions such as ‘View Content’, ‘Add to Cart’, ‘Initiate Checkout’, or ‘Purchase’. The Facebook setup tool can automatically configure these events, or you can manually adjust them.


Setting up the Facebook/Instagram Pixel on your Shopify store is a critical step in harnessing the power of Facebook and Instagram advertising. It allows you to measure, optimize, and build audiences for your ad campaigns. By following these steps, you’re well on your way to more targeted and successful ad campaigns.

Share the Post:

More How-To Guides