---
title: "Add the LinkedIn Insight Tag to Joomla - Code Snippets"
description: "You're running LinkedIn Ads to a Joomla landing page, but the campaign reports stop at the click. You can't see which visitors converted, retarget the"
url: "https://www.tassos.gr/docs/code-snippets/howto/analytics-tracking/linkedin-insight-tag"
date: "2026-08-24T00:59:19+00:00"
language: "en-GB"
---

[ Home ](https://www.tassos.gr/index.php?option=com_content&view=category&layout=blog&id=24&Itemid=1088) / [ Code Snippets ](https://www.tassos.gr/index.php?option=com_content&view=category&id=120) / [ How-to Guides ](https://www.tassos.gr/index.php?option=com_content&view=category&id=125) / [ Analytics &amp; Tracking ](https://www.tassos.gr/index.php?option=com_content&view=category&id=140)

#  Add the LinkedIn Insight Tag to Joomla

You're running LinkedIn Ads to a Joomla landing page, but the campaign reports stop at the click. You can't see which visitors converted, retarget the people who read the page, or tell LinkedIn what a good lead looks like.

The LinkedIn Insight Tag closes that loop, and installing it in Joomla doesn't have to mean another plugin. You can add the LinkedIn Insight Tag to your Joomla site using Code Snippets.

## [What is the LinkedIn Insight Tag](#what-is-the-linkedin-insight-tag)

The LinkedIn Insight Tag is a small JavaScript tracker that reports website conversions, builds retargeting audiences, and provides demographic reporting on the professionals visiting your site.

## [How to get the LinkedIn Insight Tag](#how-to-get-the-linkedin-insight-tag)

You need a LinkedIn Campaign Manager account with access to an ad account.

1. Go to [LinkedIn Campaign Manager](https://www.linkedin.com/campaignmanager/) and sign in.
2. Click **Analyze → Insight Tag** in the left menu.
3. Click **Install my Insight Tag**.
4. Choose **I will install the tag myself**.
5. Copy the tag code, or note your **Partner ID** (the numeric value shown in the snippet).

## [How to Add the LinkedIn Insight Tag to Joomla](#how-to-add-the-linkedin-insight-tag-to-joomla)

1. Install **Code Snippets** if it is not installed already.
2. Go to Joomla Administrator.
3. Open **Components → Code Snippets**.
4. Click **New**.
5. Give your snippet a descriptive title like "LinkedIn Insight Tag".
6. Select **HTML** snippet type.
7. Paste the following code, replacing `YOUR_PARTNER_ID` with your actual Partner ID (it appears twice): ```
    <script type="text/javascript">
      _linkedin_partner_id = "YOUR_PARTNER_ID";
      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) {
        if (!l) { window.lintrk = function(a, b) { window.lintrk.q.push([a, b]) }; window.lintrk.q = [] }
        var s = document.getElementsByTagName("script")[0];
        var b = document.createElement("script");
        b.type = "text/javascript";
        b.async = true;
        b.src = "https://snap.licdn.com/li.lms-analytics/insight.min.js";
        s.parentNode.insertBefore(b, s);
      })(window.lintrk);
    </script>
    <noscript>
      <img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=YOUR_PARTNER_ID&fmt=gif" />
    </noscript>
    ```
8. Select **Site Header** as the "Insertion Method".
9. Publish the snippet.
10. Optionally, open the `Conditional Logic` tab to restrict which pages the snippet runs on. Leave it empty to run it site-wide. Learn more in [Using Conditional Logic](https://www.tassos.gr/docs/code-snippets/functionality/conditional-logic).

Congrats! You've successfully added the LinkedIn Insight Tag to your Joomla site without installing another plugin.

## [Verify it Works](#verify-it-works)

Visit your website once, then return to **Analyze → Insight Tag** in Campaign Manager. The tag status changes from *Unverified* to *Active* once LinkedIn receives the first signal, which usually takes a few minutes. If it stays unverified, confirm the snippet is published, the Partner ID is correct in both places, and no ad blocker is active in your test browser.

For more information about snippet types and insertion methods, visit our documentation: [https://www.tassos.gr/docs/code-snippets/](https://www.tassos.gr/docs/tassos-code-snippets/)

 Last updated on Aug 18th 2026 10:08
