Install the Facebook pixel without global website slowdown.

WordPress Mobile Speed


There are no affiliate links on PagePipe.

I cannot install the Facebook pixel without my website slowing down. Do you have any advice on a plugin that will load it after the website has loaded?

This would be called “Lazy loading the Facebook pixel.” Or “deferral” of load.

First ask yourself before you go down this merry path, “Do I really need the Facebook tracking or metrics to make money?”

One way is to edit the header, copy the Facebook pixel code and paste it in the footer. That is fine if looking at code doesn’t frighten you. Use the WordPress plugin Insert Headers and Footers. Be careful when moving or deferring code as you can easily break your site!

This procedure is explained at this blog:


Steve Teare
performance engineer
June 2021


PagePipe Site Tuning Services for Speed

Instead of band-aid approaches, we drill down to the root cause of your slow site. This is origin optimization. Also known as site tuning. To do this, we analyze site components:

  • Hosting
  • Theme
  • Plugins
  • Scripts and third-party services.
  • Images and media library.
  • We minimize globally loading plugin effects.

Find out more details about Site TuningGet Speed!