obsidian-ava icon indicating copy to clipboard operation
obsidian-ava copied to clipboard

Move PostHog data collection to the backend

Open liamcain opened this issue 1 year ago • 5 comments

Hi @louis030195 and @hotkartoffel. We (the Obsidian team) noticed that AVA has client-side telemetry code posting user data to PostHog from directly within Obsidian. We are still drafting a privacy and data collection policy for plugins, but there are a few guidelines we have already agreed on. Mainly, plugins should not submit user data to third-party telemetry services from directly within Obsidian, even if the data collection is opt-in.

Client-side libraries like PostHog's make it too easy for user data unrelated to your plugin to get collected. Instead, we ask that you move that data collection to your backend service; you should still be able to collect the same relevant usage information without risking user privacy.

liamcain avatar Jan 24 '23 16:01 liamcain

@liamcain alright thanks for letting us know

we've already scaled down our usage of telemetry extensively (during the last week) and will continue to do so iteratively in the following weeks.

ashgansh avatar Jan 24 '23 17:01 ashgansh

Thanks!

liamcain avatar Jan 24 '23 17:01 liamcain

What's the current state?

We have released these policies here: https://docs.obsidian.md/Developer+policies

joethei avatar May 25 '23 18:05 joethei

@joethei @liamcain hey, sorry about the delay, been particularly busy, just removed all analytics and release a new version:

https://github.com/louis030195/obsidian-ava/commit/041111ee04a42aa947b479076541aa925acfcdcd

https://github.com/louis030195/obsidian-ava/releases/tag/2.20.0

louis030195 avatar Jun 03 '23 16:06 louis030195

as for privacy there is a possibility to run the API that powers Links locally (need to be technical though):

https://docs.embedbase.xyz/examples/implement-a-local-first-embedbase

(DM me if anyone interested)

louis030195 avatar Jun 03 '23 16:06 louis030195