Commit Graph

130 Commits

Author SHA1 Message Date
Uku Taht
1c501db394 Fix daily view 2020-07-14 12:15:23 +03:00
Uku Taht
c6714b3ce0 Fix date parsing in Safari
Closes #216
2020-07-14 11:30:01 +03:00
Uku Taht
802b69e15a
Cancel dashboard ajax requests when query is changed (#197) 2020-07-02 11:21:59 +03:00
Uku Taht
3dcb1cd87f Do not assume https when linking to site. Closes #194 2020-06-30 11:55:04 +03:00
Uku Taht
8e9c938a9e Fix URL encoding in devices report 2020-06-02 14:39:21 +03:00
Uku Taht
4bd12f03fc
Reduce script size (#68)
* Remove cookie code

* Compile tracker separetly from website assets

* Install uglify

* Help minifier reduce varaibles
2020-05-29 09:51:16 +03:00
Uku Taht
89e807b469 Handle errors better 2020-05-26 13:40:49 +03:00
Uku Taht
43b46e7607 Show last touch referrer for drilldown 2020-05-25 14:52:20 +03:00
Uku Taht
6de23e4b94 Remove jumpiness from when conversions are loaded 2020-04-23 10:58:04 +03:00
pmhoudry
22a2eae940
Correctly position more links on mobile (#56)
The more links are absolutely positioned. It works fine on desktop when
there is two columns. On mobile, the absolute sends the more links on
top of each other on top of the column. Adding a simple "relative" class
on each cards that contains a more link ensures that they stay when
they belong.
2020-04-21 10:57:18 +03:00
Marshall Bowers
bed7cc1ec7
Exclude loopback addresses from analytics (#55) 2020-04-20 18:27:54 +03:00
Uku Taht
9e0a45629e Remove Unused JS 2020-04-13 15:13:53 +03:00
Uku Taht
ec80b8fd51 Add tooltip to screen size 2020-04-08 15:29:49 +03:00
Uku Taht
9b9160ae86 Tweak colours 2020-03-26 15:43:55 +02:00
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
2020-03-26 14:22:48 +02:00
Uku Taht
b77d093e3b Update scripts 2020-03-24 15:29:24 +02:00
Uku Taht
594b085467
Analytics without using cookies (#44)
* Use fingerprints instead of user_id

* Fix tests
2020-03-24 10:50:16 +02:00
Uku Taht
70cbd67236 Align datepicker arrows 2020-03-06 11:54:36 +02:00
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
2020-03-06 11:11:38 +02:00
Uku Taht
a2ed7514d7
Improve datepicker (#41)
* Update datepicker dropdown style

* Add custom range for datepicker
2020-03-04 17:24:18 +02:00
Uku Taht
f892562a92 Remove modal fade animations 2020-03-03 16:18:02 +02:00
Uku Taht
9ce1c1f30b
Add empty states to reports (#40) 2020-03-03 15:15:09 +02:00
Uku Taht
cc5722050a
Show favicons for referrers (#39) 2020-03-03 14:32:32 +02:00
Uku Taht
e21b59fa4c
Animate dashboard loading to make it smoother (#38) 2020-03-03 11:13:08 +02:00
Uku Taht
aaa9c67e47
Add fingerprint sessions (#36) 2020-02-27 11:46:48 +02:00
Uku Taht
2049d43e34 Update script 2020-02-26 15:55:34 +02:00
Uku Taht
a315e1c86c Set cookie with samesite=strict 2020-02-26 15:48:57 +02:00
Uku Taht
45bb8a637e Code golf, makes getCookie function smaller 2020-02-26 15:45:36 +02:00
Uku Taht
5048c877f0 Preserve white-space in tweets 2020-02-26 15:31:12 +02:00
Uku Taht
7cd95956d0 Fix google keywords appearance 2020-02-17 10:51:32 +02:00
Uku Taht
8619dd6c96 Show tweets in the twitter report 2020-02-12 15:55:40 +02:00
Uku Taht
44a9734c22 Update scripts 2020-02-12 11:44:18 +02:00
Uku Taht
de61b6a36c Ensure 'undefined' isn't the value for referrer source 2020-02-12 11:31:50 +02:00
Uku Taht
ed3110a6ea
Introduce initial referrer and initial referrer source (#32)
* Introduce initial referrer and initial referrer source

* Add test
2020-02-12 11:11:02 +02:00
Uku Taht
4861248c3f Fix UI for google keywords 2020-02-11 11:54:52 +02:00
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
2020-02-10 15:17:00 +02:00
Uku Taht
e1ed9d59d9
Simple script format (#31)
* New script format

* Add popstate listener to p.js

* Render site creation error with focus
2020-02-06 11:25:24 +02:00
Uku Taht
1e417f03a9 Update script with plausible.js 2020-02-05 16:08:34 +02:00
Uku Taht
38512cadc8 Remove old uid code 2020-02-05 15:25:49 +02:00
Uku Taht
3679a7351f Remove www from domain 2020-02-05 13:53:57 +02:00
Uku Taht
fe97f79008 Change wording 2020-02-05 11:40:55 +02:00
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
2020-02-04 15:44:13 +02:00
Uku Taht
8b51e216bc Remove unused dependency 2020-01-29 16:23:15 +02:00
Uku Taht
3cc7d38e2a Show bounce rate if it is 0% 2020-01-29 15:49:46 +02:00
Uku Taht
39b5ea47f9 Remove dead code from JS 2020-01-22 16:42:08 +02:00
Uku Taht
423db302f7 Only count new visitors in referrer report 2020-01-16 15:40:06 +02:00
Uku Taht
b02cb74181
Fetch and display tweets (#27) 2020-01-16 13:39:47 +02:00
Uku Taht
19281f91d1 Remove bounce rate when filtered for goal 2020-01-15 10:57:47 +02:00
Uku Taht
cc3875da10 Fix api requests 2020-01-13 15:46:28 +02:00
Uku Taht
9f30e9eb1c
Export main graph as csv (#24)
* Export main graph as csv

* Remove unused deps from mix-lock

* Update bamboo dependency
2020-01-13 15:16:35 +02:00
Uku Taht
0dfd5b448d Rename 'last year' to 'last 12 months' 2020-01-08 11:31:58 +02:00
Uku Taht
0f6d742ae1 Show 6 months instead of 3 2020-01-08 11:25:46 +02:00
Uku Taht
5631367aef Add 'last year' instead of '6 months' 2020-01-08 11:23:03 +02:00
Uku Taht
b71e9bf5a5 Show more link unconditionally 2020-01-08 10:48:27 +02:00
Uku Taht
29ae3a2c21 Show bounce rate for referrers and pages 2020-01-07 14:53:04 +02:00
Uku Taht
980275092d Show bounce rate and session length 2020-01-06 14:36:55 +02:00
Uku Taht
447f45e562 Fix typo 2019-12-20 11:23:16 +08:00
Uku Taht
ddac5685a2 Add unload event to the tracking script 2019-12-18 16:06:01 +08:00
Uku Taht
77087b7655 Parse time in UTC 2019-12-17 22:15:31 -05:00
Uku Taht
29404816cb Fix comparison graph for hourly stats 2019-11-26 11:48:27 +08:00
Uku Taht
5ee2d908f2 Show conversion rate in the top stats when filtered for goal 2019-11-25 17:17:18 +08:00
Uku Taht
3b533fae21 Compare graph when filtering for goal 2019-11-25 11:37:50 +08:00
Uku Taht
c540c70e87 Show conversion rate when filtering for goal 2019-11-22 16:37:44 +08:00
Uku Taht
426963d6c5 Fix date links with a goal selected 2019-11-22 15:38:58 +08:00
Uku Taht
529d4f3018 Fix offset in react 2019-11-21 16:59:06 +08:00
Uku Taht
19a1361020 Fix date labels in the graph 2019-11-20 17:06:28 +08:00
Uku Taht
96abfc4ea1 Click on goal to see conversions for it 2019-11-20 13:48:27 +08:00
Uku Taht
e40a54e07a Default stats to 30 days 2019-11-19 12:44:54 +08:00
Uku Taht
a55ffb216d Load Chart.js only for dashboard 2019-11-19 12:43:28 +08:00
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
2019-11-19 12:30:42 +08:00
Uku Taht
c7ed0d54ce Add goals and conversions 2019-10-31 13:39:51 +08:00
Uku Taht
05911f2a20 Add function in SDK to trigger custom events 2019-10-31 12:08:55 +08:00
Uku Taht
d687663b80 Use new /event endpoint for pageviews 2019-10-31 11:49:46 +08:00
Uku Taht
7defb7f939 Save user data in cookie 2019-10-31 10:35:33 +08:00
Uku Taht
3cf30fdc3c Fix timezone for hours 2019-10-15 11:34:38 +08:00
Uku Taht
0fda0d08ec Format labels in UTC time 2019-10-14 12:52:16 +08:00
Uku Taht
bf4355f55a Remove unused JS 2019-09-05 17:10:32 +01:00
Uku Taht
00d02faad0 Show current visitors 2019-09-04 16:08:01 +01:00
Uku Taht
d2855210de Fix bug with screen size 2019-09-04 10:50:56 +01:00
Uku Taht
779d64e19a Initial commit 2019-09-02 12:29:19 +01:00