mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-08 02:52:12 +00:00
new metric to track
This commit is contained in:
1 parent
7297f77334
commit
1f595f3d64
1 file changed
+15
@@ -0,0 +1,15 @@
|
||||
|
||||
-- User sign up histogram by method
|
||||
-- Since we don't have an index on created_at, we threshold by id
|
||||
-- Current ID count = 7578799 (September 28, 2024)
|
||||
select
|
||||
date(created_at) as date,
|
||||
case
|
||||
when maybe_signup_method is null then 'email_password'
|
||||
else maybe_signup_method
|
||||
end as method,
|
||||
count(*) as signup_count
|
||||
from users
|
||||
where id > 7200000
|
||||
and created_at >= NOW() - INTERVAL 60 DAY
|
||||
group by date(created_at), method
|
||||
Reference in new issue
Block a user