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-11 15:28:31 +03:00
|
|
|
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 %>
|
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 />
|
|
|
|
View dashboard: @link
|
2020-12-11 12:50:44 +03:00
|
|
|
<% end %>
|
|
|
|
<br /><br />
|
|
|
|
--
|
|
|
|
<br /><br />
|
|
|
|
<%= plausible_url() %><br />
|