You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-29 21:23:11 +03:00
Fall back to legacy analytics for guest users (#7616)
This commit is contained in:
committed by
GitHub
parent
9d9b77d5e1
commit
d75c1bc0d6
@@ -1354,7 +1354,7 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
|
|||||||
|
|
||||||
StorageManager.tryPersistStorage();
|
StorageManager.tryPersistStorage();
|
||||||
|
|
||||||
if (PosthogAnalytics.instance.isEnabled()) {
|
if (PosthogAnalytics.instance.isEnabled() && SettingsStore.isLevelSupported(SettingLevel.ACCOUNT)) {
|
||||||
this.initPosthogAnalyticsToast();
|
this.initPosthogAnalyticsToast();
|
||||||
} else if (Analytics.canEnable() || CountlyAnalytics.instance.canEnable()) {
|
} else if (Analytics.canEnable() || CountlyAnalytics.instance.canEnable()) {
|
||||||
if (SettingsStore.getValue("showCookieBar") &&
|
if (SettingsStore.getValue("showCookieBar") &&
|
||||||
|
|||||||
Reference in New Issue
Block a user