frappe / press

Full service cloud hosting for the Frappe stack - powers Frappe Cloud
https://frappe.cloud
GNU Affero General Public License v3.0
278 stars 195 forks source link

fix: site creation posthog event capture #2064

Closed tanmoysrt closed 3 months ago

tanmoysrt commented 3 months ago

In current logic created_first_site, first_site_setup_wizard_completed can also invoked, when the user has old team account and he has no active site in his account. While creating new one, these events can invoked.

Now, we will only capture these events, if the team has only single site regardless of status and team has been created through FC signup.