diff --git a/media/js/src/modules/snipt.js b/media/js/src/modules/snipt.js index 584395c..a8bf24e 100644 --- a/media/js/src/modules/snipt.js +++ b/media/js/src/modules/snipt.js @@ -56,9 +56,6 @@ }, copy: function() { - - window.ll('tagEvent', 'Copied snipt'); - $('textarea', this.$copyModal).remove(); window.ui_halted = true; @@ -87,9 +84,6 @@ this.model.destroy(); }, edit: function(adding) { - - window.ll('tagEvent', 'Edited snipt'); - window.editing = true; window.ui_halted = true; @@ -293,9 +287,6 @@ return false; }, embed: function() { - - window.ll('tagEvent', 'Embedded snipt'); - $('textarea', this.$embedModal).remove(); window.ui_halted = true; @@ -355,7 +346,6 @@ success: function() { that.$el.removeClass('favorited'); that.$favorite.text('Favorite'); - window.ll('tagEvent', 'Unfavorited snipt'); }, headers: { 'Authorization': 'ApiKey ' + window.user + ':' + window.api_key @@ -370,7 +360,6 @@ that.$el.addClass('favorited'); that.model.set({'favorite_id': resp.id}, {'silent': true}); that.$favorite.text('Favorited'); - window.ll('tagEvent', 'Favorited snipt'); }, headers: { 'Authorization': 'ApiKey ' + window.user + ':' + window.api_key @@ -738,10 +727,6 @@ }); }, addNewSnipt: function() { - - window.ll('tagEvent', 'Added snipt'); - window.ll('tagScreen', 'Add snipt view'); - var $articleNewSnipt = $('article#new-snipt'); if ($articleNewSnipt.length === 0) { diff --git a/media/js/src/snipts.js b/media/js/src/snipts.js index 4bcf504..ec439d6 100644 --- a/media/js/src/snipts.js +++ b/media/js/src/snipts.js @@ -20,11 +20,6 @@ $scope.$root.account = response.data; $scope.$root.$watch('account.list_view', function(newView, oldView) { if (oldView !== newView) { - if (newView === 'N') { - window.ll('tagEvent', 'Switched to normal view'); - } else { - window.ll('tagEvent', 'Switched to compact view'); - } AccountStorage.saveAccount($scope.$root.account, ['list_view']).then(function(response) { $scope.$root.account = response.data; }); diff --git a/teams/templates/teams/for-teams-complete.html b/teams/templates/teams/for-teams-complete.html index c7a7753..88463e8 100644 --- a/teams/templates/teams/for-teams-complete.html +++ b/teams/templates/teams/for-teams-complete.html @@ -26,9 +26,3 @@ {% endblock %} - -{% block analytics %} - {% if not debug %} - window.ll('tagScreen', 'Pro signup complete view'); - {% endif %} -{% endblock %} diff --git a/teams/templates/teams/for-teams.html b/teams/templates/teams/for-teams.html index 9d204a1..15d0b03 100644 --- a/teams/templates/teams/for-teams.html +++ b/teams/templates/teams/for-teams.html @@ -64,9 +64,3 @@ {% endblock %} - -{% block analytics %} - {% if not debug %} - window.ll('tagScreen', 'Team beta signup view'); - {% endif %} -{% endblock %} diff --git a/teams/templates/teams/team-members.html b/teams/templates/teams/team-members.html index de35ec4..5513353 100644 --- a/teams/templates/teams/team-members.html +++ b/teams/templates/teams/team-members.html @@ -70,9 +70,3 @@ {% endblock %} - -{% block analytics %} - {% if not debug %} - window.ll('tagScreen', 'Team members view'); - {% endif %} -{% endblock %} diff --git a/templates/analytics.html b/templates/analytics.html index 782ee31..0d954e6 100644 --- a/templates/analytics.html +++ b/templates/analytics.html @@ -17,8 +17,4 @@ })(); -{% else %} - {% endif %} diff --git a/templates/registration/login.html b/templates/registration/login.html index 5bd2fab..901e0ef 100644 --- a/templates/registration/login.html +++ b/templates/registration/login.html @@ -60,9 +60,3 @@ {% csrf_token %} {% endblock %} - -{% block analytics %} - {% if not debug %} - window.ll('tagScreen', 'Login view'); - {% endif %} -{% endblock %} diff --git a/templates/registration/registration_form.html b/templates/registration/registration_form.html index 492d15d..cc06a12 100644 --- a/templates/registration/registration_form.html +++ b/templates/registration/registration_form.html @@ -86,9 +86,3 @@ {% endif %} {% endblock %} - -{% block analytics %} - {% if not debug %} - window.ll('tagScreen', 'Signup view'); - {% endif %} -{% endblock %} diff --git a/templates/search/search.html b/templates/search/search.html index a0c7351..0ba7780 100644 --- a/templates/search/search.html +++ b/templates/search/search.html @@ -133,14 +133,3 @@ }()); {% endblock %} - -{% block analytics %} - {% if not debug %} - window.ll('tagScreen', 'Search view'); - {% if query %} - window.ll('tagEvent', 'Searched', { query: "{{ query }}" }); - {% else %} - window.ll('tagEvent', 'Visited search page'); - {% endif %} - {% endif %} -{% endblock %}