-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added LinkedIn insight tag to script footer (#1638)
Added tracking via LinkedIn insight tag. The code is added in a linkedin_insight partial that is called in the script footer partial so that the linkedin elements appear just before the closing body tag. Resolves chainguard-dev/internal#3901 Signed-off-by: Patrick Smyth <patrick.smyth@chainguard.dev>
- Loading branch information
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<script type="text/javascript"> | ||
_linkedin_partner_id = "6142089"; | ||
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=6142089&fmt=gif" /> | ||
</noscript> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters