Add Facebook/Meta Pixel to a Link

What is Meta Pixel?

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

When you use Facebook 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.

Automatic Integration: Adding Meta Pixel to a Link

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

Linkly’s automatic Facebook Pixel is the fastest and easiest way to integrate, 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
Add the pixel code to your link in Linkly, making sure the base code goes in the Head section, and the event code goes in the body section.
Add the pixel code to your link in Linkly, making sure the base code goes in the Head section, and the event code goes in the body section.

Paste your Meta Pixel ID into Linkly

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

Manual Integration: Adding Meta Pixel to a Link

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

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.

  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.

  6. You’ll want to add a custom tracking event to Facebook, so you’ll know people came from this link. Click Track Event on Page Load and give your event a name.

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

  8. Save your link in Linkly and then test it.

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

    It can take several hours for data to appear here.

Pick Events Manager from the menu at the top.
Pick Events Manager from the menu at the top.

Frequently Asked Questions about Meta Pixel

Can I create custom meta audiences by users clicking on a link?

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.

Can I apply Meta Pixel to all my links?

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/Facebook 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