Share on facebook
Share on google
Share on twitter
Share on linkedin
Share on pinterest
Share on reddit
Share on telegram
Share on email

How to install your Facebook pixel on to your website

How to install your Facebook pixel to your website

The Facebook pixel allows you to combine your business or brand’s website with Facebook’s powerful tracking and advertising capabilities.  Setting up a business page is just the start and many businesses stop there.

I created this post because leveraging the power of Facebook and Instagram (owned and controlled by Facebook) is essential to automating your hustle and this step could be holding you back.

Read on to discover how to create, test, assign and install the Facebook pixel to your website or app.

What is a Facebook pixel?

A Facebook is a snippet of code that you would place on your website to track visitors, report conversions, build audiences and get insights into how people are using your website.

It’s called a pixel because the code embeds an image on your website that is 1 pixel wide and 1 pixel tall.

Where to find your Facebook pixel

Your Facebook pixel can be found in your business manager.  Each business manager account can have up to 10 pixels.  If you need more than that, you will need to contact Facebook directly and request more.  If you have not set up one, you can learn how to set up your business manager account here.

If you are managing Facebook for someone else, you’ll need to make sure that you are an admin in their business manager account.  If not you will need to contact them and let them know to add your Facebook profile as an admin from within their account.

Here’s how to create a new Facebook pixel:

  1. go to your business manager settings.
  2. click  the ‘People and Assets‘ tab and then ‘Pixels‘ in the drop down menu (if you already have pixels this is where they can be found)
  3. click ‘Create a Facebook Pixel
  4. type in a name for your pixel
  5. agree to the Facebook Pixel Terms and click ‘Next
  6. click ‘Set Up Now’ to start installing your pixel. If you’d like to stay in Business Manager, then click Continue.

Setting up your Facebook pixel

Once your pixel is created in your business manager and you are in the pixels section (shown above) you can begin setup.

Click ‘Set Up Pixel‘ and you’ll get a few options:

1. Using an integration or tag manager


If you choose to use an integration or tag manager you’ll then need to select the platform or app that you will be installing the pixel to.  You will get a step by step walk through for each one.

For WordPress websites we use the second option below and manually install the pixel using this Google Tag Manager plugin or this website code manager plugin.  For WooCommerce websites we then follow the integration setup in the business manager.

2. Manually installing the code yourself

Choose this option if you HTML doesn’t intimidate you.  Fortunately most website platforms have an area for javascript code, tracking or header code.  Your Facebook pixel will need to be copied and pasted there.  Just make sure that your pixel shows up on every page, not just the home page.

3. Emailing instructions to a developer

If you have no idea what to do with tracking code select this option to email instructions to your developer.  Enter their information and click send.  They will know what to do from there.

Facebook also provides event codes to track individual activities.  Place this code right after the Facebook pixel on pages that mark specific outcomes like a purchase confirmation page, an email signup thank you page or an add to cart page.

You can use the event code to track data associated with the outcome as well.  For example, the price of the product that was purchased can be added to the event code.  This will allow you to use Facebook to track sales numbers,  measure how well your traffic is being converted to sales and how much each website visitor is worth!

Testing that your Facebook pixel is working

To check that your Facebook pixel is installed and firing correctly, you’ll need to send some traffic to it.  In another browser window, go ahead and navigate your website and click around to a few pages.

Then go back over to your business manger and see if it fired.  Click ‘People and Assets‘ then ‘Pixels‘ and click the pixel that you created.  If the status is green and active, your pixel is good to go.

If it is inactive you’ll need to double check that the pixel is in the header of your app or website and that you copied and pasted the entire code.



You may also check in the events manager as well to see if activity has been recorded.


Manage your social media like a boss

Free social media dashboard makes it easy to find and create content for your brand


Assigning your Facebook pixel to an ad account

To really harness the power of tracking using your Facebook pixel, you’ll want to connect it to your Facebook ad account.  This way when you run ads sending traffic to your website, you’ll be able to track your return on investment right from with your dashboard.

  1. in the Business Manager Settings -> People and Assets -> Pixels screen click ‘assign ad account‘.
  2. select the ad account that you’ve already set up that you need associated with this pixel

Assiging partners to your pixel

If another person or agency is managing your ads for you, you’ll need to assign them as a partner to your pixel.  In the same screen click Assign Partner and select a role for the other party.  If they will just be viewing data select Pixel Analyzer.

If they are an agency or if they will be managing the pixel with you, select Pixel Editor.  You’ll then need to add their business ID.  They would be able to find this under the Business Info tab in their Business Settings.

You may also add and remove partners and manage their access from the Partners tab in your business manager.  Once you’ve added a partner you would click the Assign Assets button to give them access to pixels, business pages, Instagram accounts, ad accounts and more.

And that’s it!  Now you can use your website to leverage the real power of Facebook and Instagram.  Using Facebook Analytics you can see what type of people are visiting your website.  With the event manager you can get an overview of how people are engaging with your website.

If this post helped you, let me know in the comments below.  Be sure to share this guide with your team or anyone who may be handling your social media.

Stay tuned for a guide on installing and setting up Google Analytics by opting in to Alavon Insiiders below.



Get on the IInside
Receive our latest content, strategies, secrets, tips and product updates sent straight to your inbox
Share on facebook
Share on google
Share on twitter
Share on linkedin
Share on pinterest

Bryan McNeil-Walker

Bryan "Don Suave '" McNeil-Walker is a marketing strategist and music producer. Through his digital marketing agency Alavon365, Bryan has generated over a million dollars in revenue for his small business clients. Coming from a musical family, (his father was lead saxophone player for Rock and Roll pioneer Little Richard) Bryan has always had a rare talent for making music. Along his journey he found that artists like him who have a disdain for the music industry have to master marketing as a necessity. His passion has lead to falling in love with marketing and coming up with the S.A.M. Method; a digital marketing framework that any creative entrepreneur or business owner can use to grow their business. Bryan is also co-founder of Uncord Technologies which has built an order ahead app for food trucks.