Skip to content
Log inSign up free
Marketing & SEO

Setting up Facebook Pixel

Track shop visitors so you can retarget them with Facebook and Instagram ads.

The Facebook Pixel lets Meta (Facebook + Instagram) see who visits your shop. This makes ads dramatically more effective — you can retarget people who looked at a product but didn't buy, or build "lookalike audiences" of people similar to your existing customers.

Before you start

Step 1 — Create a Pixel

  1. Go to business.facebook.com and open Events Manager
  2. Click Connect data sourcesWeb
  3. Choose Facebook Pixel and click Connect
  4. Give your Pixel a name (e.g. your shop name) and enter your shop's URL

Meta gives you a Pixel ID — a long number like 123456789012345. Copy it.

Step 2 — Add it to your shop

  1. Go to Dashboard → Shop and scroll to the Search Engines section
  2. Tap Analytics & Tracking
  3. Paste your Pixel ID into the Facebook Pixel ID field
  4. Save

What gets tracked

The Pixel automatically tracks:

This rich event data is what makes Facebook ads so powerful — you can target ads at people who reached checkout but didn't buy, for example.

Verifying it works

Install the Meta Pixel Helper Chrome extension. Visit your shop. The extension icon will turn blue and show all the Pixel events firing — that confirms tracking works.

Privacy note

Adding the Pixel means Facebook gets data about everyone who visits your shop. In some countries (especially in the EU), you may need to add a cookie consent banner and give visitors an option to opt out. Check your local privacy laws.

Still need help?

Can't find what you're looking for? Reach out and we'll get back to you.

Contact support
WhatsAppsupport@myduka.link+254797 560 650