Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add posthog as a analytics component #847

Open
2 of 3 tasks
matheusgr opened this issue Sep 11, 2024 · 3 comments
Open
2 of 3 tasks

Add posthog as a analytics component #847

matheusgr opened this issue Sep 11, 2024 · 3 comments
Labels

Comments

@matheusgr
Copy link
Contributor

matheusgr commented Sep 11, 2024

Issue Type

Please inform the type(s) of issue(s) you are reporting:

  • Feature Request

Description

Posthog is a well known data analytics tool. It would be nice to provide a simple way to integrate it with your application.

My proposal:

  • Add posthog script head
  • Add posthog to listen to deco events
  • Allow easy integration with elements to capture click/actions (using data-attributes)

The last topic (data-attr) seems like something that we should rethink with a more overall approach (i.e. allow any html element to be tagged via engine).

@guitavano
Copy link
Contributor

solveddd

@matheusgr matheusgr reopened this Sep 11, 2024
@matheusgr
Copy link
Contributor Author

Not yet. Only the first two tasks are completed.

@matheusgr
Copy link
Contributor Author

Current posthog implementation makes api as a secret on app, and also, non-optional on sections.

It doesn't need to be a secret (since it is a public key), and should be optional on sections.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants