analytics/lib/plausible_web/templates/email/spike_notification.html.eex

19 lines
477 B
Elixir
Raw Normal View History

2020-12-11 14:58:58 +03:00
There are currently <%= @current_visitors %> visitors on <%= link(@site.domain, to: "https://" <> @site.domain) %>.
<%= if Enum.count(@sources) > 0 do %>
2020-12-11 18:01:09 +03:00
<br />
<br />
The top 3 sources for current visitors:<br />
2020-12-11 18:01:09 +03:00
<%= for %{name: source, count: visitors} <- @sources do %>
<%= source %> - <%= visitors %> visitors<br />
<% end %>
<% end %>
2020-12-11 14:58:58 +03:00
2020-12-11 12:50:44 +03:00
<%= if @link do %>
2020-12-11 14:58:58 +03:00
<br /><br />
View dashboard: @link
2020-12-11 12:50:44 +03:00
<% end %>
<br /><br />
--
<br /><br />
<%= plausible_url() %><br />