Uku Taht
bda08df7b5
Get goal referrers from sessions table
7 years ago
Uku Taht
a228c6162f
Default to empty pathname
7 years ago
Uku Taht
0524ac92c2
Fix error loggin in Clickhouse
7 years ago
Uku Taht
b31c0114c5
Use Clickhouse everywhere
7 years ago
Uku Taht
439a4a80c7
Escape quote in event name
7 years ago
Uku Taht
ee4f604712
Update hydrate command
7 years ago
Uku Taht
578523170f
Query via clickhouse
7 years ago
Uku Taht
4800cc6cf7
Escape everything
7 years ago
Uku Taht
1087742fea
Clean after itself
7 years ago
Uku Taht
d83ec7b6a1
Report progress
7 years ago
Uku Taht
a8c1fa2ea6
Escape quote in sessions
7 years ago
Uku Taht
ea53daeaac
Hydrate historical data
7 years ago
Uku Taht
0ccb893c04
Ingest with new CH schema
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
f7180f9620
Don't track wrong password page
7 years ago
Uku Taht
e7cd441a43
Skip tracking on share email
7 years ago
Uku Taht
f587e348cd
Update contact form and email addresses
7 years ago
Uku Taht
c27119b03e
Fix price in email
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
d366dee08a
Do not track header
7 years ago
Uku Taht
6b53b4fbb5
Fix email login link
7 years ago
Uku Taht
a712a583ee
Fix typo
7 years ago
Uku Taht
3faec27c82
Fix clickhouse buffer inserts
7 years ago
Uku Taht
b76f5e728a
Log write buffer as info
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
9f7b5b9533
Only delete subscription if it exists
...
Fixes #61
7 years ago
Uku Taht
4a1a5f9b3b
Allow paused subscription status
7 years ago
Uku Taht
2db1289c92
Fix button styling on Safari
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
pmhoudry
f52aac6a31
Correctly position websites list on mobile ( #57 )
...
On mobile, the website list at /sites does not have any X padding. The
elements touch the screen left and right. This corrects it by wrapping
the list in a div with "px-4" on it.
This could also be achieved by setting "px-4" and "md:px-0" on every
element but it is unecessarily complex and if some more elements
appeared on this screen, it would be easy to forget this. A container
should be in charge of this, which is what is proposed here.
7 years ago
Uku Taht
454feec36e
Fix email link
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
75ac1dcc3a
Use plausible.nolt.io
7 years ago
Uku Taht
da2f01e9e3
Remove device ID from session
7 years ago
Uku Taht
1fc7442ad0
Don't set session if user isn't logged in
7 years ago
Uku Taht
989e3330a1
Remove acquisition tracking
7 years ago
Uku Taht
5697da77c2
Add link to setup success email
7 years ago
Uku Taht
fec2016935
Remove myself from email bcc
7 years ago
Uku Taht
1e66bde1d0
Add CTA to the demo page
7 years ago
Uku Taht
2b50c6cf2a
Use correct headers
7 years ago
Uku Taht
d3c770a6da
Remove log
7 years ago
Uku Taht
d8936888e6
Inspect headers
7 years ago
Uku Taht
7b9f2a31ef
Fix svg
7 years ago
Uku Taht
8a8792a7d3
Require logged out
7 years ago
Uku Taht
869b11296c
Use home dest in navbar
7 years ago
Uku Taht
074e895204
redirect users to /sites after login
7 years ago
Uku Taht
4c934e2737
Make navbars equal height
7 years ago
Uku Taht
bb765f9c0c
Change home destination
7 years ago
Uku Taht
d9d43160d0
Add sites route
7 years ago
Uku Taht
1b9cc038a3
Make cookie accessible to JS
7 years ago
Uku Taht
1397cb0e76
Set logged in cookie in required account plug
7 years ago
Uku Taht
9b9735dd0b
Keep a cookie for whether the user is logged in
7 years ago
Uku Taht
2cf57a795f
Drop session
7 years ago
Uku Taht
e14001664c
Fix tests
7 years ago
Uku Taht
9b9160ae86
Tweak colours
7 years ago
Uku Taht
2ee5646a7c
Update logos
7 years ago
Uku Taht
c40d532880
New landing page ( #47 )
...
* Fix typo
* Update landing page with components from TailwindUI
* Update copy
* Update FAQ and testimonials
* Add feature section
* Update copy for integration
* Implement feedback
* Remove github button JS
* Update headings
* Update gray values
* Update CTA section
* Add copy
7 years ago
Uku Taht
41e04d9594
Fix tracker
7 years ago
Uku Taht
3642168197
Correct email title
7 years ago
Uku Taht
7755b8b188
Make sure pageviews can be inserted
7 years ago
Uku Taht
02e72f0167
Add space below link
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
e3373724c7
Homepage SEO tags
7 years ago
Uku Taht
8af1714ea0
Add alt tags to images
7 years ago
Uku Taht
973f20c6d6
Use h1
7 years ago
Uku Taht
2ff0a90123
Push conversions on the register screen
7 years ago
Uku Taht
aff20ebbc5
Use better flatpickr theme cdn
7 years ago
Uku Taht
3fc17a51d5
Add field to track trial expiry date ( #45 )
7 years ago
Uku Taht
8db9a83cf7
Don't allow google to index the stats page
7 years ago
Uku Taht
05d24bf493
Fix spelling
7 years ago
Uku Taht
51dadbecc2
Remove unused scripts
7 years ago
Uku Taht
32937c53d1
Upgrade tailwind to 1.2.0 ( #42 )
...
* Upgrade config file
* Upgrade grey colour
* Update styles for dashboard
* Update styles for new site flow
* Update styles for user settings
* Update site setting styles
* Update other pages
* Adjust spacing
* Update last grey rules
* Purge css
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
ddd7640de8
Fix cookie SameSite policy
7 years ago
Uku Taht
d701f221fe
Add line break
7 years ago
Uku Taht
1d21ce144e
Skip plausible tracking on pages with customer site domains
7 years ago
Uku Taht
90a2c67825
Remove debug code
7 years ago
Uku Taht
c0f686b3d0
Fix trailing slash in referrer
7 years ago
Uku Taht
7fae8b9606
Change custom domain javascript filename to index.js
7 years ago
Uku Taht
36c08b989d
Debug bad referrer
7 years ago
Uku Taht
caf5424cb3
Add samesite strict to cookie
7 years ago
Uku Taht
b937a1507a
Update instructions for custom domains
7 years ago
Uku Taht
b7f65352ba
Update explainer in settings
7 years ago
Uku Taht
9a53c776d9
Configure webhook in secret
7 years ago
Uku Taht
ae68437e00
Update slack webhook url
7 years ago
Uku Taht
7d5443396f
Use fingerprint
7 years ago
Uku Taht
aaa9c67e47
Add fingerprint sessions ( #36 )
7 years ago
Uku Taht
fadb55c9c5
Update webhook URL
7 years ago
Uku Taht
08eba461df
Fix issue with snippet code
7 years ago
Uku Taht
1be43a6ce6
Update webhook
7 years ago
Uku Taht
99370c778c
Update webhook URL
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
da58d8d87e
Update slack webhook url
7 years ago
Uku Taht
656525bdbe
Fix spelling
7 years ago
Uku Taht
bfb7620120
Add user to Sentry context
7 years ago
Uku Taht
0788558b2b
Get twitter author url with https
7 years ago
Uku Taht
5495e53454
Backfill fingerprints for returning users ( #33 )
7 years ago
Uku Taht
4f1ec6a2c2
Remove query against `new_visitor`
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
7bb5d98956
Remove raw fingerprint
7 years ago
Uku Taht
759c21fff0
Use cloudflare header for fingerprint
7 years ago
Uku Taht
16b2dbf023
Store raw fingerprint for testing
7 years ago
Uku Taht
158dd3f822
Strip www from domain
7 years ago
Uku Taht
0875d57b59
Track fingerprint
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
10f7beb1e0
Only include tracking module when mix env is prod
7 years ago
Uku Taht
c3bcf40ced
Fix typo
7 years ago
Uku Taht
e1ed9d59d9
Simple script format ( #31 )
...
* New script format
* Add popstate listener to p.js
* Render site creation error with focus
7 years ago
Uku Taht
1e417f03a9
Update script with plausible.js
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
ccbc04f6bd
Fix crash when you have no google properties
7 years ago
Uku Taht
f9724bf9f1
Delete user subscription when deleting the user
7 years ago
Uku Taht
7440bff86a
Update copyright year
7 years ago
Uku Taht
94598f14f4
Ignore another backend task in coveralls
7 years ago
Uku Taht
9b0bd2162c
Remove unused socket code
7 years ago
Uku Taht
58eae6cd4d
Ignore backend task in coveralls
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
3fc1b6d952
Remove tracking
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
f97d170eeb
Remove trailing slash from google urls
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
9377a26a5d
Fix email reports
7 years ago
Uku Taht
82d7f05e48
Update meta description
7 years ago
Uku Taht
3548c57710
Capture session start
7 years ago
Uku Taht
ddac5685a2
Add unload event to the tracking script
7 years ago
Uku Taht
f7d752988a
Add sessions
7 years ago
Uku Taht
a1f61d1a8b
Show goals to anon vistitors
7 years ago
Uku Taht
8888c86820
Launch goals & conversions
7 years ago
Uku Taht
3c35ddae6e
Fix weekly email reports
7 years ago
Uku Taht
69eba6b0f2
Revert "Track visits to public sites"
...
This reverts commit 7a9a0f9ea0 .
7 years ago
Uku Taht
29404816cb
Fix comparison graph for hourly stats
7 years ago
Uku Taht
e17632e363
Remove unused function
7 years ago
Uku Taht
5ee2d908f2
Show conversion rate in the top stats when filtered for goal
7 years ago
Uku Taht
3b533fae21
Compare graph when filtering for goal
7 years ago
Uku Taht
c540c70e87
Show conversion rate when filtering for goal
7 years ago
Uku Taht
4245a6d1bd
Fix query shift
7 years ago
Uku Taht
529d4f3018
Fix offset in react
7 years ago
Uku Taht
b5797c8b10
Test getting conversions with a goal filter
7 years ago
Uku Taht
f71f98a521
Test Google referrer drilldown
7 years ago
Uku Taht
7d55cdd2a2
Remove unused code in query
7 years ago
Uku Taht
96abfc4ea1
Click on goal to see conversions for it
7 years ago
Uku Taht
4f23dd1553
Remove dead router code
7 years ago
Uku Taht
a55ffb216d
Load Chart.js only for dashboard
7 years ago
Uku Taht
e8f20e67cc
React ( #17 )
...
* Load dashboard with react
* Rename stast2 to dashboard
* Save timeframe on the frontend
* Implement current visitors
* Implement comparisons
* React to route changes
* Add modals
* Show number of visitors on hover
* Show 'Today' for today
* Add 30 days
* Show referrer drilldown
* Arrow keys to go back and forward
* Improve comparisons UI
* Fix dropdown when clicking on it
* Verify API access in a memoized fashion
* Test API access
* Test stats through controller
* Move map formatting from stats controller to stats
* Remove unused code
* Remove dead code from query
* Remove dead code from stats templates
* Add stats view test back in
* Render modal inside the modal component
* Implement google search terms
* Add explanation for screen sizes
* Separate dashboard JS from the app js
7 years ago
Uku Taht
eb0c62ce2b
Update welcome email
7 years ago
Uku Taht
daaf5ff615
Update the welcome email
7 years ago
Uku Taht
696cc3eb6b
Print user name who got a free subscrioption
7 years ago
Uku Taht
10840f9e10
Create free subscriptions
7 years ago
Uku Taht
2d68b6df0f
Remove wild \
7 years ago
Uku Taht
7a9a0f9ea0
Track visits to public sites
7 years ago
Uku Taht
0ae5448a2b
Show percentages for most stats
7 years ago
Uku Taht
9f2cdea503
Fix timezone display
7 years ago
Uku Taht
03e6ffaba5
Remove exceptions for beta users
7 years ago
Uku Taht
3031464610
Better explanation for the Goal removal
7 years ago
Uku Taht
0ef068b36e
Revert changes to tracking module
7 years ago
Uku Taht
0b96ed3b6c
Remove goal name
7 years ago
Uku Taht
71f6ccc73c
Add tests for site controller
7 years ago
Uku Taht
bf8443d028
Test goal_conversions function
7 years ago
Uku Taht
c7ed0d54ce
Add goals and conversions
7 years ago
Uku Taht
05911f2a20
Add function in SDK to trigger custom events
7 years ago
Uku Taht
d687663b80
Use new /event endpoint for pageviews
7 years ago
Uku Taht
4adfa6bdfa
Add tests for untested parts of stats.ex
7 years ago
Uku Taht
c5704c4e09
Add travis and coveralls
7 years ago
Uku Taht
3ea64de42b
Add `name` to events
7 years ago
Uku Taht
0c453be08c
Rename pageviews to events
7 years ago
Uku Taht
74ee0a163c
Make main graph more friendly on mobile
7 years ago
Uku Taht
7c7bdc6ef6
Proper timestamp
7 years ago
Uku Taht
71edf2c86d
Remove unused fields from pageviews
7 years ago
Uku Taht
815ce02136
Add personal Annual plan to plan ids
7 years ago
Uku Taht
b458b5a392
Fix webhook
7 years ago
Uku Taht
1bb756362d
Use email if user id is not known
7 years ago
Uku Taht
335da649db
Correct email address
7 years ago
Uku Taht
c93c97c458
Remove bcc to uku@plausible.io
7 years ago
Uku Taht
2203dfa093
Improve mobile experience
7 years ago
Uku Taht
370e87ed43
Remove appsignal
7 years ago
Uku Taht
731407f7b2
Configure Google Search Console property
7 years ago
Uku Taht
8d7e86c912
Add open source to page title
7 years ago
Uku Taht
0cdbaca38c
Remove climate banner
7 years ago
Uku Taht
dc13e0f228
Set from-address as Plausible Insights
7 years ago
Uku Taht
d4230ce5b6
Remove double minus from email
7 years ago
Uku Taht
e508f0f3fd
Add climate strike banner
7 years ago
Uku Taht
a20b5592f7
Show trial timing in navbar
7 years ago
Uku Taht
1417ed1927
Add missing label to form
7 years ago
Uku Taht
2d2cca2b06
Send monthly reports
7 years ago
Uku Taht
ac267c5f69
Manage monthly reports
7 years ago
Uku Taht
17e4dc96ef
Rename email settings to weekly report
7 years ago
Uku Taht
12b91ab242
Offer new sites to set up weekly reports
7 years ago
Uku Taht
7b8b48982b
Customize email address for email reports
7 years ago
Uku Taht
dfcbf9cc98
Fix typo
7 years ago
Uku Taht
0b753cc851
Improve landing page pricing structure
7 years ago
Uku Taht
123e60eff0
Add more benefits
7 years ago
Uku Taht
4991b696bf
Add plus and minus to change pageviews
7 years ago
Uku Taht
68bc3bc5ba
terge branch 'email-reports'
7 years ago
Uku Taht
acd04af592
Fix mailto link
7 years ago
Uku Taht
b46cca6bdc
Remove bcc from 14 day trial notification
7 years ago
Uku Taht
1da9ba38c9
Hide link from email clients
7 years ago
Uku Taht
1ee5147ffb
Add + and - to changes in email report
7 years ago
Uku Taht
cc75974821
Allow user to change email settings from settings page
7 years ago
Uku Taht
5d2b7de30f
Cut off graph in the future
7 years ago
Uku Taht
0dd7be2742
Merge pull request #10 from plausible-insights/email-reports
...
Add weekly email report template
7 years ago
Uku Taht
8397944a11
Only delete google auth if it exists
7 years ago
Uku Taht
7cdf4c4a10
Get vendor auth code from env
7 years ago
Uku Taht
49e71c9f78
Remove flatpickr
7 years ago
Uku Taht
00d02faad0
Show current visitors
7 years ago
Uku Taht
9868392818
Fix Google Search Console white page
7 years ago
Uku Taht
d2855210de
Fix bug with screen size
7 years ago
Uku Taht
f3985903b3
Add 7 days as an option
7 years ago
Uku Taht
dc201f0b57
Remember timeframe period for next time
7 years ago
Uku Taht
d065f33bbd
Update landing page
7 years ago
Uku Taht
f3dd5d696e
Add weekly email report template
7 years ago
Uku Taht
779d64e19a
Initial commit
7 years ago