Skip to main content
All CollectionsIntegrations
How to Install Meta/Facebook Pixels on Your Shopify Store
How to Install Meta/Facebook Pixels on Your Shopify Store

A guide on how to install meta/facebook pixels on your Shopify store.

Micah Quinto avatar
Written by Micah Quinto
Updated over a week ago

Installing Meta/Facebook pixels on your Shopify store can help you track and optimize your advertising campaigns effectively. Here's a guide on how to install these pixels and add them to your order/checkout page for enhanced tracking.


What is the Meta Pixel?

The Meta pixel, previously known as the Facebook pixel, is a powerful tool for monitoring ad effectiveness and behavior tracking across platforms like Facebook and Instagram.

This code snippet tracks various events like page views, add to cart actions, purchases, scroll depth, and more. By leveraging the Meta pixel, you can refine ad targeting, enhance retargeting efforts, and engage with audiences who have interacted with specific pages or completed desired actions on your site.


How to Install Meta/Facebook Pixels on Your Shopify Store

Option 1: Using Shopify Integration

STEP 1

Log in to your Shopify Admin dashboard and navigate to the Online Store section.

STEP 2

Select Preferences and locate the Facebook Pixel or Meta Pixel integration option.

STEP 3

Follow the on-screen instructions to connect your Meta/Facebook account and install the pixel on your store.

Option 2: Manual installation

STEP 1

Access your Meta/Facebook Ads Manager.

STEP 2

Generate the pixel code for your account.

STEP 3

Copy the pixel code provided.

STEP 4

In your Shopify Admin, go to the Online Store section.

STEP 5

Select Themes and then Actions > Edit code in the theme editor.

STEP 6

Click on the theme.liquid file and paste the pixel code (usually in the <head> section).

STEP 7

Click Save to apply the changes.


Adding Pixel to the Order/Checkout Page

STEP 1

Go to your Shopify Admin dashboard, and navigate to Settings and locate Checkout.

STEP 2

Scroll down to the Additional scripts section.

STEP 3

Paste the Meta/Facebook pixel code provided for tracking customer events.

STEP 4

Click Save to apply the changes.

Did this answer your question?