capawesome-team / capacitor-plugins

⚡️ Community plugins for Capacitor. Supports Android, iOS and the Web.
https://capawesome.io/plugins/
221 stars 33 forks source link

feat: Posthog Capacitor Plugin #270

Closed mariusbolik closed 1 week ago

mariusbolik commented 3 weeks ago

Plugin(s)

Current problem

posthog_c12796ec9c

I know you are a big fan of Firebase, but Posthog is a very promising (and privacy focussed 👀) alternative. It is very popular in the indie hacker scene and seems to be the most developer focussed analytics platform.

PostHog helps developers understand how users use their product, figure out ways to improve it, and ship new features faster. It does this through features like:

Website: https://posthog.com/

Preferred solution

It would be very cool if you could turn their android and ios sdk into an an capacitor plugin :)

Alternative options

It should be possible to use their js sdk in an capacitor app but I don't think it'll be possible to get as in-depth analytics as with the ios/android sdk.

Additional context

No response

Before submitting

robingenz commented 3 weeks ago

It should be possible to use their js sdk in an capacitor app but I don't think it'll be possible to get as in-depth analytics as with the ios/android sdk.

Would be interesting to know if the Android and iOS SDK actually provides more information. If so, this would definitely be a good plugin.

Maybe Posthog is interested in sponsoring this issue. Are you in contact with them?

mariusbolik commented 2 weeks ago

Here is the official statement from the Posthog Team regarding this topic:

Posthog Forum Screenshot

Link: https://posthog.com/questions/see-i-os-version-of-users

robingenz commented 1 week ago

@mariusbolik I've just published a first dev version:

npm i https://pkg.pr.new/capawesome-team/capacitor-plugins/@capawesome/capacitor-posthog@dae64ba

I would really appreciate your feedback.

EDIT: New dev version published.