{% extends 'base.html' %} {% block title %}Marketing Dashboard - Optinet Global Links{% endblock %} {% block extra_css %} {% include 'customers/marketing_nav.html' %} {% endblock %} {% block content %}
{% include 'customers/marketing_nav.html' %}

Marketing Analytics

Customer acquisition metrics and marketing performance

{{ current_month }}

{{ total_customers }}

Total Customers

{{ customers_this_month }}

New This Month

{{ my_customers_count }}

My Acquisitions

{{ my_tickets_count }}

Tickets Created

{{ my_reports_count|default:0 }}

Reports Submitted

{{ conversion_rate|floatformat:1|default:0 }}%

Conversion Rate

Weekly Customer Growth
My Recent Customers
{% if my_customers_this_month %}
{% for customer in my_customers_this_month %}
{{ customer.full_name }}
{{ customer.phone }}
{{ customer.created_at|date:"M d" }}
View
{% endfor %}
{% if my_customers_this_month|length > 5 %} {% endif %} {% else %}

No customers added this month yet.

{% endif %}
My Recent Tickets
View All
{% if recent_tickets %}
{% for ticket in recent_tickets %} {% endfor %}
Ticket ID Title Customer Priority Status Created Actions
{{ ticket.ticket_id }} {{ ticket.title|truncatechars:30 }} {{ ticket.customer_name }} {{ ticket.get_priority_display }} {{ ticket.get_status_display }} {{ ticket.created_at|date:"M d, Y" }}
{% else %}

No tickets created this month yet.

{% endif %}
{% endblock %} {% block extra_js %} {% endblock %}