mirror of
https://github.com/FoggedLens/deflock.git
synced 2026-09-30 12:41:48 +02:00
add plausible analytics
This commit is contained in:
1 parent
2f65f44fc9
commit
88cce449d2
1 file changed
+10
@@ -13,6 +13,16 @@
|
|||||||
<meta property="og:url" content="https://deflock.me" />
|
<meta property="og:url" content="https://deflock.me" />
|
||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<title>DeFlock - ALPR Database</title>
|
<title>DeFlock - ALPR Database</title>
|
||||||
|
<script>
|
||||||
|
// Analytics in prod
|
||||||
|
if (window.location.hostname !== 'localhost') {
|
||||||
|
var plausibleScript = document.createElement('script');
|
||||||
|
plausibleScript.src = 'https://plausible.io/js/script.file-downloads.outbound-links.js';
|
||||||
|
plausibleScript.defer = true;
|
||||||
|
plausibleScript.setAttribute('data-domain', 'deflock.me');
|
||||||
|
document.head.appendChild(plausibleScript);
|
||||||
|
}
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
|
|||||||
Reference in new issue
Block a user