fix views analytics (#885)

* fix views analytics

* update ip stripping

* update clickhouse tables

* fix broken queries

* Fix panics

* fix download undercounting

* fix packerator failing sometimes

* run prep
This commit is contained in:
Geometrically
2024-03-02 14:04:46 -07:00
committed by GitHub
parent 04d834187b
commit e2ffeab8fa
12 changed files with 207 additions and 140 deletions

View File

@@ -34,6 +34,8 @@ pub struct PageView {
pub user_id: u64,
// Modrinth Project ID (used for payouts)
pub project_id: u64,
// whether this view will be monetized / counted for payouts
pub monetized: bool,
// The below information is used exclusively for data aggregation and fraud detection
// (ex: page view botting).