Skip to content

Every tutorial here is 100% free — and always will be.

How to Add the Meta Pixel to Shopify

Install the Meta pixel and Conversions API through the official Facebook and Instagram channel, then verify events.

7 min readIntermediateChecked 15 August 2026

The Meta pixel lets you measure and optimise Facebook and Instagram ads. Use the official channel rather than pasting pixel code so purchase events and the Conversions API work properly.

1

Create a pixel in Meta Events Manager

In Events Manager create a new dataset or pixel for your store and note its name.

2

Install the Facebook and Instagram channel

From the Shopify App Store install Facebook and Instagram, then connect your Facebook account, business portfolio and page.

3

Connect the pixel and choose data sharing

Select your pixel, then pick a data sharing level. Maximum enables the Conversions API for better attribution.

4

Check customer privacy settings

Confirm your consent banner and data collection rules under Settings, then Customer privacy, so tracking respects visitor choices.

5

Verify events

Use the Meta Pixel Helper browser extension and Events Manager Test events to confirm PageView, AddToCart and Purchase fire once each.

Watch out

Never install the same pixel through the channel and a theme snippet at the same time. Duplicate events wreck your reporting and ad optimisation.

Still stuck? Skip the tutorials.

You've given it a go. If you'd rather have someone sort it out for you, tell us what you need and we'll take it from there.

Get Help With My Shopify Store

Expert help provided by PromptSites.com.

Related tutorials

Read more elsewhere

Shopify BlogOfficial

Shopify Blog: Ecommerce marketing guides

Shopify's marketing library covering email, paid social, content and retention. Quality varies by article, so treat it as a starting point.

Article
Intermediate25 July 2026

Link to an external site. We don't republish other people's content.

Website made, maintained and hosted by PromptSites.com

PromptSites logo