Skip to content

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

remove user salutations by @user as done by the layout

Robert1d2a15ea28c7
diff --git a/lib/plausible_web/templates/email/activation_email.html.eex b/lib/plausible_web/templates/email/activation_email.html.eex
index 66367c2f9b..6373e81b85 100644
--- a/lib/plausible_web/templates/email/activation_email.html.eex
+++ b/lib/plausible_web/templates/email/activation_email.html.eex
@@ -1,3 +1 @@
-Hey <%= user_salutation(@user) %>,
-<br /><br />
Enter <%= @code %> to verify your email address. This code will expire in 4 hours.
diff --git a/lib/plausible_web/templates/email/check_stats_email.html.eex b/lib/plausible_web/templates/email/check_stats_email.html.eex
index 5c746e6285..8668825a65 100644
--- a/lib/plausible_web/templates/email/check_stats_email.html.eex
+++ b/lib/plausible_web/templates/email/check_stats_email.html.eex
@@ -1,5 +1,3 @@
-Hey <%= user_salutation(@user) %>,
-<br /><br />
Plausible is tracking your website stats without compromising the user experience and the privacy of your visitors.
<br /><br />
<%= link("View your Plausible dashboard now", to: "#{plausible_url()}") %> for the most valuable traffic insights at a glance.
diff --git a/lib/plausible_web/templates/email/create_site_email.html.eex b/lib/plausible_web/templates/email/create_site_email.html.eex
index e34eafb26e..ce17004074 100644
--- a/lib/plausible_web/templates/email/create_site_email.html.eex
+++ b/lib/plausible_web/templates/email/create_site_email.html.eex
@@ -1,5 +1,3 @@
-Hey <%= user_salutation(@user) %>,
-<br /><br />
You've activated your free 30-day trial of Plausible, a simple and privacy-friendly website analytics tool.
<br /><br />
<%= link("Click here", to: "#{plausible_url()}/sites/new") %> to add your website URL, your timezone and install our one-line JavaScript snippet to start collecting visitor statistics.
diff --git a/lib/plausible_web/templates/email/dashboard_locked.html.eex b/lib/plausible_web/templates/email/dashboard_locked.html.eex
index 67b9d867a9..b82c0afa0e 100644
--- a/lib/plausible_web/templates/email/dashboard_locked.html.eex
+++ b/lib/plausible_web/templates/email/dashboard_locked.html.eex
@@ -1,5 +1,3 @@
-Hey <%= user_salutation(@user) %>,
-<br /><br />
Last week we sent a reminder that your traffic has exceeded your Plausible Analytics subscription tier two months in a row.
<br /><br />
Your dashboard is now locked. We're still counting your stats, but you no longer have access to the stats. As you have outgrown your subscription tier, we kindly ask you to upgrade your subscription to accommodate your new traffic levels.
diff --git a/lib/plausible_web/templates/email/existing_user_invitation.html.eex b/lib/plausible_web/templates/email/existing_user_invitation.html.eex
index c1bc0354bb..3d2335d119 100644
--- a/lib/plausible_web/templates/email/existing_user_invitation.html.eex
+++ b/lib/plausible_web/templates/email/existing_user_invitation.html.eex
@@ -1,5 +1,3 @@
-Hey,
-<br /><br />
<%= @invitation.inviter.email %> has invited you to the <%= @invitation.site.domain %> site on Plausible Analytics.
<%= link("Click here", to: Routes.site_url(PlausibleWeb.Endpoint, :index)) %> to view and respond to the invitation. The invitation
will expire 48 hours after this email is sent.
diff --git a/lib/plausible_web/templates/email/google_analytics_import.html.eex b/lib/plausible_web/templates/email/google_analytics_import.html.eex
index 388db86e57..9a78d8b96c 100644
--- a/lib/plausible_web/templates/email/google_analytics_import.html.eex
+++ b/lib/plausible_web/templates/email/google_analytics_import.html.eex
@@ -1,5 +1,3 @@
-Hey <%= user_salutation(@user) %>,
-<br /><br />
<%= if @success do %>
Your Google Analytics import has completed successfully. The Plausible dashboard for <%= @site.domain %> now contains historical imported data from <%= date_format(@site.imported_data.start_date) %> to <%= date_format(@site.imported_data.end_date) %>
<br /><br />
diff --git a/lib/plausible_web/templates/email/new_user_invitation.html.eex b/lib/plausible_web/templates/email/new_user_invitation.html.eex
index d21a004ab2..67476dacb6 100644
--- a/lib/plausible_web/templates/email/new_user_invitation.html.eex
+++ b/lib/plausible_web/templates/email/new_user_invitation.html.eex
@@ -1,5 +1,3 @@
-Hey,
-<br /><br />
<%= @invitation.inviter.email %> has invited you to join the <%= @invitation.site.domain %> site on Plausible Analytics.
<%= link("Click here", to: Routes.auth_url(PlausibleWeb.Endpoint, :register_from_invitation_form, @invitation.invitation_id)) %> to create your account. The link is valid for 48 hours after this email is sent.
<br /><br />
diff --git a/lib/plausible_web/templates/email/over_limit.html.eex b/lib/plausible_web/templates/email/over_limit.html.eex
index f0ebea30d4..248ad13ef3 100644
--- a/lib/plausible_web/templates/email/over_limit.html.eex
+++ b/lib/plausible_web/templates/email/over_limit.html.eex
@@ -1,5 +1,3 @@
-Hey <%= user_salutation(@user) %>,
-<br /><br />
Thanks for being a Plausible Analytics subscriber!
<br /><br />
This is a notice that your traffic has exceeded your subscription tier two months in a row. Congrats on all that traffic!
diff --git a/lib/plausible_web/templates/email/ownership_transfer_request.html.eex b/lib/plausible_web/templates/email/ownership_transfer_request.html.eex
index 1ba11000a2..dad5fb8d8c 100644
--- a/lib/plausible_web/templates/email/ownership_transfer_request.html.eex
+++ b/lib/plausible_web/templates/email/ownership_transfer_request.html.eex
@@ -1,5 +1,3 @@
-Hey,
-<br /><br />
<%= @invitation.inviter.email %> has requested to transfer the ownership of <%= @invitation.site.domain %> site on Plausible Analytics to you.
<%= if @new_owner_account do %>
<%= link("Click here", to: Routes.site_url(PlausibleWeb.Endpoint, :index)) %> to view and respond to the invitation.
diff --git a/lib/plausible_web/templates/email/site_setup_help_email.html.eex b/lib/plausible_web/templates/email/site_setup_help_email.html.eex
index 0f4b2b0a36..a6311ac324 100644
--- a/lib/plausible_web/templates/email/site_setup_help_email.html.eex
+++ b/lib/plausible_web/templates/email/site_setup_help_email.html.eex
@@ -1,5 +1,3 @@
-Hey <%= user_salutation(@user) %>,
-<br /><br />
<%= if Plausible.Billing.on_trial?(@user) do %>
You signed up for a free 30-day trial of Plausible, a simple and privacy-friendly website analytics tool.
<br /><br />
diff --git a/lib/plausible_web/templates/email/site_setup_success_email.html.eex b/lib/plausible_web/templates/email/site_setup_success_email.html.eex
index 0bf6b86548..7ed6e9322c 100644
--- a/lib/plausible_web/templates/email/site_setup_success_email.html.eex
+++ b/lib/plausible_web/templates/email/site_setup_success_email.html.eex
@@ -1,5 +1,3 @@
-Hey <%= user_salutation(@user) %>,
-<br /><br />
Congrats! The Plausible script has been installed correctly on <%= link(@site.domain, to: "https://#{@site.domain}") %>. Your website traffic is now being tracked without compromising the user experience and the privacy of your visitors.
<br /><br />
<%= link("Check your stats", to: "#{plausible_url()}/#{URI.encode_www_form(@site.domain)}") %>
diff --git a/lib/plausible_web/templates/email/trial_one_week_reminder.html.eex b/lib/plausible_web/templates/email/trial_one_week_reminder.html.eex
index b28a4015a6..20f8beb6b0 100644
--- a/lib/plausible_web/templates/email/trial_one_week_reminder.html.eex
+++ b/lib/plausible_web/templates/email/trial_one_week_reminder.html.eex
@@ -1,5 +1,3 @@
-Hey <%= user_salutation(@user) %>,
-<br /><br />
Time flies! Your 30-day free trial of Plausible will end next week.
<br /><br />
Over the last three weeks, I hope you got to experience the potential benefits of having website stats in a simple dashboard while respecting the privacy of your visitors, not annoying them with the cookie and privacy notices and still having a fast loading site.
diff --git a/lib/plausible_web/templates/email/trial_over_email.html.eex b/lib/plausible_web/templates/email/trial_over_email.html.eex
index 03148de0b7..7e03c66d3e 100644
--- a/lib/plausible_web/templates/email/trial_over_email.html.eex
+++ b/lib/plausible_web/templates/email/trial_over_email.html.eex
@@ -1,5 +1,3 @@
-Hey <%= user_salutation(@user) %>,
-<br /><br />
Your free Plausible trial has now expired. Upgrade your account to continue receiving valuable website traffic insights at a glance while respecting the privacy of your visitors and still having a fast loading site. <br /><br />
<%= link("Upgrade now", to: "#{plausible_url()}/billing/upgrade") %>
diff --git a/lib/plausible_web/templates/email/trial_upgrade_email.html.eex b/lib/plausible_web/templates/email/trial_upgrade_email.html.eex
index 1c1dd960f5..e150e251fd 100644
--- a/lib/plausible_web/templates/email/trial_upgrade_email.html.eex
+++ b/lib/plausible_web/templates/email/trial_upgrade_email.html.eex
@@ -1,5 +1,3 @@
-Hey <%= user_salutation(@user) %>,
-<br /><br />
Thanks for exploring Plausible, a simple and privacy-friendly alternative to Google Analytics. Your free 30-day trial is ending <%= @day %>, but you can keep using Plausible by upgrading to a paid plan.
<br /><br />
In the last month, your account has used <%= PlausibleWeb.AuthView.delimit_integer(@usage) %> billable pageviews<%= if @custom_events > 0, do: " and custom events in total", else: "" %>.
diff --git a/lib/plausible_web/templates/email/welcome_email.html.eex b/lib/plausible_web/templates/email/welcome_email.html.eex
index 044290e2db..11c1f4e96e 100644
--- a/lib/plausible_web/templates/email/welcome_email.html.eex
+++ b/lib/plausible_web/templates/email/welcome_email.html.eex
@@ -1,5 +1,3 @@
-Hey <%= user_salutation(@user) %>,
-<br /><br />
We are building Plausible to provide a simple and ethical approach to tracking website visitors.
We're super excited to have you on board!
<br /><br />
diff --git a/lib/plausible_web/templates/email/yearly_expiration_notification.html.eex b/lib/plausible_web/templates/email/yearly_expiration_notification.html.eex
index d3103dc353..de60070d73 100644
--- a/lib/plausible_web/templates/email/yearly_expiration_notification.html.eex
+++ b/lib/plausible_web/templates/email/yearly_expiration_notification.html.eex
@@ -1,5 +1,3 @@
-Hey <%= user_salutation(@user) %>,
-<br /><br />
Time flies! This is a reminder that your annual subscription for Plausible Analytics will expire on <%= @date %>.
<br /><br />
You need to renew your subscription on <%= link("account settings page", to: "#{plausible_url()}/billing/upgrade") %> if you want to continue using Plausible to count your website stats in a privacy-friendly way.
diff --git a/lib/plausible_web/templates/email/yearly_renewal_notification.html.eex b/lib/plausible_web/templates/email/yearly_renewal_notification.html.eex
index b08c45efdd..f1d695a188 100644
--- a/lib/plausible_web/templates/email/yearly_renewal_notification.html.eex
+++ b/lib/plausible_web/templates/email/yearly_renewal_notification.html.eex
@@ -1,5 +1,3 @@
-Hey <%= user_salutation(@user) %>,
-<br /><br />
Time flies! This is a reminder that your annual subscription for Plausible Analytics is due to renew on <%= @date %>. We will automatically charge <%= PlausibleWeb.BillingView.present_currency(@currency) %><%= @next_bill_amount %> from your preferred billing method.
<br /><br />
There's no action required if you're happy to continue using Plausible to count your website stats in a privacy-friendly way.