I was wondering if there is a way to add a tag code from LinkedIn (to track an advertising campaign) if one does not have access to the design template of the survey?
I've tried to add the tag code (javascript) to the welcome and end messages (adding it in the code to the source editor) but that doesn't work.
I know its a long shot but just wondered if anyone had any good ideas. My institution will not allow access to the design template or the backend settings generally.
This was the code I tried to add (with partner ID removed):
Code:
<script type="text/javascript">
_linkedin_partner_id = "XXXXXXX";
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=3884106&fmt=gif" />
</noscript>
Thank you for any suggestions.
Kind Regards
Aaron
Last edit: 4 years 4 months ago by aarontimos. Reason: More detail
In your Campaign Manager, navigate to Account Assets → Insight Tag. Do it yourself: It's simple and easy. Paste the Insight Tag code from Campaign Manager in your website's global footer. Adding the tag to the footer will let you track conversions or retarget on any page across your whole site.