Remove all mix panel code and calls when no mix panel key is specified
This commit is contained in:
parent
3a3758654c
commit
c20b04d072
3 changed files with 65 additions and 38 deletions
|
@ -135,7 +135,7 @@ angular.module("angular-tour", [])
|
|||
};
|
||||
|
||||
var fireMixpanelEvent = function() {
|
||||
if (!$scope.step || !mixpanel) { return; }
|
||||
if (!$scope.step || !window['mixpanel']) { return; }
|
||||
|
||||
var eventName = $scope.step['mixpanelEvent'];
|
||||
if (eventName) {
|
||||
|
|
Reference in a new issue