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.

1
2
3

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

If you need advanced event tracking or more granular control over your pixel implementation, you can add the Meta Pixel code manually.

How to Add Meta Pixel Manually

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 you also add the event code in the Body Tags section (step 7).

6
7

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

8
9

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