Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Update spike email

Uku Taht39e90a2c7620
diff --git a/lib/plausible_web/templates/email/spike_notification.html.eex b/lib/plausible_web/templates/email/spike_notification.html.eex
index 2cb164fbcd..47a9f27a87 100644
--- a/lib/plausible_web/templates/email/spike_notification.html.eex
+++ b/lib/plausible_web/templates/email/spike_notification.html.eex
@@ -2,9 +2,9 @@ There are currently <%= @current_visitors %> visitors on <%= link(@site.domain,
<%= if Enum.count(@sources) > 0 do %>
<br />
<br />
- The top 3 sources for current visitors:<br />
+ The top sources for current visitors:<br />
<%= for %{name: source, count: visitors} <- @sources do %>
- <%= source %> - <%= visitors %> visitors<br />
+ <%= source %> - <%= visitors %> visitor<%= if visitors > 1, do: "s" %><br />
<% end %>
<% end %>