Chapter 2 · Measure and advertise
The Meta Pixel, before your first ad
Follow this course in your space: your progress is saved, and the community answers your questions.
Follow for freeWant to run an Instagram or Facebook ad for the holidays, a sale or your launch? Install the Meta Pixel on your site first. It lets Meta know which visits come from your ad, and show your ads to people who've already seen your site ("retargeting"). Without it, you're advertising blind.
In its menus, Meta now calls the pixel a dataset. Its ID is the same as the pixel's: a number about fifteen digits long.
What you need
- A Meta Business account (business portfolio) linked to your Facebook Page or Instagram professional account.
- Your Flopix dashboard open in another tab.
Creating the pixel, step by step
- Open Meta's Events Manager (from Meta Business Suite, "All tools" menu, or at
business.facebook.com/events_manager). - Click Connect data (or the "+" button next to data sources).
- Choose Web, then continue.
- Name your dataset: just your website's name.
- If Meta asks how you want to install it, choose a partner integration or manual setup: you won't paste any code, only the ID.
- Open your dataset in the data sources list: its ID is shown under its name. Copy it.
Meta's menus change often. If you can't find a button, search "Events Manager connect website" in Meta's help.
Pasting it into Flopix
Advanced options, card Tools and pixels, group Advertising, Meta Pixel row. Paste the ID (just the number) and save. Flopix adds Meta's official code to your site.
Checking that it works
- In Events Manager, open the Test events tab.
- Open your site in another tab and accept the cookie banner (for advertising).
- A PageView event should appear within seconds.
If nothing shows: make sure you accepted advertising in the banner, then check the ID.
Consent, plainly
The pixel only loads after the visitor agrees to advertising. Flopix handles that by default: declining is as easy as accepting, and the tool is listed in your site's cookie information. The consequence: your pixel doesn't see visitors who decline. That's normal.
Good to know
- Also verify your domain with Meta (see the verifications lesson): it's required for some ad settings.
- The pixel learns over time: install it a few weeks before your campaign, not on the day.
Your turn
- Create your dataset (pixel) and copy its ID.
- Paste it into Flopix.
- Check the PageView event in "Test events".
Recommended tool
Create your website for free in a few minutes
With Flopix, your business website is online in a few minutes, all included: hosting, edits, a step-by-step guided form. Free trial so you can judge for yourself.
Premium
Unlock every course of the group Flopix
Every lesson, new courses as soon as they come out, and the community. No commitment.