Also track external link clicks (#84)

This commit is contained in:
Nutomic 2022-02-23 16:39:10 +00:00 committed by GitHub
parent 3f8a29f232
commit e2eaee2963
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()}> <body ${helmet.bodyAttributes.toString()}>
<div id='root'>${root}</div> <div id='root'>${root}</div>
<script defer src='/static/js/client.js'></script> <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> </body>
</html> </html>
`); `);