diff --git a/lib/plausible_web/templates/email/activation_email.html.eex b/lib/plausible_web/templates/email/activation_email.html.eex index 66367c2f9..6373e81b8 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) %>, -

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 5c746e628..8668825a6 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) %>, -

Plausible is tracking your website stats without compromising the user experience and the privacy of your visitors.

<%= 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 e34eafb26..ce1700407 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) %>, -

You've activated your free 30-day trial of Plausible, a simple and privacy-friendly website analytics tool.

<%= 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 67b9d867a..b82c0afa0 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) %>, -

Last week we sent a reminder that your traffic has exceeded your Plausible Analytics subscription tier two months in a row.

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 c1bc0354b..3d2335d11 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, -

<%= @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 388db86e5..9a78d8b96 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) %>, -

<%= 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) %>

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 d21a004ab..67476dacb 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, -

<%= @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.

diff --git a/lib/plausible_web/templates/email/over_limit.html.eex b/lib/plausible_web/templates/email/over_limit.html.eex index f0ebea30d..248ad13ef 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) %>, -

Thanks for being a Plausible Analytics subscriber!

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 1ba11000a..dad5fb8d8 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, -

<%= @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 0f4b2b0a3..a6311ac32 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) %>, -

<%= 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.

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 0bf6b8654..7ed6e9322 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) %>, -

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.

<%= 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 b28a4015a..20f8beb6b 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) %>, -

Time flies! Your 30-day free trial of Plausible will end next week.

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 03148de0b..7e03c66d3 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) %>, -

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.

<%= 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 1c1dd960f..e150e251f 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) %>, -

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.

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 044290e2d..11c1f4e96 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) %>, -

We are building Plausible to provide a simple and ethical approach to tracking website visitors. We're super excited to have you on board!

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 d3103dc35..de60070d7 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) %>, -

Time flies! This is a reminder that your annual subscription for Plausible Analytics will expire on <%= @date %>.

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 b08c45efd..f1d695a18 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) %>, -

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.

There's no action required if you're happy to continue using Plausible to count your website stats in a privacy-friendly way.