mirror of
https://github.com/mue/mue.git
synced 2026-07-25 09:47:26 +02:00
feat: add opt-in umami analytics (WIP)
This commit is contained in:
@@ -44,12 +44,14 @@ export default class Maximise extends React.PureComponent {
|
||||
});
|
||||
|
||||
this.setAttribute(0, 100);
|
||||
window.analytics.postEvent('featureUpdate', 'Feature background maximise used');
|
||||
} else {
|
||||
this.setState({
|
||||
hidden: false
|
||||
});
|
||||
|
||||
this.setAttribute(localStorage.getItem('blur'), localStorage.getItem('brightness'), true);
|
||||
window.analytics.postEvent('featureUpdate', 'Feature background unmaximise used');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user