File tree Expand file tree Collapse file tree 4 files changed +27
-1
lines changed Expand file tree Collapse file tree 4 files changed +27
-1
lines changed Original file line number Diff line number Diff line change 1
1
You can open release notes by going to Settings -> About -> Release notes.
2
2
3
+ ## 1.9.10-beta
4
+
5
+ - Added more analytics
6
+
3
7
## 1.9.9-beta
4
8
5
9
- Fixed a bug where the app would show "Log in for the latest info" the first time the user logs in
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " client" ,
3
- "version" : " 1.9.9 -beta" ,
3
+ "version" : " 1.9.10 -beta" ,
4
4
"type" : " module" ,
5
5
"scripts" : {
6
6
"dev" : " npm-run-all --parallel dev:*" ,
32
32
"@tanstack/react-query" : " ^5.17.19" ,
33
33
"@tanstack/react-query-devtools" : " ^5.17.19" ,
34
34
"@tanstack/react-query-persist-client" : " ^5.17.19" ,
35
+ "@types/mixpanel-browser" : " ^2.48.1" ,
35
36
"@types/react-dom" : " ^18.0.9" ,
36
37
"@vercel/analytics" : " ^1.1.1" ,
37
38
"dayzed" : " ^3.2.3" ,
43
44
"linkifyjs" : " ^4.0.2" ,
44
45
"luxon" : " ^3.2.1" ,
45
46
"micromark" : " ^3.1.0" ,
47
+ "mixpanel-browser" : " ^2.49.0" ,
46
48
"phosphor-react" : " ^1.4.1" ,
47
49
"react" : " ^18.1.0" ,
48
50
"react-dom" : " ^18.1.0" ,
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ import * as Sentry from "@sentry/react";
17
17
import { createSyncStoragePersister } from "@tanstack/query-sync-storage-persister" ;
18
18
import { QueryCache , QueryClient } from "@tanstack/react-query" ;
19
19
import { inject } from "@vercel/analytics" ;
20
+ import mixpanel from "mixpanel-browser" ;
20
21
21
22
// Redirect to new domain if using old domain
22
23
if ( window . location . host === "timetabl.vercel.app" ) {
@@ -129,6 +130,11 @@ const userInterface = new UserInterface(
129
130
// =======
130
131
131
132
// Initialise analytics
133
+ mixpanel . init ( "bdeb697218eafcf9988cf7dfa37f9250" , {
134
+ track_pageview : true ,
135
+ persistence : "localStorage" ,
136
+ } ) ;
137
+
132
138
inject ( {
133
139
beforeSend : ( event ) => {
134
140
if ( event . type === "pageview" ) {
You can’t perform that action at this time.
0 commit comments