<%= @name %> report for <%= @site.domain %>

<%= Timex.format!(@query.date_range.first, "{D} {Mshort}") %> – <%= Timex.format!(@query.date_range.last, "{D} {Mshort} {YYYY}") %>

UNIQUE VISITORS

<%= PlausibleWeb.StatsView.large_number_format(@unique_visitors) %>

<%= cond do %> <% @change_visitors == nil -> %>

N/A

<% @change_visitors >= 0 -> %>

+<%= @change_visitors %>%

<% @change_visitors < 0 -> %>

<%= @change_visitors %>%

<% end %>
PAGEVIEWS

<%= PlausibleWeb.StatsView.large_number_format(@pageviews) %>

<%= cond do %> <% @change_pageviews == nil -> %>

N/A

<% @change_pageviews >= 0 -> %>

+<%= @change_pageviews %>%

<% @change_pageviews < 0 -> %>

<%= @change_pageviews %>%

<% end %>
BOUNCE RATE

<%= @bounce_rate %>%

<%= cond do %> <% @change_bounce_rate == nil -> %>

N/A

<% @change_bounce_rate <= 0 -> %>

<%= @change_bounce_rate %>%

<% @change_bounce_rate > 0 -> %>

+<%= @change_bounce_rate %>%

<% end %>

Referrer

Visitors

<%= for source <- @sources do %>

<%= source[:source] %>

<%= PlausibleWeb.StatsView.large_number_format(source[:visitors]) %>

<% end %>

Page

Views

<%= for page <- @pages do %>

<%= page[:page] %>

<%= PlausibleWeb.StatsView.large_number_format(page[:visitors]) %>

<% end %>
<%= if @login_link do %> Login to view your dashboard <% end %>

Don't want to receive these emails? Click here to unsubscribe.