chore: analytics tracker events (#1119)

* chore: added export analytics event tracker

* chore: add analytics view events

* chore: workspace analytics view track event added
This commit is contained in:
Aaryan Khandelwal 2023-05-25 12:38:53 +05:30 committed by GitHub
parent 7e5b26ea82
commit 11b28048bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 166 additions and 7 deletions

View file

@ -9,7 +9,6 @@ axios.interceptors.response.use(
if (unAuthorizedStatus.includes(status)) {
Cookies.remove("refreshToken", { path: "/" });
Cookies.remove("accessToken", { path: "/" });
console.log("window.location.href", window.location.pathname);
if (window.location.pathname != "/signin") window.location.href = "/signin";
}
return Promise.reject(error);