How to create, setup and use Facebook’s pixel

create pixel ads managerOptimize campaigns and get the most of your marketing budget

Facebook, like many of the other major marketing platforms, provides tools for optimizing campaigns. Some people can find these tools a little confusing, and for that reason we have created the following step by step tutorial.


  1. You can re-target anyone who may have visited your website in the last 180 days.
  2. You can target new audiences with the Look-Alike feature.


  1. You need a way to implement your pixel.
  2. You need to have visitors in order to either re-target or create a Look-Alike.
  3. There’s only a 180-day window for retargeting.


  1. Facebook Business Page.
  2. A website, a mobile app or other means of implementing the pixel.
  3. Know how to setup audiences using pixels.

How to Create Pixel

one click Facebook Ads Manager

  1. Log into your Facebook Ads Manager account.
  2. On the upper left corner, click on Ads Manager.
  3. Under the Measure & Report header, find Pixels, then click on it.
  4. At the bottom of the next screen, you’ll find a green button that says Create a Pixel, click on it.
  5. Type in a name for your Pixel.
  6. Optional: Enter your website URL.
  7. Click Create.

The next step is deploying your Pixel, and there are a few ways you can do this. If you have a mobile app, you need to contact your developer.

There are a couple other ways you can deploy your Pixel, and one is through a website, and the other through a URL shortener that supports this feature.

Here’s the first option.

Install Pixel on WordPress Website

Add billing to Ads Manager Account

Before we proceed, you must have already created your Pixel and installed the Advanced Ads plugin

  1. Click on Advanced Ads.
  2. Click on Ads.
  3. Click on New Ad.
  4. Name your Ad something like Website Pixel.
  5. Select Plain Text and Code, then click Next.
  6. Copy & Paste your Pixel code, then click Next.
  7. Click on Next again.
  8. Click on the plus icon (+) on the right side.
  9. Click on New Placement button.
  10. Select </head>.
  11. Name your Placement as Head, Pixel, etc, or something that indicates it’s Facebook’s Pixel.
  12. Under Choose the Ad or Group, find your Pixel code and select it.
  13. Click on Save New Placement.

If you run an HTML website, you can use a FTP account to install it inside the head tag.

Once you’ve installed your Pixel, either go to Ads Manager or check source code to make sure it was installed correctly.

Most users install their pixel on their website or mobile app, however there’s an additional option.

You can find a URL shortner service that supports this feature such as, then setup a new account and start using your Pixel with them.

Pixel through URL Shortner

How to create, setup and use Facebook's pixel

For our example, we’ve setup an account through Yarseo URL Shortner, and we’d like to promote our YouTube channel.

  1. Login into your account.
  2. Click on Tracking Pixel.
  3. Select Facebook as Pixel Provider, pick a Pixel Name, and enter your 16 digit numeric Pixel Tag.
  4. Click on Dashboard.
  5. Copy and paste your YouTube channel url link.
  6. Find and select your Pixel under Targeting Pixels.
  7. Click on Shorten.
  8. Copy short link and start sharing.

We’ve found that the best way to implement this strategy is by sharing your short url on local Facebook groups.