• Video Tutorial
  • GemPages Forum
Start For Free
  • Video Tutorial
  • GemPages Forum
homeHow-to and FAQsAdd Facebook Pixel to your Shopify store
homeHow-to and FAQsAdd Facebook Pixel to your Shopify store

Add Facebook Pixel to your Shopify store

This article will walk you through steps on how to add Facebook Pixel to your store.

Facebook Pixel is an analytics tool that helps you measure your advertising effectiveness by understanding the traffic and customer behavior on your online store.

Before we start, you will need to have a Facebook Ads account. If you don’t have one, please follow the instruction from Facebook here.

Remove the previous Pixel code from your theme

If you’ve added the Pixel code by editing your theme file before, you should remove it before adding it in the Shopify Admin. If not, your store will have multiple Pixel codes, which may result in duplicate or incorrect data in your reports.

Kindly follow the below instructions to remove the Pixel code from your theme.

Step 1: Go to your Shopify admin>Online Store > Themes and select Actions, then “Edit Code.”

Step 2: Look for the file “theme.liquid” file under the Layout section or via the search bar. Open the file to locate the Facebook Pixel code between the <head> and </head> lines.

Step 3: Remove the code and hit “Save” when finished.

Add Facebook & Instagram to your Sales channels

Step 1: Install the Facebook & Instagram app from the Shopify app store.

Step 2: Hit “Add sales channel” after reviewing the permissions.

After that, you can access Facebook & Instagram on the left sidebar under Sales channels. Click to start setting up your Facebook account.

Add a Facebook Pixel ID to your Shopify store

Step 1: From your Shopify admin, navigate to Sale channels > Facebook & Instagram. Hit “Connect account”.

Step 2: Select a Facebook personal account for connection. Then a list of available business accounts and Facebook pages will be displayed. Select the desired pages by checking the corresponding box for connection.

Step 3: Following that, a window will appear where you can determine the level of data sharing. Simply toggle on the “Share data” option. Then, in the “Choose preference” section, make a selection from Standard, Enhanced, or Maximum. For a detailed understanding of the distinctions between these three levels, refer to this article from Shopify.

Hit save when finished.

Step 4: Select the Pixel you want to connect.

All Pixels you have created will be listed here. If you don’t have one, click “Create new” and follow the instructions.

That’s it! Facebook Pixel is ready to help you understand your customer better.

If you’re interested in learning more about the powerful, user-friendly features of GemPages, feel free to explore the Help Center or reach our GemPages Support Team via email or live chat.

Was this helpful?

Yes  No
Related Articles
  • Button Element – FAQs
  • Affiliate & Agency – FAQs
  • Link your pages to Shopify menu item
  • Add the overlay effect to the hero banner
  • How to add Hyperlinks
  • Display text in the right-to-left direction on your page
footer logo
  • Release Note
  • Privacy Policy
  • Terms of Service
  • Community
  • Video Tutorial
© 2017-2023 GemPages. All rights reserved.
Popular Search:Responsive design, Transfer content, Custom code