mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-24 15:27:17 +00:00
Add a Mixpanel event when the application starts (#311)
Fixes: https://github.com/resin-io/etcher/issues/310 Signed-off-by: Juan Cruz Viotti <jviottidc@gmail.com>
This commit is contained in:
parent
dec10f618e
commit
fd00a4ae0e
@ -74,6 +74,10 @@ const app = angular.module('Etcher', [
|
||||
'Etcher.Utils.Dropzone'
|
||||
]);
|
||||
|
||||
app.run(function(AnalyticsService) {
|
||||
AnalyticsService.logEvent('Application start');
|
||||
});
|
||||
|
||||
app.config(function($stateProvider, $urlRouterProvider) {
|
||||
$urlRouterProvider.otherwise('/main');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user