Title: FB Pixel Code
Last modified: September 17, 2020

---

# FB Pixel Code

 *  Resolved [MattAdams](https://wordpress.org/support/users/mattadams/)
 * (@mattadams)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/fb-pixel-code/)
 * Hi,
 * Where can I add a FB Checkout pixel code? I only need Blank Slate for one page
   and can’t seem to find another working plugin that will add a script to only 
   one page.
 * Thanks,
 * Matt
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffb-pixel-code%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Aaron Reimann](https://wordpress.org/support/users/areimann/)
 * (@areimann)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/fb-pixel-code/#post-13419206)
 * I looked at the source code of the page you gave us and I see this in the header:
 *     ```
       <!-- Facebook Pixel Code -->
       <script>
       !function(f,b,e,v,n,t,s)
       {if(f.fbq)return;n=f.fbq=function(){n.callMethod?
       n.callMethod.apply(n,arguments):n.queue.push(arguments)};
       if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
       n.queue=[];t=b.createElement(e);t.async=!0;
       t.src=v;s=b.getElementsByTagName(e)[0];
       s.parentNode.insertBefore(t,s)}(window, document,'script',
       'https://connect.facebook.net/en_US/fbevents.js');
       fbq('init', '371292530527416');
       fbq('track', 'PageView');
       </script>
       <noscript><img height="1" width="1" style="display:none"
       src="https://www.facebook.com/tr?id=371292530527416&ev=PageView&noscript=1"
       /></noscript>
       <!-- End Facebook Pixel Code -->	
       ```
   
 * So, I think you are all set. Blank Slate still calls in all the header and footer
   code. Even though the page looks “Blank”, it still enqueues (sp?) things properly.
 *  Thread Starter [MattAdams](https://wordpress.org/support/users/mattadams/)
 * (@mattadams)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/fb-pixel-code/#post-13440742)
 * Hi Aaron.
 * Thank you for your reply.
 * The pixel code you posted is my Base Pixel, which is on every page on my website
   and is placed in the theme’s settings.
 * The pixel code I needed to see was the Initiate Checkout pixel, which I not only
   had wrong but which also needs to be set up as a pixel event using a tool in 
   the Ads Manager.
 * Apparently it’s just enough to put the code on the page anymore, a pixel event
   needs to also be set up. The pixels shows up just fine after that.
 * So basically the good news is your plugin is working for me after all.
 * Thanks again,
 * Matt
 *  Plugin Author [Aaron Reimann](https://wordpress.org/support/users/areimann/)
 * (@areimann)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/fb-pixel-code/#post-13440759)
 * Gotcha! Makes sense. Yeah, Blank Slate doesn’t make any modifications to that,
   so you’re set.
 * Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘FB Pixel Code’ is closed to new replies.

 * ![](https://ps.w.org/blank-slate/assets/icon-256x256.png?rev=1654426)
 * [Blank Slate](https://wordpress.org/plugins/blank-slate/)
 * [Support Threads](https://wordpress.org/support/plugin/blank-slate/)
 * [Active Topics](https://wordpress.org/support/plugin/blank-slate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/blank-slate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/blank-slate/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Aaron Reimann](https://wordpress.org/support/users/areimann/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/fb-pixel-code/#post-13440759)
 * Status: resolved