{% extends "base.html" %} {% block title %}ROAS — Analytics{% endblock %} {% block content %}

{{ title_track or 'Unknown Track' }}

{{ title_artist or 'Unknown Artist'}}

Campaign: {{ start_str }} - {% if stop_str %} {{ stop_str }}{% endif %}

{% if budget %}

Budget: {{ budget }}

{% endif %} {% if audience_target %}

Audience: {{ audience_target }}

{% endif %} {% if objective %}

Objective: {{ objective }}

{% endif %} {% if recommended_date %}

Recommended Action Date: {{ recommended_date }}

{% endif %}
{% set v = did_coef|default(0)|float %} {{ ('+' if v >= 0 else '') ~ ('{:,.0f}'.format(v)) }} LF Streams {% if did_stat_sig %} * {% endif %}
Incremental Streams Estimate (7 days)
{{ ('Real-time Campaign Summary' if stop_str == '' else 'Campaign Summary') }}
{{ ('Recommended Actions' if stop_str == '' else 'Key Drivers & Takeaways') }}
{% if driver_text_parts.intro %}

{{ driver_text_parts.intro }}:

{% else %} {% endif %}
{% set _labels = ts_labels|default([]) %} {% set _treat = ts_treat|default([]) %} {% set _control = ts_control|default([]) %} {% if _labels and (_treat or _control) %}

LF Streams ( Spotify+ Apple)

{% endif %}
{% if metrics_all and (tt_series or mt_series) %}
    {% for m in metrics_all %}
  • {% endfor %}

TikTokTikTok

MetaMeta

{% endif %}

Campaign Analytics (Campaign Period)

{% for col in ca_columns %} {% endfor %} {% for row in ca_rows %} {% for col in ca_columns %} {% endfor %} {% endfor %}
{{ col | capitalize }}
{% if col == 'platform' %} {% if row[col]|lower == 'meta' %} Meta {% elif row[col]|lower == 'tiktok' %} TikTok {% endif %} {{ row[col] }} {% else %} {{ row[col] }} {% endif %}

Streaming Uplifts (7 Day Prior vs Post)

{% for col in uplift_columns %} {% endfor %} {% for row in uplift_rows %} {% for col in uplift_columns %} {% endfor %} {% endfor %}
{{ col | capitalize }}
{{ row[col] }}
{% endblock %}