Multiple Partner IDs with LInkedin Insight Tag

We switched our tracing setup from Google to Piwik Pro. Previously, we used the LinkedIn Insight 2.0 template with the Google Tag Manager, where we could trigger multiple LinkedIn Partner IDs with one tag.

In Piwik, we have experimented with entering multiple partner IDs separated by commas using the official tag (LinkedIn Insight tag | Piwik PRO help center), and in another test, we created separate tags for each partner ID. In addition to the general Insight tag, we have also set up several LinkedIn conversion tags for specific events.

But we’re facing issues with some specific conversions not being properly associated with the respective Insight Tags (partner IDs). Even though the tags are triggering in debug mode, no data appears in the account. We suspect that listing multiple partner IDs within a single Insight Tag (comma-separated) might be causing the problem. We tried firing separate Insight Tags for each partner ID, but only one out of three tags was triggered.
We’d appreciate any help or insights from the Piwik Pro community regarding this issue.

Hi. Our current template most likely uses version 1 and doesn’t accept multiple IDs. I guess the safest option is to go with a custom code tag. Based on the code I found after a quick research, the latest Linkedin tag accepts pushing multiple partner IDs. Here’s a code snippet:

<script type="text/javascript">
_linkedin_partner_id = "<your 1st ID>";
window._linkedin_data_partner_ids = window._linkedin_data_partner_ids || [];
window._linkedin_data_partner_ids.push(_linkedin_partner_id, "your 2nd ID", "your 3rd 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>

You should be able to find similar code in your Linkedin ads panel. I’m not Linkedin ads expert, but I think it’s worth a try.

1 Like