How to install the Meta Pixel and other ad pixels

A pixel is how an ad platform sees the sales and sign-ups your ads bring. Here is where it goes on each kind of site, and how Hermoso installs it and checks it is live.

Start free →

Made with Hermoso

The Meta Pixel is a small piece of code on your website that tells Meta when someone who saw your ad visits, signs up or buys. Without it, Meta can only count clicks, and it cannot learn which people to show your ads to. Every other ad platform has its own version: the TikTok Pixel, the Google tag, the LinkedIn Insight Tag, the Reddit Pixel, the Pinterest Tag, the X Pixel and the Snap Pixel.

Installing one is always the same idea: put the platform's base code in the head of every page. Where you put it depends on how your site is built.

Where the pixel goes on each kind of site

Your siteWhere the code goes
Google Tag ManagerA Custom HTML tag with the pixel's code, firing on every page, then publish the container.
WixWix's marketing tags, which take the Meta Pixel, TikTok Pixel, Google Ads and Google Analytics ids.
WebflowSite settings, Custom code, Head code, then publish the site.
WordPressThe head of every page, with a header and footer code plugin or your theme's header.
ShopifyThe platform's own Shopify app from the Shopify App Store. Shopify no longer lets an app add another company's pixel.

Option 1: install the Meta Pixel yourself

  1. In Meta Events Manager, create your pixel (Meta now calls it a dataset) and copy its base code.
  2. Paste it where your site keeps head code (see the table above), or add it as a Custom HTML tag in Google Tag Manager.
  3. Publish the site or the Tag Manager container.
  4. Check it: open your site and look for the pixel with Meta's own checker, or in Events Manager.

Option 2: let Hermoso install it

  1. Connect your site and your ad account in Hermoso under Connectors: Google Tag Manager or Wix for the site, and the ad platform whose pixel you want.
  2. Ask for the pixel. In the app, choose Website pixels on the Google Tag Manager, Wix, Webflow or WordPress card, or ask your agent: "Install our Meta Pixel on the website."
  3. Check the change first. Hermoso says exactly what it will add and changes nothing until you confirm.
  4. Confirm. The pixel is added, and Hermoso reads your live page the way a browser loads it and tells you whether the pixel is there.

The pixel id is never made up. Hermoso uses the pixel on your connected ad account, asks which one when there are several, and refuses an id that is not one of yours. For Meta and Pinterest it uses the code from your account or the platform's published base code, for Google its published snippet. For TikTok, LinkedIn, Reddit, X and Snap, you paste the base code from that platform's events manager.

A worked example

A skincare brand runs its site through Google Tag Manager and is about to start TikTok and Meta ads. In ChatGPT, with Hermoso connected, the owner asks: "Put our Meta Pixel and TikTok Pixel on the site and tell me when they're live." Hermoso finds the one Meta pixel on the connected ad account, asks for the TikTok base code, and describes the two Tag Manager tags it will add. On a yes it adds them, publishes the container and reads the live page: the Meta Pixel is found, and the TikTok one is reported as not there yet, because a Tag Manager publish can take a few minutes to reach every visitor. A minute later, "check the pixels again" lists both.

See every pixel on a page

Hermoso can also list every pixel and Tag Manager container on your live page, which is a quick way to find a pixel installed twice or one that a theme change removed. A page behind a password or a login is reported as not checked, never as a page with no pixels. It can remove a pixel it installed; one someone else added is never touched.

What it costs

Installing, listing and removing pixels costs no credits.

Hermoso runs as an MCP server, so ChatGPT, Claude or any agent you use can do all of this from a chat. Setup takes a minute: Hermoso in ChatGPT, Hermoso in Claude.

More: the changelog entry and the website pixels docs.

New on the blog: install the TikTok Pixel, Meta Pixel and LinkedIn Insight Tag by asking and the Meta Conversions API without code.

Frequently asked questions

How do I install the Meta Pixel on my website?

Put the pixel's base code in the head of every page: as a Custom HTML tag in Google Tag Manager, in Wix's marketing tags, in Webflow's head code, or with a header plugin on WordPress. On Shopify, use Meta's own Shopify app. Hermoso can do it for you through Tag Manager or Wix and then check the live page.

Can I install the Meta Pixel with Google Tag Manager?

Yes. The pixel goes in a Custom HTML tag that fires on every page, and reaches visitors when the container is published. Hermoso adds the tag, publishes when you confirm and checks the live page.

How do I add the TikTok Pixel to Wix?

Wix's marketing tags take a TikTok Pixel id. Hermoso can add it there, and it is live on the published site straight away.

Can Hermoso add a pixel to Shopify?

No. Shopify no longer lets an app add another company's pixel to a store, so connect the pixel with the platform's own Shopify app from the Shopify App Store.

How do I check the pixel is working?

Load your live page and look for it. Hermoso reads the page the way a browser loads it and lists every pixel and Tag Manager container it finds.

Does installing a pixel cost credits?

No. Installing, listing and removing pixels costs no credits.

Start free, no card needed.

Start free →   See pricing