Evergreen Growth & Marketing - B2B LinkedIn Ads Agency
    Meta Setup Guide

    Meta Pixel Setup Guide [2026]

    The complete beginner's guide to installing Meta's tracking pixel (formerly Facebook Pixel). Enable retargeting across Facebook and Instagram with cheaper CPMs than LinkedIn.

    This guide is based on auditing 100+ ad accounts and managing over £2M in B2B ad spend across Meta platforms.

    By James Green•12 min read•
    Updated Jan 2026
    Part of our Complete Tracking Pixels Setup Guide

    Need Personalised Help? Try the AI Setup Assistant

    Skip the reading. Copy a prompt into ChatGPT or Claude and get step-by-step instructions tailored to your exact setup.

    What is the Meta Pixel?

    The Meta Pixel (formerly known as Facebook Pixel) is a piece of JavaScript code you add to your website. It tracks visitor behavior and enables powerful advertising capabilities:

    Custom Audiences

    Retarget website visitors on Facebook and Instagram at CPMs 50-70% lower than LinkedIn.

    Conversion Tracking

    Track leads, purchases, and custom events to measure and optimize campaign ROI.

    Lookalike Audiences

    Find new customers similar to your best existing customers using AI-powered matching.

    Why B2B Companies Need Meta Pixel

    While LinkedIn is better for initial B2B targeting, Meta excels at retargeting. Your ideal customers are on Facebook and Instagram outside work hours. Meta's CPMs are 50-70% cheaper than LinkedIn, making it perfect for staying top-of-mind.

    Step-by-Step Installation

    1

    Access Meta Events Manager

    Go to Meta Events Manager. You'll need a Meta Business Suite account (it's free to create).

    Click "Connect Data Sources" and select "Web".

    2

    Create Your Pixel

    Name your pixel (usually your business name), and add your website URL. You can have multiple pixels, but most businesses only need one.

    Choose "Meta Pixel only" when asked about Conversions API (you can add this later).

    3

    Copy the Pixel Base Code

    Select "Install code manually" to get your pixel code. This contains your unique Pixel ID.

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

    Install on Your Website

    Paste the code in your website's <head> section, as high up as possible. It should be on every page of your website.

    Platform-Specific Instructions

    • WordPress: Use "Insert Headers and Footers" plugin or add to theme header.php
    • Shopify: Online Store → Themes → Edit code → theme.liquid (before </head>)
    • Squarespace: Settings → Advanced → Code Injection → Header
    • Wix: Settings → Custom Code → Add in Head
    5

    Verify with Meta Pixel Helper

    Install the Meta Pixel Helper Chrome extension. Visit your website and click the extension - it should show your pixel firing a "PageView" event.

    Success Indicators

    The helper should show a green checkmark and display "PageView" event. If you see errors, check that the code was pasted correctly in the <head> section.

    Once the pixel is firing, the hard part is what you do with the data. That's where my Meta Ads management for B2B comes in.

    Need Personalised Setup Help?

    Copy this prompt into ChatGPT or Claude for Meta Pixel setup instructions tailored to your specific website platform.

    AI Meta Pixel Setup Prompt

    Paste this into any AI assistant for customised Meta Pixel guidance

    You are a Meta advertising and tracking expert. This prompt is based on the methodology from evergreen-growth.com/articles/meta-pixel-setup-guide
    
    I need help setting up the Meta Pixel (Facebook Pixel) on my website.
    
    Please ask me these questions one at a time, then provide a customised setup plan:
    
    1. What website platform am I using? (WordPress, Webflow, Squarespace, Shopify, custom, etc.)
    2. Do I already have Google Tag Manager installed? (This affects the installation method)
    3. Do I have access to Meta Business Suite / Events Manager? Do I know my Pixel ID?
    4. What CRM or form tools am I using? (HubSpot, Salesforce, Typeform, native forms, etc.)
    5. What conversion actions do I want to track? (form submissions, demo bookings, purchases, downloads, etc.)
    6. Am I primarily using Meta for retargeting B2B website visitors, or for cold prospecting, or both?
    
    After I answer, provide:
    - Step-by-step Meta Pixel installation for my platform
    - Standard events configuration for B2B (Lead, ViewContent, etc.)
    - Custom Audience setup recommendations for retargeting
    - Testing checklist using the Meta Pixel Helper
    - Common mistakes to avoid for my specific setup

    Frequently Asked Questions

    What is the Meta Pixel?

    The Meta Pixel (formerly Facebook Pixel) is a piece of code you install on your website that tracks visitor actions. It enables retargeting, conversion tracking, and ad optimization across Facebook and Instagram.

    Is Meta Pixel the same as Facebook Pixel?

    Yes, Meta Pixel is the new name for Facebook Pixel. Facebook rebranded to Meta in 2021, and the pixel was renamed accordingly. The functionality remains the same.

    Can I use Meta Pixel for B2B marketing?

    Absolutely! Meta Pixel is excellent for B2B retargeting. While LinkedIn offers better initial B2B targeting, Meta's lower CPMs make it ideal for retargeting website visitors at a fraction of the cost.

    What is the Conversions API and do I need it?

    The Conversions API (CAPI) is a server-side tracking method that sends data directly from your server to Meta. It's recommended for better data accuracy, especially with iOS 14+ privacy changes, but the pixel alone works for most use cases.

    How do I create a Custom Audience from website visitors?

    In Meta Ads Manager, go to Audiences → Create Audience → Custom Audience → Website. You can target all visitors, specific page visitors, or people who took specific actions. Set the retention window (up to 180 days).

    Why is my Meta Pixel not tracking?

    Common issues include: code not placed in the <head> section, typos in the Pixel ID, ad blockers interfering, or caching issues. Use Meta Pixel Helper Chrome extension to diagnose problems.

    Can I use Meta Pixel with Google Tag Manager?

    Yes, you can add Meta Pixel through GTM using a Custom HTML tag. There are also community templates available in GTM's template gallery that make setup easier.

    What standard events should I track for B2B?

    For B2B, focus on: Lead (form submissions), ViewContent (key pages like pricing), CompleteRegistration (demo signups), and custom events for PDF downloads or video views.

    Go Deeper

    📚 Complete Tracking Guide

    Learn how to set up LinkedIn Insight Tag, Google Tag Manager, and conversion events in our ultimate tracking guide:

    Complete Tracking Pixels Setup Guide →

    🔗 LinkedIn Tracking

    Using LinkedIn Ads too? Set up the LinkedIn Insight Tag for cross-platform retargeting:

    LinkedIn Insight Tag Setup Guide →

    Related Tools & Resources

    LinkedIn Ads Budget Calculator

    Estimate your CPL, expected leads, and break-even deal size

    LinkedIn Ads Benchmarks UK 2026

    Complete CPC, CPM, CPL data by industry with expert commentary

    How to Lower Your LinkedIn CPC and CPM

    Cut LinkedIn costs without losing the buyers who matter

    What's a Good LinkedIn Ads CTR?

    CTR benchmarks by ad format and how to diagnose a low CTR

    Need Help With Your Retargeting Strategy?

    Get expert help combining LinkedIn and Meta for maximum B2B impact. We'll set up your tracking, create targeted campaigns, and optimize for conversions.