Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,21 @@
<meta property="og:description" content="Store, sync, and share files across devices anywhere with Ouisync. Secure, open source, peer-to-peer file-sharing" />
<meta property="og:url" content="https://ouisync.net" />
<meta property="og:image" content="/img/ouisync-header.png" />

<!-- Matomo -->
<script>
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://matomo.ouinet.work/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '2']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->

</head>
5 changes: 5 additions & 0 deletions layouts/partials/header.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
<header>

<!-- Matomo Image Tracker-->
<noscript><img referrerpolicy="no-referrer-when-downgrade" src="https://matomo.ouinet.work/matomo.php?idsite=2&amp;rec=1&amp;action_name=Ouisync" style="border:0" alt="Ouisync.net" /></noscript>
<!-- End Matomo -->

<nav>
<div class="desktop-nav" dir="{{ .Language.LanguageDirection }}">
<a tabindex="1" href="{{ .Site.Home.Permalink }}"><img height="40" width="152" src="/img/ouisync-logo.png"/></a>
Expand Down