So you want to advertise on Facebook and make sure it’s done the right way? Or maybe you are curious about whether Facebook advertising is even worth it. Well then continue to read this beginners guide to learn about Facebook marketing and Facebook pixel.

So you want to advertise on Facebook and make sure it's done the right way? Click To Tweet

Now before I dive in, let me give you some background about Facebook and its’ marketing component.


For almost all Facebook users, this site is a place to virtually ‘hangout’, connect with family and friends, and for some-a place to spill their guts.  So you may be wondering why advertising on this site would be beneficial to business owners and companies. Facebook is a great place to advertise due to the fact that it is a hangout spot.

See, Facebook has strategically placed ad spots in user news feeds and right sidebar that works in favor of the business owner and for the consumer. Advertising in this favorable environment allows your customers to feel relaxed and more apt to click on your ad and even share with their friends.

Now onto the Facebook pixel- we will be covering 4 topic areas:

  1. What is a Facebook pixel

  2. How to create, install, and verify your pixel

  3. Standard vs Custom events and how to add them

  4. Optimization and Tracking with your pixel


So what is the Facebook pixel?

In layman’s terms, the pixel is a piece of code that is provided by Facebook to be installed on your website. This piece of code, once installed, allows your website and Facebook to communicate back and forth and collects data. Once this data is collected, you will be able to check your ads manager to measure the results, optimize your ads, and refine your target audience. This in turn allows you to make your ads more effective and efficient-who wouldn’t want that??

The pixel is awesome because when you have it installed, you’ll be able to track the behaviors of your website visitors and know how to better serve your ads to them.

The fb pixel is awesome because it gives you inside knowledge that helps you better serve your… Click To Tweet

Creating and Installing your pixel

To create your Facebook pixel, head over to your ads manager and go the global navigation bar. Once there, head over to the asset menu and select Pixels.


Once you’ve gotten to the pixel tab:

  • Select Create a Pixel or Set up Pixel

  • Name your pixel (keep in mind that there is only one pixel per ad account and you can always change your pixel name)

  • Once named, you can choose to Install Pixel Now or Email Pixel Code to your web developer.


Pixel Installation

If someone else is installing your pixel, then awesome! Select to email your pixel code, enter their email address and click send. Your work here is done 🙂 Now go on with your bad self!

If you are using a merchant solution, such as Shopify, Teespring, or even BigCommerce, these solutions often have a designated spot to inject your pixel code. Once you’ve found the golden spot, copy and paste your code, save it and wallah- you’re done!

If you’re installing your Facebook pixel like a boss, then head over to your html/css files. Note: I’ll be providing instructions for the platform but these instructions may work for other platforms.

In your WordPress dashboard, hover over Appearance then click on Editor. Find the file, normally a .php file, that contains your themes’ header tags (<head> and </head>).

Copy and paste your pixel base code before </head> and save your changes. Be sure to not modify this code to ensure it works properly.


But how do you know that your pixel has been properly installed?

Head back over to your pixel tab and check the status of your pixel. On the right hand side, Facebook will let you know whether your pixel is reporting information from your website or not.



If your pixel isn’t reporting data after 24 hours, then try reinstalling your pixel again. Be sure follow the directions above, especially making sure the pixel code is within the ending heading code (</head>).

In Part 2, we’ll be covering standard & custom events, and how to use the pixel for tracking and optimization. Stay tuned!

Love what you've read? Share with your friends!