open-sauced / app

🍕 Insights into your entire open source ecosystem.
https://pizza.new
Apache License 2.0
425 stars 225 forks source link

Feature: Posthog to track hitting banner on paid workspace for unique user #2909

Open jpmcb opened 8 months ago

jpmcb commented 8 months ago

Type of feature

🍕 Feature

Current behavior

Currently, internally, we don't have a way to track when users hit the upgrade banner. Example:

image

Suggested solution

We should begin tracking this usage via posthog:

This will give us a good idea of unique entities within unique workspaces that are hitting the upgrade banner. Overall, this will give us an idea of where the goalposts are for some of the pricing we've set.

Additional context

Related to https://github.com/open-sauced/app/issues/2895

Code of Conduct

Contributing Docs

github-actions[bot] commented 8 months ago

Thanks for the issue, our team will look into it as soon as possible! If you would like to work on this issue, please wait for us to decide if it's ready. The issue will be ready to work on once we remove the "needs triage" label.

To claim an issue that does not have the "needs triage" label, please leave a comment that says ".take". If you have any questions, please reach out to us on Discord or follow up on the issue itself.

For full info on how to contribute, please check out our contributors guide.

BekahHW commented 3 months ago

@open-sauced/engineering has this been addressed?

nickytonline commented 3 months ago

As far as I know, this hasn't been addressed yet @BekahHW.

brandonroberts commented 3 months ago

There is a Posthog even when the banner is clicked, and when the upgrade button is clicked

https://github.com/open-sauced/app/blob/beta/components/Workspaces/WorkspaceBanner.tsx#L13 https://github.com/open-sauced/app/blob/beta/components/Workspaces/InsightUpgradeModal.tsx#L34

nickytonline commented 3 months ago

Were you looking for an event that gets sent when the banner opens @BekahHW on top of what @brandonroberts mentioned above?