This repository was archived by the owner on Aug 2, 2025. It is now read-only.
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 11You can open release notes by going to Settings -> About -> Release notes.
22
3+ ## 1.9.10-beta
4+
5+ - Added more analytics
6+
37## 1.9.9-beta
48
59- 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 11{
22 "name" : " client" ,
3- "version" : " 1.9.9 -beta" ,
3+ "version" : " 1.9.10 -beta" ,
44 "type" : " module" ,
55 "scripts" : {
66 "dev" : " npm-run-all --parallel dev:*" ,
3232 "@tanstack/react-query" : " ^5.17.19" ,
3333 "@tanstack/react-query-devtools" : " ^5.17.19" ,
3434 "@tanstack/react-query-persist-client" : " ^5.17.19" ,
35+ "@types/mixpanel-browser" : " ^2.48.1" ,
3536 "@types/react-dom" : " ^18.0.9" ,
3637 "@vercel/analytics" : " ^1.1.1" ,
3738 "dayzed" : " ^3.2.3" ,
4344 "linkifyjs" : " ^4.0.2" ,
4445 "luxon" : " ^3.2.1" ,
4546 "micromark" : " ^3.1.0" ,
47+ "mixpanel-browser" : " ^2.49.0" ,
4648 "phosphor-react" : " ^1.4.1" ,
4749 "react" : " ^18.1.0" ,
4850 "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";
1717import { createSyncStoragePersister } from "@tanstack/query-sync-storage-persister" ;
1818import { QueryCache , QueryClient } from "@tanstack/react-query" ;
1919import { inject } from "@vercel/analytics" ;
20+ import mixpanel from "mixpanel-browser" ;
2021
2122// Redirect to new domain if using old domain
2223if ( window . location . host === "timetabl.vercel.app" ) {
@@ -129,6 +130,11 @@ const userInterface = new UserInterface(
129130// =======
130131
131132// Initialise analytics
133+ mixpanel . init ( "bdeb697218eafcf9988cf7dfa37f9250" , {
134+ track_pageview : true ,
135+ persistence : "localStorage" ,
136+ } ) ;
137+
132138inject ( {
133139 beforeSend : ( event ) => {
134140 if ( event . type === "pageview" ) {
You can’t perform that action at this time.
0 commit comments