{# templates/analytics/analytics_action_list.html #} {% extends "template_base.html" %} {% block title %} Analytics Action {% endblock %} {% block content %} {% load template_filters %}

< Analytics Home

Analytics Action {% if voter_we_vote_id %} for One Voter : {{ voter_we_vote_id }} {% elif organization_we_vote_id %} for One Endorser : {{ organization_we_vote_id }} {% endif %}

{% if voter_we_vote_id %} Show raw AnalyticsAction entries for one voter. show all  {% elif organization_we_vote_id %} Show raw AnalyticsAction entries for one organization. show all  {% else %} Show raw AnalyticsAction entries. {% endif %} {% if show_user_agent != '1' %} Show user agent data. {% endif %}

{% if analytics_action_search %} {% if voter_we_vote_id %} clear search  {% elif organization_we_vote_id %} clear search  {% else %} clear search  {% endif %} {% endif %} {% if voter_we_vote_id %}
{% csrf_token %}
{% elif organization_we_vote_id %}
{% csrf_token %}
{% else %}
{% csrf_token %}
{% endif %}
{% csrf_token %}
{{ start_date|default_if_none:"" }}

{{ through_date|default_if_none:"" }}

{% for one_row in analytics_action_list %} {% if forloop.counter == 1 or forloop.counter|divisibleby:20 %} {% if show_user_agent %} {% endif %} {% endif %} {% if show_user_agent %} {% endif %} {% endfor %} {% if not analytics_action_list %} {% endif %}
# id action_constant exact_time date_as_integer voter signed in organization ballot_item we_vote_id state code google civic election id first visit today Is Bot? DeviceUser Agent (hide)
{{ forloop.counter }} {{ one_row.id }} {{ one_row.display_action_constant_human_readable }} {{ one_row.exact_time|default_if_none:"n/a" }} {{ one_row.date_as_integer|default_if_none:"n/a" }} {% if voter_we_vote_id or organization_we_vote_id %} {{ one_row.voter_we_vote_id|default_if_none:"n/a" }} {% else %} {{ one_row.voter_we_vote_id|default_if_none:"n/a" }} {% endif %} {% if one_row.is_signed_in %}yes{% endif %} {{ one_row.organization.organization_name|default_if_none:"n/a" }} {% if one_row.organization_we_vote_id %} {% if organization_we_vote_id or voter_we_vote_id %} ({{ one_row.organization_we_vote_id|default_if_none:"n/a" }}) {% else %} ({{ one_row.organization_we_vote_id|default_if_none:"n/a" }}) {% endif %} {% endif %} {{ one_row.ballot_item_we_vote_id|default_if_none:"n/a" }} {{ one_row.state_code|default_if_none:"" }} {{ one_row.google_civic_election_id|default_if_none:"n/a" }} {% if one_row.first_visit_today %}first{% endif %} {% if one_row.is_bot %}Y{% endif %} {% if one_row.is_mobile %}Mobile {% endif %} {% if one_row.is_desktop %}Desktop {% endif %} {% if one_row.is_tablet %}Tablet {% endif %}{{ one_row.user_agent|default_if_none:"" }}
No sitewide day-to-day metrics found for any organizations.
{% if voter_we_vote_id %} For Testing: Augment this voter's analytics {% elif organization_we_vote_id %} For Testing: Update Election Metrics for this Endorser for Election: {{ google_civic_election_id }} {% endif %}

{% endblock %}{% url 'analytics:organization_election_metrics' %}