2020-12-11 14:58:58 +03:00
|
|
|
There are currently <%= @current_visitors %> visitors on <%= link(@site.domain, to: "https://" <> @site.domain) %>.
|
2020-12-11 15:28:31 +03:00
|
|
|
<%= if Enum.count(@sources) > 0 do %>
|
2020-12-11 18:01:09 +03:00
|
|
|
<br />
|
|
|
|
<br />
|
2020-12-14 11:29:10 +03:00
|
|
|
The top sources for current visitors:<br />
|
2020-12-11 18:01:09 +03:00
|
|
|
<%= for %{name: source, count: visitors} <- @sources do %>
|
2020-12-14 11:29:10 +03:00
|
|
|
<%= source %> - <%= visitors %> visitor<%= if visitors > 1, do: "s" %><br />
|
2020-12-11 18:01:09 +03:00
|
|
|
<% end %>
|
2020-12-11 15:28:31 +03:00
|
|
|
<% 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 />
|
2022-11-03 12:20:29 +03:00
|
|
|
View dashboard: <%= link(@link, to: @link) %>
|
2020-12-11 12:50:44 +03:00
|
|
|
<% end %>
|
2022-11-10 17:08:16 +03:00
|
|
|
<br /><br />
|
|
|
|
|
|
|
|
Congrats on the spike in traffic!
|