linkedin insight tag not validating in form

Viewed 25

I'm using Concep in a CRM and in this CRM we're trying to add LinkedIn's Insight Tag to the form completion page to track conversions. The problem is that the script that LinkedIn provides contains the script tags and the CRM editor doesn't want them. Even after removing the script tags, the internal javascript validator fails each time and I'm unsure how to proceed. There is no way as of now to inject the script outside of the method provided by the CRM. Has anyone ever dealt with something like this?

Here's the code as provided by LI:

<script type="text/javascript"> _linkedin_partner_id = "999"; 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=999&fmt=gif" /> </noscript>

Thank you

0 Answers
Related