How to Add LinkedIn Insight Tag to Your Joomla! Website

Retargeting with Linkedin Insight Tag

LinkedIn has now released new features for retargeting called Matched Audiences. With Matched Audiences you can use LinkedIn to retarget your website visitors with all advertising products including LinkedIn Sponsored Content, LinkedIn Sponsored InMail, and other ad formats.

What is the LinkedIn Insight Tag and why do you need to add it to your website?

The LinkedIn Insight Tag is a JavaScript code that you add to your Joomla! website to enable campaign reporting and valuable insights about the website visitors.

The Linkedin Insight Tag allows you to:

  • track conversions
  • retarget website visitors
  • get more insights about members interacting with your ads

The scripts load asynchronously with the current website and LinkedIn claims that it should not slow down the performance of the website.

Start with locating your LinkedIn Insight Tag following these steps

1. Sign in to Campaign Manager.

2. You will find all the account names you have previously created. Click on the account name you would like to set up website retargeting or conversion tracking for.

Campaign Manager Account Name

3. In the top navigation next to your profile image you will find the menu option Tools. Hover your cursor over it and select Insight Tag.

insight tag

4. Copy the text and the entire Insight Tag code from the window.

Copy LinkedIn Insight Tag

Insert the LinkedIn Insight Tag on your Joomla! website

Your code needs to be injected before the closing <body> tag in your Joomla! template. On every single page. There are several ways of injecting it:

Insert it in you template configurations

Pro:

Easy & fast if you have a template where there is a field to insert your code.

Con:

It might be difficult to know where in the template it will be inserted. And this code needs to be injected before the closing <body> tag.

It is inserted on all web pages. If you would like to use different tags for different parts of the website then you need to copy the template to each and every single language or market segment.

If you have visitors from the EU this way is not compliant with the EU law that prohibits you from placing cookies on a device before the visitor has left his/her consent.

You can insert it in your core files of your template

Pro:

No need to find (a better solution, or) an extension.

Con:

It is inserted on all web pages. If you would like to use different tags for different parts of the website (for example if you have one LinkedIn account for each language or market segments) then you need to copy the template to each and every single language or market segment.
If you have visitors from the EU this way is not compliant with the EU law that prohibits you from placing cookies on a device before the visitor has left his/her consent.

If you have a template with an update service you stand a chance that your code will be overwritten by the update. And you have to manually make sure that it is still there or you need to insert it again.

Install an extension and insert your tag (you can find several options at extensions.joomla.org)

Pro:

This solution may be more update safe and may offer more options of where to place the tag.

Con:

If it is a commercial extension you need to invest your money in it.
If you have visitors from the EU this way is not compliant with the EU law that prohibits you from placing cookies on a device before the visitor has left his/her consent.

Use our extension bundle including PixTracker, PixAnalytics and PixCookie Restrict

Pro:

If you have visitors from the EU this is compliant with the EU law that prohibits you from placing cookies on a device before the visitor has left his/her consent.

Con:

You can do so much with this, you won't know where to start ;) It's a commercial extension so you need to invest your money in it.

  • Sarah Watz

    Sarah Watz

    Since the mid-90s, Sarah has worked with sales and digital marketing and in 2003 she started the digital agency Pixpro. She is a well sought-after speaker and is a devoted member of both the Joomla! and the Infusionsoft community.