The LinkedIn Insight Tag is a JavaScript code for your website that lets you track your conversions and retarget your website visitors and customers who interact with your ads. You can use the resulting insights to learn more about your customers and optimize your marketing campaigns.

RudderStack supports integration with the LinkedIn Insight Tag where you can seamlessly send your event data to LinkedIn.

Find the open source code for this destination in the GitHub repository.

Getting started

If you are already using LinkedIn Insight Tag on your website, removing it is highly recommended. This is because the RudderStack SDK automatically loads the Insight Tag tracking code and it may cause a conflict with the existing installation. For more information on the integration's workflow, refer to the FAQ section below.

RudderStack supports sending event data to LinkedIn Insight Tag via the following connection modes:

Connection ModeWebMobileServer
Device modeSupported--
Cloud mode---
In a web device mode integration, that is, using JavaScript SDK as a source, the LinkedIn Insight Tag native SDK is loaded from https://snap.licdn.com/ domain. Based on your website's content security policy, you might need to allowlist this domain to load the LinkedIn Insight Tag SDK successfully.

Once you have confirmed that the source platform supports sending events to LinkedIn Insight Tag, follow these steps:

  1. From your RudderStack dashboard, add a source. Then, from the list of destinations, select LinkedIn Insight Tag.
  2. Assign a name to the destination and click Continue.

Connection settings

To successfully configure LinkedIn Insight Tag as a destination, you will need to configure the following settings:

LinkedIn Insight Tag connection settings
  • Partner ID: Enter your LinkedIn partner ID.
For more information on getting your LinkedIn partner ID, refer to the FAQ section below.
  • Event Conversion IDs: Enter the event name you want the Insight Tag to track and the corresponding conversion ID.
The event names are case-sensitive. For example, RudderStack accepts Order Completed, Order completed, and order completed as three different events.
For more information on getting the conversion ID, refer to the Tracking event-specific conversions section below.
  • Client-side Events Filtering: This setting lets you specify which events should be blocked or allowed to flow through to the LinkedIn Insight Tag.
For more information on this setting, refer to the Client-side Events Filtering guide.
  • Use device mode to send events: As this is a web device mode-only destination, this setting is enabled by default and cannot be disabled.
  • OneTrust Cookie Categories: This setting lets you associate OneTrust cookie consent groups to the LinkedIn Insight Tag destination.

Tracking page loads

For more information on the tracking methods supported by the Insight Tag, refer to the LinkedIn support page.

In this method, the Insight Tag automatically loads and tracks the conversions when users visit any pages on your website. Upon loading successfully, you can view the conversion status in your Campaign Manager dashboard, as shown:

LinkedIn Insight campaign manager dashboard

Tracking event-specific conversions

To track event-specific conversions, you need to first set up an Online Tracking conversion and define an event-specific conversion tracking. To do so, follow these steps:

  1. Sign into your LinkedIn Campaign Manager.
  2. Click your account name and go to Analyze > Conversion Tracking.
  3. Click the Create Conversion button and select Online Conversion.
LinkedIn Insight online conversion option
  1. Name your conversion and enter the relevant settings. For more information, refer to this LinkedIn support page.
  2. Click Next step and select the campaign to track your conversion.
  3. Under Manually set up conversions, go to Define your conversion tracking method and select Event-specific.
  4. Click Copy code. You will find the conversion ID listed here, as shown:
LinkedIn Insight online conversion ID
You will need to install this generated code in your website that automatically loads and tracks conversions for the specified event.
  1. Finally, specify the Event Name for which the Insight Tag automatically loads this snippet and the corresponding conversion ID in the Event Conversion IDs dashboard setting.
The event names are case-sensitive.

Use-case

Suppose you add the following event name-conversion ID mapping in the RudderStack dashboard:

LinkedIn Insight event tracking use-case

When you call the Product Added event, the LinkedIn Insight Tag automatically loads the snippet with the mapped conversion ID and tracks the conversion event.

A sample Product Added event is shown below:

rudderanalytics.track("Product Added", {
numberOfRatings: "12",
name: "item 1",
});
RudderStack discards any track event that is not specified in the Event Conversion IDs dashboard setting.

FAQ

How does this integration work?

The RudderStack-LinkedIn Insight Tag integration workflow is explained below:

  1. Configure LinkedIn Insight Tag as a destination in the RudderStack dashboard.
  2. Install the RudderStack JavaScript SDK on your website.
  3. The JavaScript SDK automatically loads the Insight Tag tracking code.
  4. The Insight Tag starts tracking the user activities on your website.

What information can I track using the LinkedIn Insight Tag?

The LinkedIn Insight Tag lets you collect the data related to your users' website visits, including the URL, IP address, referrer, device and browser characteristics, and timestamp.

Where can I find my LinkedIn partner ID?

To get the Partner ID, open the Insight Tag and get the value corresponding to the _linkedin_partner_id parameter, as shown:

LinkedIn Insight Tag partner ID

Alternatively, you can follow the steps in this LinkedIn support page to access your LinkedIn partner ID.

Each LinkedIn Insight Tag has a unique Partner ID. If the Partner ID of the tag on your website does not match the Partner ID in your account, the Insight Tag will be unable to collect the page loads and event-specific conversions.

How can I verify if the event-specific conversions are tracked successfully?

Once you configure the Event Conversion IDs setting in the RudderStack dashboard, the LinkedIn Insight Tag automatically loads the code snippet and tracks the conversions for the specified events.

If the script has loaded correctly, it shows the label Conversion status: Active against the events in your dashboard, as shown:

LinkedIn Insight conversion status

In case the script has not loaded correctly, you will see the Conversion Status as Unverified, No recent activity, or Inactive.

Will this integration slow my website down?

The RudderStack SDK loads asynchronously with your website. When loading the LinkedIn Insight Tag tracking snippet, it will not slow down your website's performance at all.


Contact us

For more information on the topics covered on this page, email us or start a conversation in our Slack community.