mirror of
https://github.com/plausible/analytics.git
synced 2024-12-25 18:48:06 +03:00
18 lines
519 B
Elixir
18 lines
519 B
Elixir
There are currently <%= @current_visitors %> visitors on <%= link(@site.domain, to: "https://" <> @site.domain) %>.
|
|
<%= if Enum.count(@sources) > 0 do %>
|
|
<br />
|
|
<br />
|
|
The top sources for current visitors:<br />
|
|
<%= for %{name: source, count: visitors} <- @sources do %>
|
|
<%= source %> - <%= visitors %> visitor<%= if visitors > 1, do: "s" %><br />
|
|
<% end %>
|
|
<% end %>
|
|
|
|
<%= if @link do %>
|
|
<br /><br />
|
|
View dashboard: <%= link(@link, to: @link) %>
|
|
<% end %>
|
|
<br /><br />
|
|
|
|
Congrats on the spike in traffic!
|