DATE | PROJECT_NAME | SECTOR | Active Users | New Users | QUARTER | |
---|---|---|---|---|---|---|
1 | 2023-12-25 00:00:00.000 | kaikai | dapp | 5964595 | 3854164 | Q4 2023 |
2 | 2023-12-25 00:00:00.000 | playember | games | 350344 | 251631 | Q4 2023 |
3 | 2023-12-25 00:00:00.000 | ref finance | defi | 6239 | 13 | Q4 2023 |
4 | 2023-12-25 00:00:00.000 | near social | dapp | 5610 | 54 | Q4 2023 |
5 | 2023-12-25 00:00:00.000 | blackdragon | defi | 5392 | 8 | Q4 2023 |
6 | 2023-12-25 00:00:00.000 | orderly network | defi | 3762 | 33 | Q4 2023 |
7 | 2023-12-25 00:00:00.000 | sweat | games | 433091 | 51776 | Q4 2023 |
8 | 2023-12-25 00:00:00.000 | neat | defi | 4380 | 644 | Q4 2023 |
9 | 2023-12-25 00:00:00.000 | lonk | defi | 1739 | 11 | Q4 2023 |
10 | 2023-12-25 00:00:00.000 | okex | cex | 1641 | 433 | Q4 2023 |
11 | 2023-12-18 00:00:00.000 | kaikai | dapp | 7748356 | 6151850 | Q4 2023 |
12 | 2023-12-18 00:00:00.000 | playember | games | 344588 | 239724 | Q4 2023 |
13 | 2023-12-18 00:00:00.000 | orderly network | defi | 3666 | 24 | Q4 2023 |
14 | 2023-12-18 00:00:00.000 | ref finance | defi | 1983 | 2 | Q4 2023 |
15 | 2023-12-18 00:00:00.000 | okex | cex | 1788 | 678 | Q4 2023 |
16 | 2023-12-18 00:00:00.000 | sweat | games | 466843 | 57715 | Q4 2023 |
17 | 2023-12-18 00:00:00.000 | neat | defi | 2651 | 14 | Q4 2023 |
18 | 2023-12-18 00:00:00.000 | near social | dapp | 1847 | 14 | Q4 2023 |
19 | 2023-12-18 00:00:00.000 | neko | defi | 1748 | 19 | Q4 2023 |
20 | 2023-12-18 00:00:00.000 | gear | defi | 1324 | 6 | Q4 2023 |
SocioAnalytica user activity over time
Updated 2024-02-07
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
›
⌄
with all_user as (
SELECT
block_timestamp,
tx_hash,
tx_receiver,
tx_signer,
row_number() over (partition by tx_signer order by block_timestamp) as rank
FROM near.core.fact_transactions
WHERE TX_SUCCEEDED
)
SELECT
date_trunc('week', block_timestamp) as date,
project_name,
label_type as sector,
count(DISTINCT tx_signer) as "Active Users",
count(DISTINCT case when rank = 1 then tx_signer end) as "New Users",
CASE when date BETWEEN '2023-01-01' and '2023-04-01' then 'Q1 2023'
when date BETWEEN '2023-04-01' and '2023-07-01' then 'Q2 2023'
when date BETWEEN '2023-07-01' and '2023-10-01' then 'Q3 2023'
when date BETWEEN '2023-10-01' and '2024-01-01' then 'Q4 2023'
end as quarter
FROM all_user a
LEFT JOIN near.core.dim_address_labels b
on a.tx_RECEIVER = b.address
WHERE date BETWEEN '2023-01-01' AND '2023-12-31'
AND project_name is not null
AND sector not in ('token', 'chadmin')
GROUP by 1 , 2 , 3
qualify row_number()over (partition by date order by "Active Users" DESC) <= 10
ORDER BY 1 DESC
Last run: about 1 year ago
...
520
33KB
307s