Add the LinkedIn Insight Tag to Joomla

Track conversions, retarget visitors and reach better leads by adding the LinkedIn Insight Tag to your Joomla site, using one HTML snippet.

Add the LinkedIn Insight Tag to Joomla

You run 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 learn which job titles visit your site. The LinkedIn Insight Tag reports all of that back to Campaign Manager. You can add the LinkedIn Insight Tag to Joomla with one HTML snippet in Code Snippets.

Get your Insight Tag

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

  1. Sign in to LinkedIn Campaign Manager.
  2. Go to Analyze → Insight Tag.
  3. Choose to install the tag yourself.
  4. Copy the tag code.

The snippet code

The tag looks like this, with your Partner ID in 2 places:

<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>

LinkedIn asks for the tag in your site's footer, so use the Site Footer location. It lands right before the closing </body> tag on every page.

How to add this snippet

  1. Install Code Snippets if it isn't installed already.
  2. Log into your Joomla backend.
  3. Go to Components → Tassos Code Snippets.
  4. Click New.
  5. Enter a title, for example LinkedIn Insight Tag.
  6. Set Code Type to HTML.
  7. Set Insertion Method to Auto-Insert Locations.
  8. Set Location to Site Footer.
  9. Paste your Insight Tag into the editor.
  10. Click Save & Close.

LinkedIn asks you to keep the tag off pages that handle health, financial or other sensitive personal data. Use Conditional Logic to leave those pages out.

Check that it works

  1. Open your site in a normal browser window with no ad blocker.
  2. Go back to Analyze → Insight Tag in Campaign Manager.

The tag turns Active once LinkedIn receives data from your site, which can take up to 24 hours. If it stays unverified, check that the snippet is published and that the Partner ID is right in both places.

To track Facebook and Instagram ads too, see Add the Meta (Facebook) Pixel to Joomla. To learn more about how HTML snippets work, read the HTML snippet docs.

Last updated on Oct 15th 2026 14:10