Add Facebook/Meta Pixel to a Link

What is Meta Pixel?

Meta Pixel is Facebook/Meta’s custom audience retargeting tag.

When you use Meta Pixel with Linkly, users who click on your links are automatically added to your Meta Custom Audience.

This allows you to target ads at users who have clicked your link.

Add Meta Pixel to links you share, in order to build custom audiences on Facebook.

Linkly’s automatic Meta Pixel integration is the fastest and easiest way to set up, and is the one most users should choose.

First, you’ll need to create a pixel on Meta.

Then:

  1. Create a link on Linkly.
  2. Under Meta Pixel, enter the Meta Pixel ID that Meta gives you.
  3. Save your link.
Paste your Facebook Pixel ID into Linkly
Paste your Facebook Pixel ID into Linkly

Paste your Meta Pixel ID into Linkly

When visitors click on this link, the pixel will be triggered automatically.

Add Meta Pixel to links you share, in order to build custom audiences on Facebook/Instagram. This method is particularly useful for advanced event tracking and when you need more granular control over your pixel implementation.

You’ll want to use this method when doing advanced event tracking.

How to Add Meta Pixel to a Linkly

  1. Create a Meta Pixel, if you haven't already.

    See create a pixel on Facebook for Meta's own documentation.

  2. Inside Facebook’s Business Manager, click the menu at the top, and select Events Manager.

    Inside Facebook’s Business Manager, click the menu at the top, and select **Events Manager.**
    Inside Facebook’s Business Manager, click the menu at the top, and select Events Manager.
  3. Go to the Pixels tab.

  4. Click Manually add pixel code to website.

  5. Copy the code and paste it in Linkly, under Retargeting Pixels -> Head Tags.

    Make sure it goes in the body tags section, otherwise the event won’t work.

    Copy the code and paste it in Linkly, under **Retargeting Pixels -> Head Tags**.
    Copy the code and paste it in Linkly, under Retargeting Pixels -> Head Tags.
  6. Copy the event code and paste in Linkly, under Retargeting Pixels -> Body Tags.

  7. Click Test Events on Facebook to check that data is flowing to Facebook.

    It can take several hours for data to appear here.

Frequently Asked Questions about Meta Pixel

Yes, using Linkly's Meta Pixel feature, users will be shown the Meta Pixel before being redirected.

Does showing Meta Pixel slow down the redirect?

Yes, showing the pixel necessarily takes some time, and delays redirection by 0.5 seconds. For more information on how to optimize redirect speed, see our article on Fixing Slow Redirects.

Yes, in Linkly, go to Settings -> Default Link Settings and paste your pixel in there.

Can I use Google Tag Manager containers to set up my Meta Pixel?

Yes. If you've already got your Meta Pixel working in a GTM container, you can show your GTM container to link-clickers instead.

Track 1000 monthly clicks with all features included.

No credit card required