Add Plausible support

This commit is contained in:
Celestora 2021-09-20 15:59:55 +03:00
parent 07b8de9ea1
commit ab6824b223
2 changed files with 12 additions and 0 deletions

View file

@ -264,6 +264,10 @@
<script n:if="OPENVK_ROOT_CONF['openvk']['preferences']['bellsAndWhistles']['fartscroll']">
fartscroll(400);
</script>
<script n:if="OPENVK_ROOT_CONF['openvk']['telemetry']['plausible']['enable']"
async defer data-domain="{OPENVK_ROOT_CONF['openvk']['telemetry']['plausible']['domain']}"
src="{OPENVK_ROOT_CONF['openvk']['telemetry']['plausible']['server']}js/plausible.js"></script>
</body>
</html>

View file

@ -3,6 +3,7 @@ openvk:
appearance:
name: "OpenVK"
motd: "Yet another OpenVK instance"
preferences:
femaleGenderPriority: true
uploads:
@ -47,6 +48,13 @@ openvk:
bellsAndWhistles:
fartscroll: false
testLabel: false
telemetry:
plausible:
enable: false
domain: ""
server: ""
credentials:
smsc:
enable: false