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:
- Create a link on Linkly.
- Under Meta Pixel, enter the Meta Pixel ID that Meta gives you.
- Save your link.
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
Create a Meta Pixel, if you haven't already.
See create a pixel on Facebook for Meta's own documentation.
Inside Facebook’s Business Manager, click the menu at the top, and select Events Manager.
Go to the Pixels tab.
Click Manually add pixel code to website.
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.
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.
Copy the event code and paste in Linkly, under **Retargeting Pixels -> Body Tags.
Save your link in Linkly and then test it.
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
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.