How to Add the Facebook Pixel to Shopify

November 23, 2019
by
Robert

How to Add the Facebook Pixel to Shopify

November 23, 2019
by
Robert
Get the latest straight to your inbox
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Share on:

Facebook ads are a great way to drive social media traffic to your e-commerce store. According to Mary Meeker’s 2018 Internet Trends report, Facebook is still the top social media site for product discovery. So if you’re planning on running Facebook ads, you’ll want to take the step of adding the Facebook Pixel to your Shopify store.

What is the Facebook Pixel?

The Facebook Pixel is a bit of code that will track the actions of your visitors from Facebook. Having the pixel on your store will give you insight into a whole host of analytics, including tracking conversion events on Shopify, retargeting previous visitors, and optimizing your Facebook ads depending on the previous actions a visitor has taken.

For example, if a potential shopper sourced from Facebook abandons their shopping cart, the Facebook Pixel can help you show ads for the items they left in their unpurchased carts the next time they see a Facebook ad.

Get conversion tracking

How to Add the Facebook Pixel to Shopify Stores

Find your Facebook Pixel ID

To set up Facebook conversion tracking on Shopify, you first need to log into your account’s Facebook Ad Manager (make sure it’s the right account in case you have more than one). Here, you’ll see your Facebook Pixel ID listed.

As soon as you log into your account’s Facebook Ad Manager (make sure it’s the right account in case you have more than one), you’ll see your Facebook Pixel ID listed

Copy this number because you’ll be pasting it into your Shopify admin.

If you don’t already have a Facebook Pixel number shown, you may need to create a new one. You will see a “create a Facebook Pixel” prompt in this area of your Facebook Ad Manager that will guide you through that process.

You will see a “create a Facebook Pixel” prompt in this area of your Facebook Ad Manager that will guide you through that process

Paste your Facebook Pixel ID into your Shopify Store

After logging in to your Shopify admin, navigate to Sales Channels > Preferences. Then, scroll down until you see the Facebook Pixel section.

Scroll down until you see the Facebook Pixel section

Paste in your Facebook Pixel ID, then click Save at the bottom of this screen.

Confirm your Facebook Pixel is Working

Once you’ve saved, you can test whether the Facebook Pixel is firing by either clicking through from a Facebook Ad you’re already running, or just by clicking through from anywhere on your Facebook page to your Shopify site.

In rare occasions, it might take a day or two for the data to populate, but usually you’ll see tracking data come in almost immediately. If you have any issues, you can download Facebook’s Pixel Helper to help diagnose problems, though you may need Dev support as this tool is fairly technical.

At this point, you've finished connecting your Facebook Pixel to your Shopify store. Happy tracking!

Learn More About Your Store with Shogun

The Facebook Pixel is a useful tracking tool, but it's not the only method you should be using to learn about the behavior of people who visit your store.

The Shogun page builder app makes it easy to create custom pages, and for each page it also tracks metrics such as sales conversions (the amount of income generated from placed orders on the page), bounce rate (the percentage of users who backed out of the page without further store activity), and top clickthrough destinations (where users most often go to from the page),

With all this information, you'll have a better idea of how to optimize your store and make more sales.

Get conversion tracking

Robert