mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
Add Plausible support
This commit is contained in:
parent
07b8de9ea1
commit
ab6824b223
2 changed files with 12 additions and 0 deletions
|
@ -264,6 +264,10 @@
|
||||||
<script n:if="OPENVK_ROOT_CONF['openvk']['preferences']['bellsAndWhistles']['fartscroll']">
|
<script n:if="OPENVK_ROOT_CONF['openvk']['preferences']['bellsAndWhistles']['fartscroll']">
|
||||||
fartscroll(400);
|
fartscroll(400);
|
||||||
</script>
|
</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>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,7 @@ openvk:
|
||||||
appearance:
|
appearance:
|
||||||
name: "OpenVK"
|
name: "OpenVK"
|
||||||
motd: "Yet another OpenVK instance"
|
motd: "Yet another OpenVK instance"
|
||||||
|
|
||||||
preferences:
|
preferences:
|
||||||
femaleGenderPriority: true
|
femaleGenderPriority: true
|
||||||
uploads:
|
uploads:
|
||||||
|
@ -47,6 +48,13 @@ openvk:
|
||||||
bellsAndWhistles:
|
bellsAndWhistles:
|
||||||
fartscroll: false
|
fartscroll: false
|
||||||
testLabel: false
|
testLabel: false
|
||||||
|
|
||||||
|
telemetry:
|
||||||
|
plausible:
|
||||||
|
enable: false
|
||||||
|
domain: ""
|
||||||
|
server: ""
|
||||||
|
|
||||||
credentials:
|
credentials:
|
||||||
smsc:
|
smsc:
|
||||||
enable: false
|
enable: false
|
||||||
|
|
Loading…
Reference in a new issue