Screenflows for Localytics.

master
Nick Sergeant 2015-07-17 13:46:02 -04:00
parent b3f9bc5e71
commit 1e6dcec857
7 changed files with 38 additions and 0 deletions

View File

@ -664,6 +664,7 @@
addNewSnipt: function() {
window.ll('tagEvent', 'Added snipt');
window.ll('tagScreen', 'Add snipt view');
var $articleNewSnipt = $('article#new-snipt');

View File

@ -466,6 +466,8 @@
{% include 'analytics.html' %}
{% block analytics %}{% endif %}
{% block preload %}
<div class="hidden">
<img src="{{ STATIC_URL }}img/header-fixed-save.gif" alt="" />

View File

@ -23,3 +23,9 @@
</fieldset>
</form>
{% endblock %}
{% block analytics %}
{% if not debug %}
window.ll('tagScreen', 'Pro signup complete view');
{% endif %}
{% endblock %}

View File

@ -127,3 +127,9 @@
</fieldset>
</form>
{% endblock %}
{% block analytics %}
{% if not debug %}
window.ll('tagScreen', 'Pro signup view');
{% endif %}
{% endblock %}

View File

@ -60,3 +60,9 @@
{% csrf_token %}
</form>
{% endblock %}
{% block analytics %}
{% if not debug %}
window.ll('tagScreen', 'Login view');
{% endif %}
{% endblock %}

View File

@ -89,3 +89,9 @@
</form>
{% endif %}
{% endblock %}
{% block analytics %}
{% if not debug %}
window.ll('tagScreen', 'Signup view');
{% endif %}
{% endblock %}

View File

@ -101,3 +101,14 @@
}());
</script>
{% 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 %}