Skip to content
Facebook Pixel

Facebook Pixel, meet your website.

Optimize your Facebook Ads with the Facebook Pixel integration on Pagecloud. Facebook Pixel allows you to track conversions and user behavior on your site, helping you understand and improve the effectiveness of your Facebook Ads.

Add Facebook Pixel to your site

  1. Start with Facebook Pixel

    Sign in to Facebook Pixel and find the embed code for what you want to show. Some plans don’t include embedding, so check yours.

  2. Paste it. Place it.

    Paste the code into your Pagecloud AI chat and say where it should go, like “Add this to the Contact page, under the address.” If Facebook Pixel says where the code belongs, such as the page header, mention that too.

  3. Make sure it works

    Check the page on desktop and mobile. Some tools only show their embed once you add your website’s address in their settings.

Facebook Pixel is a third-party service. It runs on your Facebook Pixel account, which manages its own data, settings and subscriptions.

Pagecloud Classic setup steps

For sites built with Pagecloud Classic, our original builder.

Add Facebook Pixel Site Wide

  1. Copy your Facebook Pixel ID using CMD+C (on a Mac) or CTRL+C (on Windows). 
  2. From your Sites Dashboard, select the site you'd like to manage.
  3. Click the "Site Settings" tab along the top of the page.
  4. Click "Analytics" on the left of the page.
  5. Select the Facebook Pixel ID box and paste your Facebook Pixel ID using CMD+V (on a Mac) or CTRL+V (on Windows). 
  6. Click "Add" to have your Facebook Pixel added throughout your site.

Add Facebook Pixel to a Page

  1. Copy the embed code from your Facebook account.
  2. Navigate to your PageCloud site in editing mode. 
  3. Paste the embed code provided.


Here is an example of what your code would look like:

<!-- 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', '9999999999999');
fbq('track', "Something");</script>
<noscript><img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id=9999999999999&ev=PageView&noscript=1"/></noscript>
<!-- End Facebook Pixel Code -->

You will want to add this Facebook Pixel code to each page that you want Facebook pixel to track. 

More information on Facebook Pixel can be found in Facebook's Implementation guide.

Good to know

What’s an embed code?
A short piece of code a tool gives you so its content can appear on another website, such as a booking form, a video, a map or a sign-up form. The tool keeps running it; your page shows it.
Where do I find it?
In the tool’s settings, usually under Share, Embed or Install. If you can’t spot it, search the tool’s help center for “embed”.
Will it add cookies to my site?
Some tools do. If yours does, your site’s cookie or privacy notice may need to mention it. The tool’s help center will say what it uses.
Can I change or remove it later?
Yes. Ask Pagecloud AI to move it, swap in new code or take it off the page.
What if my tool isn’t listed?
If it gives you an embed code, the same steps apply. Browse all integrations to see what’s covered.

A website ready for Facebook Pixel.

Describe your business and Pagecloud AI builds your website. Then paste your Facebook Pixel embed code and ask the AI to place it.

Create your website

It’s free to create!