In Part 3 below, we will discuss what the Facebook pixel is and how to install it on your website. And don’t worry, you don’t need to be a tech nerd or hire one to do it.

“Please, please, please, let me install your Facebook pixel!”

What is the Facebook pixel?

In Part 2 of this series, we discussed website custom audiences and how advertisers can use them to track their visitors’ website activity and retarget them according to their behavior.

To track your website visitors for your custom audiences, Facebook requires you to install a unique pixel (piece of code) on your site.

Aside from creating custom audiences, installing the Facebook pixel will also allow you to measure conversion rates for your ads. As an example, if you are sending ads to an opt-in landing page, set a conversion to fire when a person lands on your confirmation page. You can set this up for any conversion action. To do this effectively, you will need to install the pixel on the pages on which you are tracking your website visitors’ activity.

How does the Facebook pixel work?

Facebook’s retargeting code includes two parts: the base pixel code and the optional event code.

The base pixel code tracks all of your website traffic, and the event code tracks specific actions your visitors take on your pages.

What can you track with the event code? I thought you’d never ask…

Business owners can use the event code to track the following:

ViewContent: Tracks when a target page is viewed. Example: You launched a new blog series (like this one) and you want to track the views it got over time

Search: Tracks visitors’ searches. Example: You want to track how many visitors are searching for “white tennis sneakers” on your site. Place the event code on the search results page for that query.

Add To Cart: Tracks when users add a product to their shopping cart. Use this event code to retarget people who added a product to the cart but did not purchase.

Add To Wishlist: Tracks when users add a product to their wishlist. Retarget these visitors with product images of items from their wishlist.

Initiate Checkout: Tracks people initiating the checkout process. Place the event code on the page where visitors initiate the checkout process.

Add Payment Info: Tracks when visitors add payment information during checkout. Run ads to retarget the people who submitted payment but did not finalize the purchase.

Purchase: Place this code on your purchase confirmation page to track current customers. Retarget them with your ads when you want to introduce new products and services to them.

Lead: Place this code on your landing page confirmation pages. Retarget people who have landed on your confirmation pages and have become leads (received a free lead offer, signed up for a newsletter, etc.)

Complete Registration: Place this code on a confirmation page after visitors signed up for an event.

Custom: Though the above list will satisfy the majority of businesses, if you are more tech savvy, add your own custom event parameters to track events unique to your business organization.

What if I don’t have my own website?

You don’t need your own website to install the Facebook pixel and track visitors. If you are using a third-party website, such as LeadPages, Shopify or WordPress, these popular platforms will have instructions on how to install the pixel, which are generally easy to follow.

Create a name for your pixel (this name can be changed later) and read Facebook’s pixel terms before you proceed. When you are finished, click Create.

Once you click to create your pixel, you will see this pop-up:

Select the option that fits your situation.

Tag Manager: If you are using a third-party website, select this option to get instructions from Facebook on how to add the pixel to your website. Facebook lists instructions for eight providers, but if your provider is not on the list, you can still add the code if your website includes that functionality. Contact your provider for help.

Manual Install: If you have your own website or you are ready to add this code to your third-party website, this is the option to choose.

Email a Developer: If you have your own website and you work with a developer who handles the code, email the code directly to your developer.

Get your pixel code

When you click to manually install the Facebook pixel, you will see a pop-up that displays instructions on where to install the Facebook base pixel code.

Facebook then shows you the actual base code to copy and paste.

Reminder: This is just the base pixel code, which is required to launch retargeting ads on Facebook. The event code is optional code you can add later to track specific events. We will discuss event code a little later.

Copy this pixel code and paste it inside your header tags on every page of your website. Note that in the image below, sections of the code have been blurred out for privacy, but your code will include custom numbers specific to your account.

If you are using a third-party website, follow the instructions for that platform to add your code to the header section. Each platform will have an area for the header where you can add your code. In the case of WordPress, use a plugin like Pixel Caffeine to add the code easily.

Scroll down to the last step in this pop-up. If you added your pixel, it should be listed as “Active.” If the pixel is not active, it will look like this:

Allow at least 20 minutes after you install the pixel before you check its status.

In a later section in this article, we will go into more detail on how to check if your pixel is firing correctly.

How to add event code to your website pages (still for non-techies)

If you are ready to create an event code, simply click “Continue” from the initial pop-up we talked about in the last section.

Or, if you are no longer within the pop-up interface, get back there by going to the Events Manager page, then clicking “Details” on your pixel.

Then, click Set up in the upper right-hand corner of the page:

When you click “Set Up,” you will see the pop-up again.

Get your event code

When navigating to the next step of this pop-up (Events), you will see some instructional information from Facebook. We have already discussed some of this information, but if you are unfamiliar with Facebook events, I recommend you read it.

Scroll down to check off the event you want to track.

Click to turn on one of the events to get the code. I clicked on Purchase for the sake of this demo. Once you click the event, you will see more information appear.

At the top, you will see two options:

Track Event on Page Load: Choose this option when you want to track someone being directed to a new page. Example: A visitor makes a purchase and lands on a purchase confirmation page.

Track Event on Inline Action: Choose this option to track on-page events that require someone to click something such as a button or link.

You can also add optional parameters. Facebook offers the Conversion Value and Currency parameters for most of the events where indicated. All the events include the same parameters except for the Search event, which uses Search String and Content ID.

If you click the Add another parameter drop-down, you will see Content ID, Content Type and Basket Contents. Each event will have additional parameters you can use.

Here’s a quick example of how you would use the Conversion Value and Currency parameters for a Purchase event. Let’s say you are selling a blogging training video series for $50. Here are the parameters you could add:

I also want to introduce you to a convenient tool that Facebook offers called Pixel Helper. Pixel Helper is a Google Chrome plugin extension. Once installed, you can review individual pages of your website and make sure your pixels and events are firing.

Congrats, you made it…

How did you do?

I realize this information can be somewhat overwhelming, especially if you have never created or installed a Facebook pixel before. It may also take some practice and additional reading to understand how the event codes connect to your website and your visitors’ actions.

I recommend you read through this article a couple of times and keep it as a guide as you create your pixel. Be sure to also visit the resources I linked to throughout the article.

In Part 4 of this Facebook retargeting series, we will talk about how to design high-converting, high-quality ads for your Facebook retargeting campaign. This information is CRITICAL to launching retargeting campaigns that perform well and generate a return on investment. This is one you won’t want to miss.

At Viral Solutions we are committed to seeing your business succeed. It is our goal to grow your business with proven digital marketing strategies that will help leverage your business for the long haul, no matter the industry.

Stay Up To Speed in the Ever Changing World of Marketing! Sign-up today for FREE, monthly marketing tips, loopholes, and news to EXPLODE your Return on Investment!

Testimonials

WOW! Exceptional work by the team at Viral Solutions! Great, personal, and hands on assistance and overall business experience. Even a phenomenal job in training for our staff! Highly recommended for all businesses. If you want to start right, start Viral Solutions! Very personal, yet professional in how business is handled. Two thumbs up.

Paul Marcellino, CEO of DeadSeaMoringa.com

They are a responsive professional organization who produces results. I would recommend them to anyone looking to take their business to the next level.

Sam Gaylord, Attorney and Business Owner, GaylordPopp.com

It is a huge benefit to have Viral Solutions assisting us. They truly want to see their clients succeed. And they have a way of breaking things down for you to better understand how to do something, or the best way of going about a situation, and bring joy and jokes to brighten up your day. THANK YOU for your expert advice. We love and appreciate ALL that you do for us!!

Viral Solutions helped me put together the pieces and make my marketing strategy work consistently. They are an important part of my business team. They are technologically savvy and knowledgeable. With them, I can market better than the big boys.

John Thomazin, CEO of REDI Engineering

We have used so many ‘so called’ online social media experts and been terribly disappointed at every turn. THEN WE FOUND Viral Solutions and our world changed. This team systematizes everything you need to build your social media audience and drive traffic to your site. Not only that, their content creation team are second to none. From a standing start, we had them writing blog articles for us that required very little if no editing before releasing them to our site. I could not recommend Viral Solutions more strongly to anyone considering social engagement for their audience.

Sean McDonald, CEO of Mobit.com

Viral Solutions has increased my business by 500%! I’m not kidding. I have an NAEA Infusionsoft app that only had 23 clients signed up. After three months of Viral Solutions pushing leads, and their processes to my page, I now have 587 clients signed up! I can’t believe it! They are way better than any real estate lead generation system I have ever used.

Sharon Seybold Yeary, SharcomRealty.com

The team at Viral Solutions has done a fantastic job integrating our web site, users, referral partners, affiliate marketing programs and everything else we’ve asked them to do! They’ve done it with speed, accuracy and real understanding of what we are after.

Les Jenkins, Founder of AgentGoals.com and Former Director of Operations of Quizno's

Before Viral Solutions, my website and sales funnel were not working and not producing. THANKS to Viral Solutions, my members are now happy. The sales funnel is now working and producing sales. Big THANK YOU to Viral Solutions -- the professionalism, the integrity, and the attention to detail that they can bring to ANY business is hard to come by nowadays. I highly recommend them, and I am so thankful that I found them.