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

Change "Converted Trials" to the number of trials converted within the configured trial duration #70

Merged
merged 2 commits into from
Jul 13, 2024

Conversation

jansorg
Copy link
Owner

@jansorg jansorg commented Jul 13, 2024

Previously, a trial conversion was only recorded if the sale happened within the same month, which is very misleading and unreliable.

jansorg added 2 commits July 13, 2024 15:59
…e trial conversion rate to all trials converted within the configured trial length.

Previously, every month had its own tracker which was slow and had high memory usage.
This also fixes a bug when a customer had more than one trial in a date range (e.g. two trials within a year). Previously, on the conversion of the later trial was checked and a conversion of the earlier trials were not recorded. With this fix, trials may be slightly higher now.
@jansorg jansorg merged commit 6e23d76 into main Jul 13, 2024
@jansorg jansorg deleted the trial-refactor branch July 13, 2024 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant