How To Add The Facebook Pixel To WordPress Without A Plugin

by | Oct 24, 2018

Adding the Facebook Pixel is a fundamental step every business owner must take if they want to do Facebook advertising like a pro and to stop using the Boost Post button.

Follow our 8 easy steps to add the Facebook pixel to WordPress without a plugin to reduce unnecessary plugins on your website, thus improving your SEO.

8 Easy Steps To Add The Facebook Pixel To WordPress

  1. Open up your Facebook Business Manager
  2. Open the menu with the 3 white lines and click on “Pixels”
  3. In the top right hand side click “Set up” and then select the middle option “Manually Install the Code Yourself. Copy the code found under step 2 by clicking on the window. It should flash green.
  4. Now login to your WordPress website
  5. In the left-hand menu navigate to Appearance > Editor
  6. In the right-hand sidebar open your Theme Header file, this will be identified by a (header.php) filename
  7. In the section of code that just opened up look for <head> create a new line by hitting enter
  8. Paste the code you’ve copied from Facebook in Step 3 and hit Update File at the bottom of the screen.

Voila! You’re done. You’ve just manually installed the Facebook Pixel code into your WordPress website without using plugins or other integration managers. This will reduce the load on your server, improving on the time it takes to get your website up, ultimately improving the experience of site visitors and pushing your Google rankings up.

Do you need any more reasons why you should install the Facebook Pixel manually? Use our easy steps and to it error free, without crashing your site.

Subscribe to Keep Up With Our
Guides & Insights!

About the Author - 3am Ideas

3am Ideas is digital marketing agency focussing on providing data-driven services that get measurable and trackable results.

Based in Perth, Western Australia, we've been looking after small and medium-sized businesses since 2014, having worked with clients all over the country.

Our aim is to adopt the role of Virtual Marketing Officer for you, becoming part of your team, sharing in the successes, the blood, sweat and tears.

We're here for you. Let's get the job done!