Skip to content

Commit

Permalink
Add pixels to landing and other separate sites.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vetle Hjelle committed Aug 9, 2024
1 parent 69b88ab commit 7c7d46a
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 2 deletions.
19 changes: 18 additions & 1 deletion layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{{ end }}
</title>
</head>
<body>
<body>
{{ block "tagmgrbody" . }}
{{ partial "tagmgrbody.html" . }}
{{ end }}
Expand All @@ -26,5 +26,22 @@ <h1>main</h1>
{{ block "footer" . }}
{{ partial "footer" . }}
{{ end }}

<!-- Meta Pixel Code -->
<script type="text/javascript" src="/js/pixels/meta.js"></script>
<noscript>
<img height="1" width="1"
src="https://www.facebook.com/tr?id=362827803374406&ev=PageView
&noscript=1"/>
</noscript>
<!-- End Meta Pixel Code -->

<!-- LinkedIn Pixel Code -->
<script type="text/javascript" src="/js/pixels/linkedin.js"></script>
<noscript>
<img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=7489897&fmt=gif" />
</noscript>
<!-- End LinkedIn Pixel Code -->

</body>
</html>
17 changes: 17 additions & 0 deletions layouts/_default/baseof.no.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,22 @@ <h1>main</h1>
{{ block "footer" . }}
{{ partial "footer.no.html" . }}
{{ end }}

<!-- Meta Pixel Code -->
<script type="text/javascript" src="/js/pixels/meta.js"></script>
<noscript>
<img height="1" width="1"
src="https://www.facebook.com/tr?id=362827803374406&ev=PageView
&noscript=1"/>
</noscript>
<!-- End Meta Pixel Code -->

<!-- LinkedIn Pixel Code -->
<script type="text/javascript" src="/js/pixels/linkedin.js"></script>
<noscript>
<img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=7489897&fmt=gif" />
</noscript>
<!-- End LinkedIn Pixel Code -->

</body>
</html>
18 changes: 17 additions & 1 deletion layouts/landing/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,22 @@ <h1>main</h1>
</div>
</div>
</footer>


<!-- Meta Pixel Code -->
<script type="text/javascript" src="/js/pixels/meta.js"></script>
<noscript>
<img height="1" width="1"
src="https://www.facebook.com/tr?id=362827803374406&ev=PageView
&noscript=1"/>
</noscript>
<!-- End Meta Pixel Code -->

<!-- LinkedIn Pixel Code -->
<script type="text/javascript" src="/js/pixels/linkedin.js"></script>
<noscript>
<img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=7489897&fmt=gif" />
</noscript>
<!-- End LinkedIn Pixel Code -->

</body>
</html>

0 comments on commit 7c7d46a

Please sign in to comment.