Evergreen Growth & Marketing - B2B LinkedIn Ads Agency
    Complete Tutorial

    How to Set Up LinkedIn Insight Tag & Meta Pixel [2026 Guide]

    A complete beginner's guide to installing tracking pixels on your website. No coding experience required. Step-by-step instructions with screenshots.

    By James Green•22 min read•

    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.

    This guide is based on auditing 100+ tracking setups and configuring pixels for B2B websites across WordPress, Webflow, Squarespace, and custom platforms.

    What Are Tracking Pixels (And Why Should You Care)?

    Imagine running a shop but having no idea who walks in, what they look at, or whether they come back. That's exactly what it's like running digital ads without tracking pixels installed.

    Simple explanation:

    A tracking pixel is a tiny, invisible piece of code that sits on your website. When someone visits your site, it quietly tells LinkedIn or Meta "hey, this person was here." That's it. No magic, just a digital "welcome mat" that keeps track of foot traffic.

    The "Flying Blind" Problem

    Without Tracking Pixels:

    • ✗No idea if your ads actually drive website visits
    • ✗Can't show ads to people who already visited your site
    • ✗No way to track if someone filled out a form after seeing an ad
    • ✗Wasting money on people who'll never buy

    With Tracking Pixels:

    • See exactly which ads drive traffic to your site
    • Retarget visitors with specific follow-up ads
    • Track form submissions, calls, and purchases
    • Optimise ads based on actual results

    What You'll Learn in This Guide

    1

    LinkedIn Insight Tag Setup

    Step-by-step installation for LinkedIn tracking

    2

    Meta Pixel Setup

    Complete Facebook/Instagram pixel installation

    3

    Google Tag Manager Method

    The "pro" way to manage all your tracking

    4

    Conversion Event Tracking

    Track form fills, button clicks, and more

    5

    Troubleshooting Guide

    Fix common problems and verify everything works

    6

    Platform-Specific Instructions

    WordPress, Squarespace, Wix, Webflow & more

    🎓

    New to LinkedIn or Meta Ads?

    Tracking is just one piece of the puzzle. Get the full picture with our beginner tutorials:

    Direct Installation vs Google Tag Manager

    Before we dive in, you need to choose your installation method. Don't worry - both work great.

    Quick Comparison: Direct Install vs GTM

    Choose the right installation method for your needs. Both work well—the difference is in long-term management.

    CriteriaDirect InstallationGoogle Tag Manager ⭐
    Setup Time
    10-15 minutes
    25-30 minutes
    Technical Skill Required
    Low (copy/paste)
    Medium
    Best For
    Single pixel, testing
    Multiple pixels, long-term
    Future Updates
    Edit website code
    No code changes needed
    Version Control
    No
    Yes (undo mistakes)
    Testing & Preview
    Manual only
    Built-in preview mode
    Adding New Pixels
    Edit code each time
    Add in dashboard (no code)

    Our recommendation: Use Google Tag Manager if you run ads on multiple platforms (LinkedIn, Meta, Google). Use Direct Installation if you're just testing one platform or need the fastest possible setup.

    Simpler

    Direct Installation

    Paste the pixel code directly into your website's header. Quick, simple, no extra tools needed.

    Faster initial setup (10-15 minutes)
    No extra accounts needed
    Good for 1-2 tracking pixels

    Best for:

    Beginners, single platform users, or quick testing

    Recommended

    Google Tag Manager

    A central "control panel" for all your tracking. Install GTM once, then add/remove pixels anytime without touching your website code.

    Manage all tracking from one place
    Easy to add new pixels later
    Built-in testing & preview mode
    Version control (undo mistakes)

    Best for:

    Multiple ad platforms, long-term tracking, growing businesses

    Quick Decision Guide

    "I'm just testing LinkedIn Ads for the first time"

    → Start with Direct Installation. You can always switch to GTM later.

    "I run ads on LinkedIn AND Facebook/Meta"

    → Use Google Tag Manager. Managing multiple pixels is much easier.

    "I might add Google Ads or TikTok later"

    → Definitely start with GTM. Future-proof your setup from day one.

    "My website is on WordPress/Squarespace/Wix"

    → Either works! These platforms have plugins for both methods.

    💡 Pro Tip

    If you're unsure, choose Google Tag Manager. It takes about 10 extra minutes to set up initially, but saves hours of headaches later. Plus, it's completely free.

    Check your tag is firing (Pixel Helper and friends)

    Installed it? Spend two minutes proving it works before you spend a penny on ads. A lot of "my ads aren't tracking" problems I see come down to a tag that was never firing in the first place.

    Meta Pixel

    1. 1Install the free Meta Pixel Helper extension for Chrome (it's made by Meta).
    2. 2Open your website. The icon shows a number when your Pixel fires. Click it and you should see PageView with a green tick.
    3. 3For extra certainty, open Events Manager, pick your Pixel, go to Test events and browse your site. Events show up live.

    LinkedIn Insight Tag

    LinkedIn doesn't make an official Pixel Helper extension, so use one of these instead:

    1. 1The 30-second check: open your site in Chrome, right-click, Inspect, open the Network tab, type px.ads.linkedin.com into the filter and reload. If requests appear, the tag is firing.
    2. 2In Campaign Manager, open the Insight Tag page and check your domain is listed. It can take up to 24 hours to appear after the first visit.
    3. 3Using Google Tag Manager? Click Preview, load your site and check the LinkedIn tag is listed under "Tags fired".

    Nothing showing? Accept cookies on your cookie banner first (a rejected banner can block tags), switch off ad blockers for the test, and make sure you published your GTM container, not just saved it.

    LinkedIn Insight Tag Setup

    Complete step-by-step installation guide

    AGetting Your Insight Tag Code

    1

    Log into LinkedIn Campaign Manager

    Go to linkedin.com/campaignmanager and sign in with your LinkedIn account.

    2

    Navigate to Analyze → Insight Tag

    In the left sidebar, click "Analyze", then select "Insight Tag" from the dropdown menu.

    3

    Click "See my Insight Tag" or "Install my Insight Tag"

    You'll see a screen with your unique Insight Tag code. This is what we need to copy.

    4

    Copy Your Partner ID (Important!)

    Look for a number called "Partner ID" in your tag code. It looks like this: partner_id: "123456". You'll need this number if using Google Tag Manager.

    Your Insight Tag code will look something like this:

    <script type="text/javascript">
    _linkedin_partner_id = "123456";
    window._linkedin_data_partner_ids = 
      window._linkedin_data_partner_ids || [];
    window._linkedin_data_partner_ids.push(_linkedin_partner_id);
    </script>
    <script type="text/javascript">
    (function(l) { ... })();
    </script>
    <noscript>
    <img height="1" width="1" style="display:none;" 
      alt="" src="https://px.ads.linkedin.com/..." />
    </noscript>

    BInstall on Your Website

    Direct Installation (Paste in Header)

    1

    Copy the entire Insight Tag code from LinkedIn

    All three script blocks - everything from the first <script> to </noscript>

    2

    Paste it just before the closing </head> tag

    This ensures the pixel loads on every page of your site

    Platform-Specific Instructions:

    WordPress:

    Install "Insert Headers and Footers" plugin → Settings → Insert Headers and Footers → Paste in "Scripts in Header" box → Save

    Squarespace:

    Settings → Advanced → Code Injection → Header → Paste code → Save

    Wix:

    Settings → Tracking & Analytics → + New Tool → Custom → Paste in "Head" section

    Webflow:

    Project Settings → Custom Code → Head Code → Paste → Publish

    Shopify:

    Online Store → Themes → Edit code → theme.liquid → Paste before </head> → Save

    CVerify It's Working

    1

    Install LinkedIn Insight Tag Helper (Chrome Extension)

    Download the free LinkedIn Insight Tag Helper from the Chrome Web Store.

    2

    Visit your website

    Open your website in Chrome. Click the LinkedIn Insight Tag Helper icon in your browser toolbar.

    3

    Check for the green checkmark

    If everything is working, you'll see your Partner ID and a confirmation that the tag is firing.

    Success!

    If you see your Partner ID in the helper, your LinkedIn Insight Tag is properly installed. It may take up to 24 hours for data to appear in Campaign Manager.

    Common Mistake to Avoid

    Don't install the Insight Tag code more than once! If you use GTM, don't also paste the code directly into your website. Double-firing the pixel can cause tracking issues and inflate your numbers.

    🔗 Go Deeper: LinkedIn Insight Tag

    For advanced LinkedIn tracking including event-specific pixels and troubleshooting, see our dedicated guide:

    Complete LinkedIn Insight Tag Setup Guide

    Meta Pixel Setup

    For Facebook & Instagram advertising

    AGetting Your Meta Pixel Code

    1

    Go to Meta Events Manager

    Visit business.facebook.com/events_manager and log in with your Facebook account.

    2

    Click "Connect Data Sources" or find your existing Pixel

    If you already have a pixel, click on it. If not, click "Connect Data Sources" → "Web" → "Meta Pixel" → "Connect".

    3

    Name your Pixel and enter your website URL

    Give it a name like "My Website Pixel" and enter your website address. Click "Continue".

    4

    Choose "Install code manually"

    Meta will offer integration options. Choose "Install code manually" to get the base pixel code.

    5

    Copy your Pixel ID

    Your Pixel ID is a 15-16 digit number that looks like this: 1234567890123456

    Your Meta Pixel code will look something like this:

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

    BInstall on Your Website

    Direct Installation (Paste in Header)

    1

    Copy the entire Meta Pixel code

    From <!-- Meta Pixel Code --> to <!-- End Meta Pixel Code -->

    2

    Paste it just before the closing </head> tag

    Same place as the LinkedIn tag - they can sit next to each other

    Platform-Specific Instructions:

    WordPress:

    Use "Insert Headers and Footers" plugin OR install "PixelYourSite" plugin for easier management

    Squarespace:

    Settings → Advanced → Code Injection → Header → Paste code → Save

    Wix:

    Marketing & SEO → Marketing Integrations → Facebook Pixel → Connect (native integration available!)

    Webflow:

    Project Settings → Custom Code → Head Code → Paste → Publish

    Shopify:

    Settings → Customer Events → Add custom pixel → Or use native Meta integration in Sales Channels

    CVerify It's Working

    1

    Install Meta Pixel Helper (Chrome Extension)

    Download the free Meta Pixel Helper from the Chrome Web Store.

    2

    Visit your website

    Open your website in Chrome. The helper icon will turn blue and show a number if the pixel is detected.

    3

    Click the helper to see details

    You should see your Pixel ID and "PageView" event. Green checkmark = success!

    Success!

    Your Meta Pixel is working. You can also check Events Manager - the "Test Events" tab lets you see real-time activity.

    iOS 14+ Note

    Since iOS 14, Apple requires apps to ask permission before tracking. This means some iPhone/iPad users won't be tracked by your pixel. This is normal - your data might show 15-30% fewer conversions than actually occurred. Meta accounts for this in their reporting.

    📘 Go Deeper: Meta Pixel

    For Conversions API setup, custom events, and B2B retargeting strategies, see our complete Meta guide:

    Complete Meta Pixel Setup Guide

    Google Tag Manager Setup

    Complete beginner walkthrough

    What is Google Tag Manager? Think of it as a "control panel" for all your tracking codes. Instead of pasting code directly into your website (and having to edit your site every time you want to change something), you install GTM once and then manage everything from a simple web interface.

    1Create Your GTM Account

    a

    Go to Google Tag Manager

    Visit tagmanager.google.com and sign in with your Google account.

    b

    Click "Create Account"

    Fill in the following:

    • • Account Name: Your company name
    • • Country: Your country
    • • Container name: Your website URL (e.g., "mywebsite.com")
    • • Target platform: Select "Web"
    c

    Accept the Terms of Service

    Click "Yes" to accept Google's terms. You'll then see your container code.

    2Install GTM on Your Website

    GTM gives you two code snippets. You need to install BOTH on every page of your website:

    Code Snippet #1 (goes in the <head>)

    <!-- Google Tag Manager -->
    <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
    new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
    j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
    'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
    })(window,document,'script','dataLayer','GTM-XXXXXXX');</script>
    <!-- End Google Tag Manager -->

    Code Snippet #2 (goes right after opening <body>)

    <!-- Google Tag Manager (noscript) -->
    <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-XXXXXXX"
    height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
    <!-- End Google Tag Manager (noscript) -->

    Platform-Specific Installation:

    WordPress:

    Install "GTM4WP" plugin → Settings → Google Tag Manager → Enter your GTM ID (GTM-XXXXXXX) → Save

    Squarespace:

    Settings → Advanced → Code Injection → Paste snippet #1 in Header, snippet #2 in Footer

    Wix:

    Marketing & SEO → Marketing Integrations → Google Tag Manager → Connect → Enter ID

    Webflow:

    Project Settings → Integrations → Google Tag Manager → Paste your GTM ID → Publish

    Shopify:

    Settings → Customer Events → Add Google Tag Manager → Enter your GTM ID

    Custom HTML:

    Edit your template files directly - add code #1 before </head> and code #2 right after <body>

    3Verify GTM is Installed

    Use Tag Assistant Legacy (Chrome Extension)

    Install Tag Assistant Legacy, visit your website, and click the extension icon. You should see your GTM container listed.

    Use GTM Preview Mode

    In GTM, click "Preview" → Enter your website URL → A debug panel will appear at the bottom of your site showing which tags fire.

    4Add Your Tracking Pixels to GTM

    Now that GTM is installed, you can add LinkedIn and Meta pixels without touching your website code again!

    LinkedIn Insight Tag

    See the LinkedIn section above for GTM setup steps

    Meta Pixel

    See the Meta section above for GTM setup steps

    Important GTM Tips

    • Always use Preview mode before publishing to test your tags
    • Click "Submit" to publish your changes - nothing goes live until you submit!
    • Add version notes when publishing so you can track what changed
    • You can always revert - GTM keeps version history if something breaks

    Setting Up Conversion Events

    Track form submissions, button clicks, and more

    What is a "Conversion" Anyway?

    A conversion is simply an action you want people to take on your website. It could be filling out a contact form, clicking a phone number, downloading a brochure, or booking a demo.

    📝

    Soft Conversion

    Newsletter signup, content download

    📞

    Medium Conversion

    Contact form, demo request

    💰

    Hard Conversion

    Sale, signed contract, payment

    1Create a Conversion in LinkedIn Campaign Manager

    Go to Analyze → Conversion Tracking

    In LinkedIn Campaign Manager, click "Analyze" in the left sidebar, then "Conversion Tracking"

    Click "Create Conversion"

    Choose your conversion type

    • Online conversion: Website actions (most common for B2B)

    • Offline conversion: Import CRM data later

    2Configure Your Conversion

    For a Thank You Page Conversion:

    1. 1. Select "Page load" as the trigger
    2. 2. Enter your thank you page URL (e.g., /thank-you or /confirmation)
    3. 3. Choose "URL equals" or "URL contains"
    4. 4. Give it a name like "Contact Form Submission"

    For an Event-Based Conversion (Button Click):

    1. 1. Select "Image pixel" option
    2. 2. Copy the provided pixel code
    3. 3. Add to your button's onclick event OR use GTM (see below)

    3Track Button Clicks via GTM (Advanced)

    To track specific button clicks (like a "Submit" button):

    1. 1In GTM, go to Triggers → New → Click - All Elements
    2. 2Set "This trigger fires on" to "Some Clicks"
    3. 3Add condition: Click Text contains "Submit" (or your button text)
    4. 4Create a new LinkedIn Insight Tag with this trigger
    5. 5Add the conversion-specific pixel code from LinkedIn

    Pro Tip: Test Your Conversions

    After setting up conversions, always test them! Fill out your own form and check:

    • LinkedIn: Conversion shows in Campaign Manager → Conversion Tracking
    • Meta: Event shows in Events Manager → Test Events tab
    • GTM: Preview mode shows the tag firing on form submit

    Troubleshooting Common Problems

    Quick fixes for the most common issues

    Final Setup Checklist

    Make sure you've completed everything before going live

    LinkedIn Insight Tag

    • Found your Partner ID in Campaign Manager
    • Installed Insight Tag (direct or via GTM)
    • Verified with LinkedIn Insight Tag Helper extension
    • Created at least one conversion in Campaign Manager
    • Assigned conversion to your campaigns

    Meta Pixel

    • Found your Pixel ID in Events Manager
    • Installed base pixel code (direct or via GTM)
    • Verified with Meta Pixel Helper extension
    • Set up Lead or other conversion events
    • Created Custom Conversion in Events Manager

    Google Tag Manager

    If using
    • Created GTM account and container
    • Installed GTM container code on website
    • Added LinkedIn Insight Tag in GTM
    • Added Meta Pixel in GTM
    • Set triggers to fire on All Pages
    • Previewed and tested all tags
    • Published your GTM container

    General

    • Cookie consent banner configured (if required)
    • Privacy policy updated with tracking disclosure
    • Tested all conversions by filling out your own forms
    • Waited 24+ hours and verified data appearing in dashboards

    Want a Printable Version?

    Download this checklist as a PDF to reference while you set up your tracking.

    (Coming soon - for now, bookmark this page!)

    AI Setup Assistant

    Stuck or want personalised help? Copy this prompt into ChatGPT or Claude. It will ask diagnostic questions about your setup and generate step-by-step instructions tailored to your exact situation.

    AI Tracking Setup Prompt

    Paste this into any AI assistant for customised tracking setup guidance

    You are a B2B tracking & analytics expert. This prompt is based on the step-by-step methodology from evergreen-growth.com/articles/tracking-pixels-setup-guide
    
    I need help setting up proper tracking on my website.
    
    Please ask me these questions one at a time, then provide a customised GTM/tracking setup plan:
    
    1. What website platform am I using? (WordPress, Webflow, Squarespace, Shopify, custom, etc.)
    2. Do I already have Google Tag Manager installed? If yes, do I have the container ID?
    3. Do I have Google Analytics 4 set up? If yes, do I have the Measurement 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, downloads, purchases, etc.)
    6. Which advertising platforms am I using or planning to use? (LinkedIn Ads, Meta/Facebook Ads, Google Ads, etc.)
    
    After I answer, provide:
    - Step-by-step GTM container setup (if needed)
    - Exact tag configurations for each platform
    - Trigger setup for my specific conversion events
    - Testing checklist to verify everything works
    - Common mistakes to avoid for my specific setup

    Frequently Asked Questions

    Answers to the most common beginner questions

    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

    LinkedIn Insight Tag Setup

    Step-by-step LinkedIn pixel installation for retargeting

    Meta Pixel Setup Guide

    Install Meta/Facebook Pixel for B2B retargeting

    Want Us to Set This Up For You?

    If you'd rather have an expert handle the technical setup while you focus on running your business, we offer done-for-you tracking implementation as part of our B2B advertising services.

    Free Setup Review Call

    Book a 15-minute call where we'll review your current tracking setup, identify any gaps, and give you a clear action plan.

    Book Free Call

    LinkedIn Ads Assessment

    Not sure if your B2B business is ready for LinkedIn Ads? Take our free 2-minute assessment to find out.

    Take Free Assessment

    Trusted by B2B companies across manufacturing, IT services, and professional services

    100+ tracking setups completedLinkedIn PartnerMeta Business Partner