×

Hubspot LinkedIn Pixel Setup Guide

Hubspot LinkedIn Pixel Setup Guide

Using Hubspot together with the LinkedIn Insight Tag lets you track conversions, retarget visitors, and optimize your LinkedIn ad campaigns from one organized workflow. This guide walks you step-by-step through installing, testing, and using the LinkedIn pixel based on the official setup process.

What the LinkedIn Pixel Does in Hubspot Campaigns

The LinkedIn Insight Tag is a small piece of JavaScript that tracks what visitors do after clicking your LinkedIn ads. When you manage assets and campaigns in Hubspot, the pixel helps you:

  • See which ads drive form fills, signups, and purchases.
  • Build matched audiences for remarketing.
  • Measure ROI across landing pages and lead flows.
  • Attribute conversions to the right campaigns.

Before you connect everything with Hubspot, you first need to generate and install the LinkedIn Insight Tag on your site.

How to Get Your LinkedIn Insight Tag Code

You will start inside LinkedIn Campaign Manager. These steps mirror the official instructions from the source article.

  1. Open Campaign Manager.
    Log in to LinkedIn and open Campaign Manager for the ad account you want to track.
  2. Go to the Insight Tag area.
    From the top navigation, select Account Assets > Insight Tag.
  3. Generate your tag.
    If you have not set it up before, LinkedIn will prompt you to create the Insight Tag. Confirm and continue.
  4. Copy the JavaScript snippet.
    LinkedIn will display a code block that begins with <script type="text/javascript">. Copy this entire snippet; you will paste it into your site or tag manager so it can later work seamlessly with Hubspot tracking.

Once you have the code, the next step is to install it on every page you want to track.

Where to Install the LinkedIn Pixel for Hubspot Tracking

The Insight Tag should be added to the global template of your website so that it loads on all pages visitors can reach from your ads and Hubspot campaigns.

Option 1: Add Pixel Code Directly to Your Site

If you manage your own HTML templates, follow these steps:

  1. Open the HTML for your main layout or theme.
  2. Locate the closing </body> tag.
  3. Paste the LinkedIn Insight Tag snippet just before </body>.
  4. Save and publish your changes.

This method works with most CMS platforms and will allow the pixel to support attribution data from Hubspot forms and landing pages that load within your domain.

Option 2: Install Pixel Through Google Tag Manager

If you use Google Tag Manager (GTM) alongside Hubspot analytics, you can install the Insight Tag as a GTM tag.

  1. Log in to Google Tag Manager and open your container.
  2. Click Tags > New.
  3. Choose Custom HTML as the tag type.
  4. Paste the LinkedIn Insight Tag code into the HTML field.
  5. Set the trigger to All Pages so it fires on every page.
  6. Save, then click Submit and publish your container.

Installing through GTM keeps your pixel implementation organized and makes it easy to coordinate with other scripts used in Hubspot campaigns.

Verify That Your LinkedIn Pixel Works With Hubspot Traffic

After installation, confirm that the Insight Tag is firing correctly on pages where you run ads and send Hubspot leads.

Use the LinkedIn Insight Tag Helper

LinkedIn offers a browser extension, the Insight Tag Helper, which quickly validates your setup.

  1. Install the extension from your browser’s extension store.
  2. Navigate to a page where you added the pixel and where Hubspot forms or CTAs may appear.
  3. Click the extension icon.
  4. Check for a confirmation that the Insight Tag has loaded successfully, and review any reported warnings.

If the extension cannot detect the tag, double-check that the code appears before the closing </body> tag or that your GTM container has been published.

Confirm Tag Status in LinkedIn Campaign Manager

You can also verify the pixel from the LinkedIn dashboard:

  1. Open Campaign Manager.
  2. Go to Account Assets > Insight Tag.
  3. Review the list of domains and pages where the tag was detected.
  4. Confirm that the status for your domain is marked as active.

Once the tag is active, conversions from Hubspot-driven visitors who came via LinkedIn ads will begin to appear in your reporting.

Creating Conversion Tracking for Hubspot Leads

With the Insight Tag installed, you can set up conversion rules that align with your Hubspot goals, such as form submissions or demo requests.

  1. Open the Conversions section.
    In Campaign Manager, navigate to Account Assets > Conversions.
  2. Create a new conversion.
    Click Create a conversion and name it based on your Hubspot funnel stage, for example, Hub lead form submit or Hub MQL.
  3. Choose your conversion type.
    Select actions such as Lead, Download, or Purchase, depending on what your Hubspot lifecycle stages represent.
  4. Define the conversion URL.
    Enter the thank-you page URL used after a Hubspot form submission or relevant landing page action. You can include URL rules such as contains or starts with.
  5. Assign the Insight Tag.
    Choose the active Insight Tag associated with your domain so conversions can be attributed properly.
  6. Attach campaigns.
    Select which LinkedIn campaigns should count toward this conversion event.

Over time, this setup lets you see which ads produce the highest-value Hubspot leads, not just raw clicks.

Optimizing LinkedIn Ads Using Hubspot Insights

Once your pixel and conversions are live, you can improve performance of your campaigns by combining LinkedIn analytics with Hubspot reporting.

  • Compare lead quality and source. Use CRM and lifecycle data to evaluate which LinkedIn campaigns send the most qualified leads.
  • Refine targeting. Build audiences around job titles, industries, or company sizes that show higher conversion rates in both platforms.
  • Test new offers. Align your Hubspot landing pages and content offers with the segments that respond best to your ads.
  • Adjust bidding and budgets. Shift spend to ads that deliver the best cost per qualified lead based on your shared metrics.

Use this data to create a feedback loop: LinkedIn provides click and impression data, while Hubspot contributes deeper engagement and revenue metrics.

Advanced Tips for Hubspot and LinkedIn Pixel Users

Retarget Visitors From Hubspot Landing Pages

Because the Insight Tag fires on any page where it is installed, visitors from Hubspot email campaigns or organic channels can also flow into LinkedIn remarketing audiences. This allows you to:

  • Run follow-up ads to people who visited a specific resource page.
  • Promote bottom-of-funnel offers to users who already converted on a Hubspot form.
  • Exclude current customers from awareness campaigns.

Align Attribution Between Platforms

While LinkedIn focuses on ad interactions, Hubspot tracks the entire customer journey. To keep reporting aligned:

  • Use consistent naming conventions for campaigns and offers.
  • Make sure your Hubspot tracking URLs include UTM parameters for LinkedIn.
  • Compare first-touch and last-touch numbers to understand funnel behavior.

Reference Resources and Next Steps

The configuration steps in this article are based on the official LinkedIn pixel documentation available at this detailed guide. Review that page for updated screenshots or interface changes over time.

If you need help integrating your analytics stack, building advanced tracking, or aligning Hubspot data with paid media channels, you can work with specialists such as Consultevo for implementation and optimization support.

By properly installing, verifying, and configuring the LinkedIn Insight Tag and then correlating results with your Hubspot funnel metrics, you create a reliable foundation for measuring performance and scaling your advertising with confidence.

Need Help With Hubspot?

If you want expert help building, automating, or scaling your Hubspot , work with ConsultEvo, a team who has a decade of Hubspot experience.

Scale Hubspot

“`

Verified by MonsterInsights