Allow turning off analytics on welcome screen
This commit is contained in:
parent
6dc846b3ab
commit
25f28edd8e
@ -43,4 +43,14 @@ function trackPageView(url, title) {
|
|||||||
console.error(ex);
|
console.error(ex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function privacyPromptDialog() {
|
||||||
|
app.dialog.confirm("Turn off anonymous reporting?", "Analytics", function () {
|
||||||
|
setStorage("analytics", "false");
|
||||||
|
app.toast.show({
|
||||||
|
text: "Analytics disabled.",
|
||||||
|
closeTimeout: 3000
|
||||||
|
});
|
||||||
|
});
|
||||||
}
|
}
|
@ -27,7 +27,7 @@
|
|||||||
<div class="col-100 text-align-center">
|
<div class="col-100 text-align-center">
|
||||||
<p>Privacy Info: This app doesn't sell your data. We do collect a small amount
|
<p>Privacy Info: This app doesn't sell your data. We do collect a small amount
|
||||||
of analytics to help improve the app. You can opt out in the
|
of analytics to help improve the app. You can opt out in the
|
||||||
app settings.
|
app settings or by <a href="#" onclick="privacyPromptDialog()"><span class="taptext">tapping</span><span class="clicktext">clicking</span> here.</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user