Also track external link clicks

This commit is contained in:
Nutomic 2022-02-23 15:24:13 +00:00 committed by GitHub
parent 3f8a29f232
commit 51f1f187d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -111,7 +111,7 @@ server.get("/*", async (req, res) => {
<body ${helmet.bodyAttributes.toString()}>
<div id='root'>${root}</div>
<script defer src='/static/js/client.js'></script>
<script defer data-domain="join-lemmy.org" src="https://plausible.lemmy.ml/js/plausible.js"></script>
<script defer data-domain="join-lemmy.org" src="https://plausible.lemmy.ml/js/plausible.outbound-links.js"></script>
</body>
</html>
`);