front: added an option to opt out of traffic stats and a privacy policy section about it
This commit is contained in:
@@ -169,6 +169,9 @@ export default function(obj) {
|
||||
name: "privacy",
|
||||
title: `${emoji("🔒")} ${t("CollapsePrivacy")}`,
|
||||
body: t("PrivacyPolicy")
|
||||
+ `<br>`
|
||||
+ `<br>`
|
||||
+ t("AnalyticsDescription")
|
||||
}, {
|
||||
name: "legal",
|
||||
title: `${emoji("📑")} ${t("CollapseLegal")}`,
|
||||
@@ -496,6 +499,16 @@ export default function(obj) {
|
||||
padding: "no-margin"
|
||||
}])
|
||||
})
|
||||
+ settingsCategory({
|
||||
name: "privacy",
|
||||
title: t('PrivateAnalytics'),
|
||||
body: checkbox([{
|
||||
action: "plausible_ignore",
|
||||
name: t("SettingsDisableAnalytics"),
|
||||
padding: "no-margin"
|
||||
}])
|
||||
+ explanation(t('SettingsAnalyticsExplanation'))
|
||||
})
|
||||
+ settingsCategory({
|
||||
name: "miscellaneous",
|
||||
title: t('Miscellaneous'),
|
||||
|
||||
Reference in New Issue
Block a user