How to Install the Facebook Pixel with Google Tag Manager to Allow You to Get in Front of Your Followers Again and Again

What is the Facebook Pixel and why do you want to use it?

The Facebook Pixel is a piece of code that lives on your website and sends tracking information back to Facebook. You want this on your site, so Facebook can build re-marketing audiences for you. Re-marketing audiences are the key to digital marketing to get in front of your most familiar followers again and again. This is what ultimately leads to those visitors doing business with you. 

Why do you want to use Google Tag Manager to install your Facebook Pixel?

Google Tag Manager (GTM) will help speed up implementation of your tags, give more security in tag firing, and allow your pages to load faster, among many reasons. When you install GTM, you no longer have to deal with code on your website. You simply add tags from the GTM dashboard on Google.

Create and Install Google Tag Manager on WordPress

  1. Create a Google Tag Manager (GTM) account at that you associate with your Gmail and Google Analytics accounts.
  2. Setup your account and name it.
  3. Setup a Container and name it. This is where your tracking codes will live.
  4. Choose WEB, then CREATE.
  5. Open a new tab on your brower.
  6. Go to your WordPress Dashboard to Plugins.
  7. Install the Tracking Code Manager plugin by IntellyWP.
  8. Once installed, look at your plugins, locate Tracking Code Manager, then click Settings.
  9. Click the green button to Add new Tracking Code. If this is your first time to add a tracking code, follow the prompts to create one.
  10. Go back to Google Tag Manager (GTM).
  11. Click on the ADMIN tab inside your Container.
  12. Click Install Google Tag Manager. This is the code you will install on your website.
  13. Copy the code in the top area to your clipboard.
  14. Go back to your website to add your GTM tracking codes. You will add them separately. Make sure you check the Active box to make the code active on your site.
  15. Paste the first code into the black area, then choose Before </HEAD> from the dropdown box below the black area.
  16. Check Standard code tracking in your Wordpress.
  17. Check In the whole website (pages, posts and archives).
  18. Save the tracking code.
  19. Click the green button again to add a new tracking code.
  20. Paste the second code in the black area, then choose After <BODY>.
  21. Check Standard code tracking in your Wordpress.
  22. Check In the whole website (pages, posts and archives).
  23. Save the tracking code.

Install the Chrome Facebook Pixel Helper

The Facebook Pixel Helper extension has to be used on the Google Chrome browser. This extension is necessary to be able to verify if your Pixel is installed correctly on your website pages.

  1. Use the Google Chrome browser for this exercise.
  2. Search Facebook Pixel Helper on Google or visit
  3. Click ADD TO CHROME to add the extension.
  4. Notice the helper icon in your browser bar at the top.
  5. When you navigate to a webpage, the icon will turn blue and have a number on it.
  6. Click on it to see what Facebook Pixel events are installed on that page.

This is what the Facebook Pixel Helper looks like. Note that the PageView pixel has been installed properly, as it shows up in green. Whereas, the ViewContent pixel has not been installed properly, as it shows up in red with an error message. This is how you know if your pixel has been installed properly or not.

The ViewContent pixel is a Standard Event pixel that is not covered in this blog post. It is covered in the Make Facebook Your ATM full course.

Create, Install, and Verify Your Facebook Pixel

  1. Go to Facebook Ads Manager.
  2. Click on the menu bar at the top left, then click All Tools at the bottom left to open all the menu options.
  3. Find Pixels in the Measure & Report
  4. Once inside the Pixels area, click CREATE PIXEL if you haven’t created it before. If you have created one before, then click on the name of your pixel first, then click Set up.
  5. Then choose to install your pixel manually.
  6. DO THIS IF YOU DID NOT INSTALL GTM: If you choose to paste the code manually, and you installed the Tracking Code Manager plugin on your Wordpress site, you can paste the code right into that plugin using Before </HEAD> as your dropdown option and put it on every page of your site.
  7. DO THIS IF YOU INSTALLED GTM: If you installed the Google Tag Manager on your site, then move forward with the rest of these instructions by first choosing to use Tag Manager. Select the Google Tag Manager on the next screen.
  8. Go through the Quick Install instructions for your Facebook Base Pixel.
  9. Select your Google Tag Manager Account and then your Container.
  10. Add a New Tag, then name it Facebook Base Pixel.
  11. Choose PageView as the Event.
  12. Firing Options are Once Per Page.
  13. Firing Triggers are All Pages.
  14. Click Add.
  15. Click Publish.
  16. Go to your website URL and click on your Facebook Pixel Helper in the Google Chrome browser tool bar. Your pixel will show up there as installed.

Create Re-Marketing Audiences on Facebook

Re-marketing audiences can now be created on Facebook for you to get in front of your potential customers again and again. This is key to making digital sales.

If you'd like to learn more about Facebook marketing and advertising with Sally Hendrick, consider Make Facebook Your ATM, a digital course that teaches you what you need to know to be successful with Facebook ads. Not only can you get access to the course, you can upgrade to get access to Sally's mastermind with live Q&A calls and additional educational materials and trainings only for mastermind members.


Get content-making tips and my FUNNY HOLIDAYS calendar for FREE for daily content inspiration!