diff --git a/web/static/eum-tmpl.html b/web/static/eum-tmpl.html index 329516d..baada8c 100644 --- a/web/static/eum-tmpl.html +++ b/web/static/eum-tmpl.html @@ -6,7 +6,7 @@ })(window,document,'script','//eum.instana.io/eum.min.js','ineum'); ineum('key', 'INSTANA_EUM_KEY'); ineum('reportingUrl', 'INSTANA_EUM_REPORTING_URL'); - ineum('page', 'Shop'); + ineum('page', 'splash.html'); diff --git a/web/static/js/controller.js b/web/static/js/controller.js index df3e84e..da7eda3 100644 --- a/web/static/js/controller.js +++ b/web/static/js/controller.js @@ -54,19 +54,10 @@ // Instana EUM // may not be loaded so check for ineum object - $rootScope.$on('$routeChangeStart', (event, next, current) => { - if(typeof ineum !== 'undefined') { - ineum('startSpaPageTransition'); - } - }); $rootScope.$on('$routeChangeSuccess', (event, next, current) => { if(typeof ineum !== 'undefined') { - ineum('endSpaPageTransition', {'status': 'completed', 'url': window.location.href}); - } - }); - $rootScope.$on('$routeChangeError', (event, next, current) => { - if(typeof ineum !== 'undefined') { - ineum('endSpaPageTransition', {'status': 'error'}); + //console.log('route change', event, next, current); + ineum('page', next.loadedTemplateUrl); } }); });