File tree Expand file tree Collapse file tree
packages/frontend-web/app Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,6 +37,38 @@ export default function RootLayout({
3737 />
3838 { /* End Twitter conversion tracking base code */ }
3939
40+ { /* LinkedIn conversion tracking code */ }
41+ < script
42+ type = "text/javascript"
43+ dangerouslySetInnerHTML = { {
44+ __html : `
45+ _linkedin_partner_id = "7397812";
46+ window._linkedin_data_partner_ids = window._linkedin_data_partner_ids || [];
47+ window._linkedin_data_partner_ids.push(_linkedin_partner_id);
48+ `
49+ } }
50+ />
51+ < script
52+ type = "text/javascript"
53+ dangerouslySetInnerHTML = { {
54+ __html : `
55+ (function(l) {
56+ if (!l){window.lintrk = function(a,b){window.lintrk.q.push([a,b])};
57+ window.lintrk.q=[]}
58+ var s = document.getElementsByTagName("script")[0];
59+ var b = document.createElement("script");
60+ b.type = "text/javascript";b.async = true;
61+ b.src = "https://snap.licdn.com/li.lms-analytics/insight.min.js";
62+ s.parentNode.insertBefore(b, s);
63+ })(window.lintrk);
64+ `
65+ } }
66+ />
67+ < noscript >
68+ < img height = "1" width = "1" style = { { display : 'none' } } alt = "" src = "https://px.ads.linkedin.com/collect/?pid=7397812& fmt = gif " />
69+ </ noscript >
70+ { /* End LinkedIn conversion tracking code */ }
71+
4072 < StackProvider app = { stackServerApp } >
4173 < StackTheme >
4274 < ThemeProvider
You can’t perform that action at this time.
0 commit comments