Would you like to target your Facebook Ads to people who have already visited your website? This tactic can be EXTREMELY powerful to reach an audience that is already familiar with you.

This is typically known as Website Retargeting and uses a Facebook feature called Website Custom Audiences.  If you’ve ever noticed those ads that follow you around the internet after you visit a website (sometimes spoiling your surprise Christmas gift for a spouse as I have first-hand knowledge), setting up a Website Custom Audience will allow you to do the same thing with your Facebook Ads.

Website Custom Audiences uses a Pixel code to track visitors to your website.  The Facebook IDs of the visitors are stored in the Custom Audience for a period of time (that you specify) and you can direct ads just to them.

The audience starts building the moment you add the pixel code to your site, not before.  So make sure you add the Pixel well before you actually need to use it.

The pixel code is the same for every Website Custom Audience you create. You only need to add one Custom Audience pixel to your entire website regardless of the number of audiences you create.

Here is an outline of the basic steps:

  1. Create the Website Custom Audience in your Facebook Ads Manager or Power Editor.
  2. Place Website Custom Audience Pixel on your website (between main <head> tag or on every page).  This step only needs to be done once.
  3. Specify which specific URLs you are gathering traffic from.

Let’s dive into each step.

Step 1 – Create the Website Custom Audience

First go to your Facebook Ads Manager and select Audiences from the left sidebar.

Audiences in Facebook Ads Manager


Next select Create Audience in the upper left corner and select Custom Audience from the drop-down menu.

Start Facebook Custom Audience


Now select Website Traffic from the popup box.


Website Custom Audience


You’ll see another popup box where you select where you want to capture the traffic, the date range you want to set, and the name of the Audience.  The default setting is Anyone who visits your website and you should start there.

Facebook Website traffic


Name set the date range to 180 Days which is the maximum and you can title your Audience name something more descriptive if you are going to use multiple Custom Audiences so that you know what each one is about.

Name Custom Audience

2.  Place Website Custom Audience Pixel on your website

You see in the image above when you create the audience, there is a place to View the Pixel Code.  That code needs to be placed on your website before the audience can start building.

Select the wheel icon as shown and click View Pixel Code.

View Pixel Code

Now you are going to copy and paste this code into your website between the <head> tags or in an area for scripts in your WordPress site if you have that available in your theme.  This step only needs to be done once.  After that, every time you create a Website Custom Audience, it will be using that particular Pixel and you might just change the information the audience is gathering.

If you aren’t sure how to get this code into the header area, you can place it individually on pages you particularly want to track.

3.  Specify which specific URLs you are gathering traffic from.

We essentially did this in step 1 initially but I wanted to make sure you knew you could also gather traffic from specific pages on your site with the same pixel.

You can do things like advertise to people who visited a particular sales page, or any traffic that has a specific term in the URL such as a category on your site.

Traffic from specific pages

Want to go further with Facebook Ads?  Take my Facebook Advertising Secrets Course!