Commit Graph

78 Commits (89e807b469e98d2e5a69fe1e85152e85c5c19a45)

Author SHA1 Message Date
Uku Taht 43b46e7607 Show last touch referrer for drilldown 7 years ago
Uku Taht a228c6162f Default to empty pathname 7 years ago
Uku Taht b31c0114c5 Use Clickhouse everywhere 7 years ago
Uku Taht d94a8dbc7e
Clickhouse (#66)
* Get stats from clickhosue

* Pull stats from clickhouse

* Use correct Query namespace

* Use Clickhouse in unit tests

* Use Clickhouse in stats controller tests

* Use fixtures for unit tests

* Add Clickhouse to travis

* Use Clickhouse session store for sessions

* Add garbage collection to session store

* Reload session state from Clickhouse on server restart

* Query from sessions table

* Trap exits in event write buffer

* Run hydration without starting the whole app

* Make session length 30 minutes

* Revert changes to fingerprint schema

* Remove clickhouse from fingerprint sessions

* Flush buffers before shutdown

* Use old stats when merging

* Remove old session schema

* Fix tests with CH sessions

* Add has_pageviews? to Stats

* Use CH in staging

* Update schema

* Fix test setup
7 years ago
Uku Taht d1b703f007
Clickhouse (#63)
* Get stats from clickhosue

* Pull stats from clickhouse

* Use correct Query namespace

* Use Clickhouse in unit tests

* Use Clickhouse in stats controller tests

* Use fixtures for unit tests

* Add Clickhouse to travis

* Use Clickhouse session store for sessions

* Add garbage collection to session store

* Reload session state from Clickhouse on server restart

* Query from sessions table

* Trap exits in event write buffer

* Run hydration without starting the whole app

* Make session length 30 minutes

* Revert changes to fingerprint schema

* Remove clickhouse from fingerprint sessions

* Flush buffers before shutdown

* Use old stats when merging

* Remove old session schema

* Fix tests with CH sessions

* Add has_pageviews? to Stats
7 years ago
Uku Taht 5d1dc0d27c
Clickhouse DB (#62)
* WIP

* Get all stats from Clickhouse

* Use https dependency

* Do not namespace db tables in hydrate task

* Update hydration task

* Ingest data to clickhouse

* Double-write to both Clickhouse and Postgres

* Add test setup

* Keep old stats module

* Prepare for live ingestion test
7 years ago
Uku Taht 9476ccf95c
Yearly billing (#58)
* Add yearly billing options

* Add new subscription names

* Add note about yearly billing in the email

* Add a test for change_plan function

* Add allowance function back in

* Test billing controller endpoint
7 years ago
Uku Taht 4163d2a9ba
Authentication updates (#54)
* Use separate cookie for shared link auth

* Remove CSRF protection from login and register pages

* Add AuthorizeStats Plug

* Fix tests
7 years ago
Uku Taht ddf08b97e8 Cascade custom domain deletion 7 years ago
Uku Taht 2b50c6cf2a Use correct headers 7 years ago
Uku Taht 074e895204 redirect users to /sites after login 7 years ago
Uku Taht 2cf57a795f Drop session 7 years ago
Uku Taht e14001664c Fix tests 7 years ago
Uku Taht 594b085467
Analytics without using cookies (#44)
* Use fingerprints instead of user_id

* Fix tests
7 years ago
Uku Taht 6d1f7afde5 Do not send check stats email to someone who has weekly report enabled 7 years ago
Uku Taht ee92ed5213
Email flows (#46)
* Update activation email

* Update trial upgrade emails

* Remove feedback emails

* Remove feedback email test

* Update welcome email (and send it earlier)

* Site setup emails

* Add create site emails for trialers

* Add check stats email

* Remove dead code

* Adjust site setup emails for users who are not on trial

* BCC myself on all new emails

* Use old phrasing in the welcome email
7 years ago
Uku Taht 3fc17a51d5
Add field to track trial expiry date (#45) 7 years ago
Uku Taht a2ed7514d7
Improve datepicker (#41)
* Update datepicker dropdown style

* Add custom range for datepicker
7 years ago
Uku Taht cc5722050a
Show favicons for referrers (#39) 7 years ago
Uku Taht c0f686b3d0 Fix trailing slash in referrer 7 years ago
Uku Taht 08eba461df Fix issue with snippet code 7 years ago
Uku Taht 79b9f72b52
Custom domains (#34)
* UI to create custom domains

* Only call ssh once per domain

* Update copy for custom domain setup

* Use correct user for ssh
7 years ago
Uku Taht 5495e53454
Backfill fingerprints for returning users (#33) 7 years ago
Uku Taht ed3110a6ea
Introduce initial referrer and initial referrer source (#32)
* Introduce initial referrer and initial referrer source

* Add test
7 years ago
Uku Taht 8a4d0a91d1
WIP: New UI updates (#19)
* WIP: New UI idea

* Remove hover styling if things are not clickable

* Improve mobile view

* Remove dead code

* Fade in tabs

* Update landing page with new style

* Fix countries test

* Fix alignment in conversions report
7 years ago
Uku Taht 3679a7351f Remove www from domain 7 years ago
Uku Taht 7dbbc8ba22
Configurable site id (#30)
* Use site id instead of hostname for events

* Use site id in domain status check

* Revert change to tracking module

* Catch more places where link generation needed updating

* Rename site_id to domain

* Drop hostname index from events
7 years ago
Uku Taht ad2e5b6b28 Remove unused code 7 years ago
Uku Taht f9724bf9f1 Delete user subscription when deleting the user 7 years ago
Uku Taht 9b0bd2162c Remove unused socket code 7 years ago
Uku Taht 614e2eeb34 Remove unused helper function 7 years ago
Uku Taht 5f62025176
Shared links (#29)
* Create shared links UI

* Show shared links in a list on settings page

* Show dropdown for each shared link

* Show icon actions for shared links

* Log user in when they click non-password-protected shared link

* Actually authenticate using a password

* Delete shared links
7 years ago
Uku Taht c96f364ad8
Add and remove recipients for email reports (#28)
* Add and remove recipients for email reports

* Remove unused google_settings controller action

* Background job sends email reports to multiple recipients

* Add a way to unsubscribe for recipients who cannot log in

* Fix view on plausible link

* Include bounce rate in email report
7 years ago
Uku Taht 423db302f7 Only count new visitors in referrer report 7 years ago
Uku Taht 9df398b663 Use group by for grouping tweets 7 years ago
Uku Taht b02cb74181
Fetch and display tweets (#27) 7 years ago
Uku Taht 94a20fb0a2
Add exit page to sessions (#25) 7 years ago
Uku Taht 9f30e9eb1c
Export main graph as csv (#24)
* Export main graph as csv

* Remove unused deps from mix-lock

* Update bamboo dependency
7 years ago
Uku Taht 0f6d742ae1 Show 6 months instead of 3 7 years ago
Uku Taht 5631367aef Add 'last year' instead of '6 months' 7 years ago
Uku Taht 254d34d0a4 Trim trailing slash from referrer 7 years ago
Uku Taht 29ae3a2c21 Show bounce rate for referrers and pages 7 years ago
Uku Taht df1ba2cd82 Remove session length from the UI 7 years ago
Uku Taht 980275092d Show bounce rate and session length 7 years ago
Uku Taht 438a1c3d19 Cascade google auth deletion 7 years ago
Uku Taht b7815bfe25 Revert "Cascade site google auth deletion"
This reverts commit fd8917d4f3.
7 years ago
Uku Taht fd8917d4f3 Cascade site google auth deletion 7 years ago
Uku Taht 3548c57710 Capture session start 7 years ago
Uku Taht f7d752988a Add sessions 7 years ago
Uku Taht 8888c86820 Launch goals & conversions 7 years ago