From e7849eee0f8b274e20dd90f3d0f3319b45a093ca Mon Sep 17 00:00:00 2001 From: ruslandoga <67764432+ruslandoga@users.noreply.github.com> Date: Thu, 17 Oct 2024 17:03:17 +0700 Subject: [PATCH] replace br with p and li --- .../email/activation_email.html.heex | 2 +- ...approaching_accept_traffic_until.html.heex | 25 +++++-- .../email/cancellation_email.html.heex | 9 ++- .../email/check_stats_email.html.heex | 69 +++++++++++++------ .../email/create_site_email.html.heex | 17 +++-- .../templates/email/csv_import.html.heex | 28 +++++--- .../email/dashboard_locked.html.heex | 51 +++++++++----- .../email/drop_notification.html.heex | 17 +++-- .../enterprise_over_limit_internal.html.heex | 44 ++++++++---- .../email/existing_user_invitation.html.heex | 8 ++- .../templates/email/export_failure.html.heex | 16 +++-- .../templates/email/export_success.html.heex | 12 ++-- .../email/google_analytics_import.html.heex | 32 +++++---- .../email/invitation_accepted.html.heex | 6 +- .../email/invitation_rejected.html.heex | 6 +- .../email/new_user_invitation.html.heex | 26 ++++--- .../templates/email/over_limit.html.heex | 51 +++++++++----- .../ownership_transfer_accepted.html.heex | 8 ++- .../ownership_transfer_rejected.html.heex | 6 +- .../ownership_transfer_request.html.heex | 34 +++++---- .../email/password_reset_email.html.heex | 8 ++- .../email/site_member_removed.html.heex | 9 +-- .../email/site_setup_help_email.html.heex | 34 ++++++--- .../email/site_setup_success_email.html.heex | 36 ++++++---- .../email/spike_notification.html.heex | 22 +++--- .../email/trial_one_week_reminder.html.heex | 19 +++-- .../email/trial_over_email.html.heex | 17 +++-- .../email/trial_upgrade_email.html.heex | 38 ++++++---- .../email/two_factor_disabled_email.html.heex | 2 +- .../email/two_factor_enabled_email.html.heex | 2 +- .../templates/email/welcome_email.html.heex | 63 ++++++++++++----- .../yearly_expiration_notification.html.heex | 23 +++++-- .../yearly_renewal_notification.html.heex | 27 +++++--- .../templates/layout/base_email.html.heex | 17 +++-- .../templates/layout/priority_email.html.heex | 19 +++-- 35 files changed, 517 insertions(+), 286 deletions(-) diff --git a/lib/plausible_web/templates/email/activation_email.html.heex b/lib/plausible_web/templates/email/activation_email.html.heex index 6373e81b85a0..015bc36ec814 100644 --- a/lib/plausible_web/templates/email/activation_email.html.heex +++ b/lib/plausible_web/templates/email/activation_email.html.heex @@ -1 +1 @@ -Enter <%= @code %> to verify your email address. This code will expire in 4 hours. +
Enter <%= @code %> to verify your email address. This code will expire in 4 hours.
diff --git a/lib/plausible_web/templates/email/approaching_accept_traffic_until.html.heex b/lib/plausible_web/templates/email/approaching_accept_traffic_until.html.heex index 4cb3e664f3df..d83445e61db4 100644 --- a/lib/plausible_web/templates/email/approaching_accept_traffic_until.html.heex +++ b/lib/plausible_web/templates/email/approaching_accept_traffic_until.html.heex @@ -1,7 +1,18 @@ -You used to have an active account with <%= Plausible.product_name() %>, a simple, lightweight, open source and privacy-first Google Analytics alternative. -+ You used to have an active account with <%= Plausible.product_name() %>, a simple, lightweight, open source and privacy-first Google Analytics alternative. +
+ ++ We've noticed that you're still sending us stats so we're writing to inform you that we'll stop accepting stats from your sites <%= @time %>. + We're an independent, bootstrapped service and we don't sell your data, so this will reduce our server costs and help keep us sustainable. +
+ ++ If you'd like to continue counting your site stats in a privacy-friendly way, please + login to your Plausible account + and start a subscription. +
+ ++ Do you have any questions or need help with anything? Just reply to this email and we'll gladly help. +
diff --git a/lib/plausible_web/templates/email/cancellation_email.html.heex b/lib/plausible_web/templates/email/cancellation_email.html.heex index bab0d9baf7fe..3960177e5165 100644 --- a/lib/plausible_web/templates/email/cancellation_email.html.heex +++ b/lib/plausible_web/templates/email/cancellation_email.html.heex @@ -1 +1,8 @@ -This is Marko, one of the co-founders of Plausible. I’d love to understand the reasons behind your decision to cancel your subscription. We’re solely funded by our subscribers so we genuinely value your feedback. Even a few words would be beneficial in helping us improve our product. Please respond to this email with any insights you can share. Thank you for your time! ++ This is Marko, one of the co-founders of Plausible. + I'd love to understand the reasons behind your decision to cancel your subscription. + We're solely funded by our subscribers so we genuinely value your feedback. + Even a few words would be beneficial in helping us improve our product. + Please respond to this email with any insights you can share. + Thank you for your time! +
diff --git a/lib/plausible_web/templates/email/check_stats_email.html.heex b/lib/plausible_web/templates/email/check_stats_email.html.heex index b0222541efcf..64e7006e3bb3 100644 --- a/lib/plausible_web/templates/email/check_stats_email.html.heex +++ b/lib/plausible_web/templates/email/check_stats_email.html.heex @@ -1,20 +1,49 @@ -Plausible is tracking your website stats without compromising the user experience and the privacy of your visitors. -+ Plausible is tracking your website stats without compromising the user experience and the privacy of your visitors. +
+ ++ View your Plausible dashboard now + for the most valuable traffic insights at a glance. +
+ ++ Do reply back to this email if you have any questions or need some guidance. +
diff --git a/lib/plausible_web/templates/email/create_site_email.html.heex b/lib/plausible_web/templates/email/create_site_email.html.heex index 92f5c9646694..63222e84bcdb 100644 --- a/lib/plausible_web/templates/email/create_site_email.html.heex +++ b/lib/plausible_web/templates/email/create_site_email.html.heex @@ -1,5 +1,12 @@ -You've activated your free 30-day trial of Plausible, a simple and privacy-friendly website analytics tool. -+ You've activated your free 30-day trial of Plausible, a simple and privacy-friendly website analytics tool. +
+ ++ Click here + to add your website URL, your timezone and install our one-line JavaScript snippet to start collecting visitor statistics. +
+ ++ Do reply back to this email if you have any questions or need some guidance. +
diff --git a/lib/plausible_web/templates/email/csv_import.html.heex b/lib/plausible_web/templates/email/csv_import.html.heex index 6279b2f4a309..0ca643a29011 100644 --- a/lib/plausible_web/templates/email/csv_import.html.heex +++ b/lib/plausible_web/templates/email/csv_import.html.heex @@ -1,15 +1,21 @@ <%= if @success do %> - Your CSV import has completed successfully. The Plausible dashboard for <%= @site_import.site.domain %> now contains historical imported data from <%= date_format( - @site_import.start_date - ) %> to <%= date_format(@site_import.end_date) %> -+ Your CSV import has completed successfully. The Plausible dashboard for <%= @site_import.site.domain %> now contains historical imported data from <%= date_format( + @site_import.start_date + ) %> to <%= date_format(@site_import.end_date) %> +
+ ++ Click here to view your dashboard. +
<% else %> - Unfortunately, your CSV import for <%= @site_import.site.domain %> did not complete successfully. Sorry about that! -+ Unfortunately, your CSV import for <%= @site_import.site.domain %> did not complete successfully. Sorry about that! +
+ +Please try to do the import once again.
+ +Please reply to this email to let us know if you're still experiencing issues with the import. - <% end %> +
<% end %> diff --git a/lib/plausible_web/templates/email/dashboard_locked.html.heex b/lib/plausible_web/templates/email/dashboard_locked.html.heex index 4ecc9af1da1e..72dae5326030 100644 --- a/lib/plausible_web/templates/email/dashboard_locked.html.heex +++ b/lib/plausible_web/templates/email/dashboard_locked.html.heex @@ -1,19 +1,32 @@ -Last week we sent a reminder that your site traffic has exceeded the limits of your <%= Plausible.product_name() %> subscription tier for two consecutive months. Since we haven't received a response, we've had to temporarily lock access to your stats. -+ Last week we sent a reminder that your site traffic has exceeded the limits of your <%= Plausible.product_name() %> subscription tier for two consecutive months. + Since we haven't received a response, we've had to temporarily lock access to your stats. +
+ ++ Your subscription is still active, we're still counting your stats and haven't deleted any of your data but as you have outgrown your subscription tier, we kindly ask you to upgrade to match your new traffic levels. + Upon upgrading to a suitable tier, your dashboard access will be immediately restored. +
+ ++ During the last billing cycle (<%= PlausibleWeb.TextHelpers.format_date_range(@usage.last_cycle.date_range) %>), your account recorded <%= PlausibleWeb.AuthView.delimit_integer(@usage.last_cycle.total) %> billable pageviews. + In the billing cycle before that (<%= PlausibleWeb.TextHelpers.format_date_range(@usage.penultimate_cycle.date_range) %>), the usage was <%= PlausibleWeb.AuthView.delimit_integer(@usage.penultimate_cycle.total) %> billable pageviews. + Note that billable pageviews include both standard pageviews and custom events. + In your account settings, you'll find an overview of your usage and limits. +
+ ++ <%= if @suggested_plan == :enterprise do %> + Your usage exceeds our standard plans, so please reply back to this email for a tailored quote. + <% else %> + Click here to upgrade your subscription . + We recommend you upgrade to the <%= @suggested_plan.volume %>/mo plan. + The new charge will be prorated to reflect the amount you have already paid and the time until your current subscription is supposed to expire. + <% end %> +
+ ++ Do you have questions or need help with anything? Just reply to this email. We're here to help! +
+ +Thanks for understanding and for being a Plausible subscriber!
diff --git a/lib/plausible_web/templates/email/drop_notification.html.heex b/lib/plausible_web/templates/email/drop_notification.html.heex index cc4477bb5f6d..d68ce6d6c215 100644 --- a/lib/plausible_web/templates/email/drop_notification.html.heex +++ b/lib/plausible_web/templates/email/drop_notification.html.heex @@ -1,8 +1,13 @@ -We've recorded <%= @current_visitors %> visitors on - @site.domain}><%= @site.domain %> in the last 12 hours. ++ We've recorded <%= @current_visitors %> visitors on + @site.domain}><%= @site.domain %> + in the last 12 hours. +
+ <%= if @dashboard_link do %> -View dashboard: <%= @dashboard_link %>
++ Something looks off? Please review your installation + to verify that Plausible has been integrated correctly. +
<% end %> diff --git a/lib/plausible_web/templates/email/enterprise_over_limit_internal.html.heex b/lib/plausible_web/templates/email/enterprise_over_limit_internal.html.heex index 159722e1e84f..1d42b79904a6 100644 --- a/lib/plausible_web/templates/email/enterprise_over_limit_internal.html.heex +++ b/lib/plausible_web/templates/email/enterprise_over_limit_internal.html.heex @@ -1,15 +1,29 @@ -Automated notice about an enterprise account that has gone over their limits.Automated notice about an enterprise account that has gone over their limits.
+ +Customer email: <%= @user.email %>
+ ++ Last billing cycle: <%= PlausibleWeb.TextHelpers.format_date_range( + @pageview_usage.last_cycle.date_range + ) %> +
+ ++ Last cycle pageview usage: <%= PlausibleWeb.AuthView.delimit_integer( + @pageview_usage.last_cycle.total + ) %> billable pageviews +
+ ++ Penultimate billing cycle: <%= PlausibleWeb.TextHelpers.format_date_range( + @pageview_usage.penultimate_cycle.date_range + ) %> +
+ ++ Penultimate cycle pageview usage: <%= PlausibleWeb.AuthView.delimit_integer( + @pageview_usage.penultimate_cycle.total + ) %> billable pageviews +
+ +Site usage: <%= @site_usage %> / <%= @site_allowance %> allowed sites
diff --git a/lib/plausible_web/templates/email/existing_user_invitation.html.heex b/lib/plausible_web/templates/email/existing_user_invitation.html.heex index 43b5fa903f30..a72bb5dc1ade 100644 --- a/lib/plausible_web/templates/email/existing_user_invitation.html.heex +++ b/lib/plausible_web/templates/email/existing_user_invitation.html.heex @@ -1,3 +1,5 @@ -<%= @invitation.inviter.email %> has invited you to the <%= @invitation.site.domain %> site on <%= Plausible.product_name() %>. -Click here to view and respond to the invitation. The invitation -will expire 48 hours after this email is sent. ++ <%= @invitation.inviter.email %> has invited you to the <%= @invitation.site.domain %> site on <%= Plausible.product_name() %>. + Click here 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/export_failure.html.heex b/lib/plausible_web/templates/email/export_failure.html.heex index 2fa1c044a222..ab626359e08b 100644 --- a/lib/plausible_web/templates/email/export_failure.html.heex +++ b/lib/plausible_web/templates/email/export_failure.html.heex @@ -1,5 +1,11 @@ -Your <%= Plausible.product_name() %> export for <%= @site.domain %> has encountered an error and was unsuccessful. -Sorry for the trouble this may have caused.+ Your <%= Plausible.product_name() %> export for <%= @site.domain %> has encountered an error and was unsuccessful. + Sorry for the trouble this may have caused. +
+ ++ Please attempt to export your data again. + + Should the problem persist, do reply to this email so we can assist. Thanks! + +
diff --git a/lib/plausible_web/templates/email/export_success.html.heex b/lib/plausible_web/templates/email/export_success.html.heex index 03694f14625e..52a4b3b57229 100644 --- a/lib/plausible_web/templates/email/export_success.html.heex +++ b/lib/plausible_web/templates/email/export_success.html.heex @@ -1,6 +1,6 @@ -Your <%= Plausible.product_name() %> export for <%= @site.domain %> is now ready for download. -Please click here -to start the download process. -<%= if @expires_in do %> - Note that this link will expire <%= @expires_in %>. -<% end %> ++ Your <%= Plausible.product_name() %> export for <%= @site.domain %> is now ready for download. + Please click here to start the download process. +
+ +Note that this link will expire <%= @expires_in %>.
diff --git a/lib/plausible_web/templates/email/google_analytics_import.html.heex b/lib/plausible_web/templates/email/google_analytics_import.html.heex index baa52141ee91..abb79b1c12ac 100644 --- a/lib/plausible_web/templates/email/google_analytics_import.html.heex +++ b/lib/plausible_web/templates/email/google_analytics_import.html.heex @@ -1,16 +1,24 @@ <%= if @success do %> - Your Google Analytics import has completed successfully. The Plausible dashboard for <%= @site_import.site.domain %> now contains historical imported data from <%= date_format( - @site_import.start_date - ) %> to <%= date_format(@site_import.end_date) %> -+ Your Google Analytics import has completed successfully. + The Plausible dashboard for <%= @site_import.site.domain %> now contains historical imported data + from <%= date_format(@site_import.start_date) %> to <%= date_format(@site_import.end_date) %> +
+ ++ Click here to view your dashboard. +
<% else %> - Unfortunately, your Google Analytics import for <%= @site_import.site.domain %> did not complete successfully. Sorry about that! -+ Unfortunately, your Google Analytics import for <%= @site_import.site.domain %> did not complete successfully. Sorry about that! +
+ ++ Please try to do the import once again. Sometimes the Google Analytics API just randomly returns empty data. + It's intermittent and random. Trying to do the import again may return what you need. +
+ +Please reply to this email to let us know if you're still experiencing issues with the import. - <% end %> +
<% end %> diff --git a/lib/plausible_web/templates/email/invitation_accepted.html.heex b/lib/plausible_web/templates/email/invitation_accepted.html.heex index 0547b1b7e95c..df832968738e 100644 --- a/lib/plausible_web/templates/email/invitation_accepted.html.heex +++ b/lib/plausible_web/templates/email/invitation_accepted.html.heex @@ -1,2 +1,4 @@ -<%= @invitation.email %> has accepted your invitation to <%= @invitation.site.domain %>. -Click here to view site settings. ++ <%= @invitation.email %> has accepted your invitation to <%= @invitation.site.domain %>. + Click here to view site settings. +
diff --git a/lib/plausible_web/templates/email/invitation_rejected.html.heex b/lib/plausible_web/templates/email/invitation_rejected.html.heex index 932b2b8775f7..8b9ffccbc729 100644 --- a/lib/plausible_web/templates/email/invitation_rejected.html.heex +++ b/lib/plausible_web/templates/email/invitation_rejected.html.heex @@ -1,2 +1,4 @@ -<%= @invitation.email %> has rejected your invitation to <%= @invitation.site.domain %>. -Click here to view site settings. ++ <%= @invitation.email %> has rejected your invitation to <%= @invitation.site.domain %>. + Click here to view site settings. +
diff --git a/lib/plausible_web/templates/email/new_user_invitation.html.heex b/lib/plausible_web/templates/email/new_user_invitation.html.heex index 64c0c459d9d5..2a9c9df1f596 100644 --- a/lib/plausible_web/templates/email/new_user_invitation.html.heex +++ b/lib/plausible_web/templates/email/new_user_invitation.html.heex @@ -1,10 +1,16 @@ -<%= @invitation.inviter.email %> has invited you to join the <%= @invitation.site.domain %> site on <%= Plausible.product_name() %>. -Click here to create your account. The link is valid for 48 hours after this email is sent. -+ <%= @invitation.inviter.email %> has invited you to join the <%= @invitation.site.domain %> site on <%= Plausible.product_name() %>. Click here to create your account. The link is valid for 48 hours after this email is sent. +
+ ++ Plausible is a lightweight and open-source website analytics tool. We hope you like our simple and ethical approach to tracking website visitors. +
diff --git a/lib/plausible_web/templates/email/over_limit.html.heex b/lib/plausible_web/templates/email/over_limit.html.heex index deb1e169a763..3a8eae298872 100644 --- a/lib/plausible_web/templates/email/over_limit.html.heex +++ b/lib/plausible_web/templates/email/over_limit.html.heex @@ -1,20 +1,37 @@ -Thanks for being a <%= Plausible.product_name() %> subscriber!+ Thanks for being a <%= Plausible.product_name() %> subscriber! +
+ ++ This is a friendly reminder that your traffic has exceeded your subscription tier for two consecutive months. Congrats on all that traffic! +
+ ++ To maintain uninterrupted access to your stats, we kindly ask you to upgrade your account to match your new traffic levels. Please note, if your account isn't upgraded within the next 7 days, access to your stats will be temporarily locked. +
+ ++ During the last billing cycle (<%= PlausibleWeb.TextHelpers.format_date_range(@usage.last_cycle.date_range) %>), + your account recorded <%= PlausibleWeb.AuthView.delimit_integer(@usage.last_cycle.total) %> billable pageviews. + In the billing cycle before that (<%= PlausibleWeb.TextHelpers.format_date_range(@usage.penultimate_cycle.date_range) %>), + your account used <%= PlausibleWeb.AuthView.delimit_integer(@usage.penultimate_cycle.total) %> billable pageviews. + Note that billable pageviews include both standard pageviews and custom events. + In your PlausibleWeb.Router.Helpers.settings_path(PlausibleWeb.Endpoint, :subscription)}>account settings, + you'll find an overview of your usage and limits. +
+ <%= if @suggested_plan == :enterprise do %> - Your usage exceeds our standard plans, so please reply back to this email for a tailored quote. ++ Your usage exceeds our standard plans, so please reply back to this email for a tailored quote. +
<% else %> - Click here to upgrade your subscription. We recommend you upgrade to the <%= @suggested_plan.volume %>/mo plan. The new charge will be prorated to reflect the amount you have already paid and the time until your current subscription is supposed to expire. ++ Click here to upgrade your subscription. We recommend you upgrade to the <%= @suggested_plan.volume %>/mo plan. The new charge will be prorated to reflect the amount you have already paid and the time until your current subscription is supposed to expire. +
<% end %> -+ Do you have questions or need help with anything? Just reply to this email. We're here to help! +
+ +Thanks again for using our product and for your support!
diff --git a/lib/plausible_web/templates/email/ownership_transfer_accepted.html.heex b/lib/plausible_web/templates/email/ownership_transfer_accepted.html.heex index 3e0f39ac0d4c..25174eba5119 100644 --- a/lib/plausible_web/templates/email/ownership_transfer_accepted.html.heex +++ b/lib/plausible_web/templates/email/ownership_transfer_accepted.html.heex @@ -1,3 +1,5 @@ -<%= @invitation.email %> has accepted the ownership transfer of <%= @invitation.site.domain %>. They will be responsible for billing of it going -forward and your role has been changed to admin. -Click here to view site settings. ++ <%= @invitation.email %> has accepted the ownership transfer of <%= @invitation.site.domain %>. They will be responsible for billing of it going + forward and your role has been changed to admin. + Click here to view site settings. +
diff --git a/lib/plausible_web/templates/email/ownership_transfer_rejected.html.heex b/lib/plausible_web/templates/email/ownership_transfer_rejected.html.heex index 897cde36cd6f..e75b814a5114 100644 --- a/lib/plausible_web/templates/email/ownership_transfer_rejected.html.heex +++ b/lib/plausible_web/templates/email/ownership_transfer_rejected.html.heex @@ -1,2 +1,4 @@ -<%= @invitation.email %> has rejected the ownership transfer of <%= @invitation.site.domain %>. -Click here to view site settings. ++ <%= @invitation.email %> has rejected the ownership transfer of <%= @invitation.site.domain %>. + Click here to view site settings. +
diff --git a/lib/plausible_web/templates/email/ownership_transfer_request.html.heex b/lib/plausible_web/templates/email/ownership_transfer_request.html.heex index 36ac511a319e..3f8f0a0818a0 100644 --- a/lib/plausible_web/templates/email/ownership_transfer_request.html.heex +++ b/lib/plausible_web/templates/email/ownership_transfer_request.html.heex @@ -1,15 +1,25 @@ -<%= @invitation.inviter.email %> has requested to transfer the ownership of <%= @invitation.site.domain %> site on <%= Plausible.product_name() %> to you. ++ <%= @invitation.inviter.email %> has requested to transfer the ownership of <%= @invitation.site.domain %> site on <%= Plausible.product_name() %> to you. +
+ <%= if @new_owner_account do %> - Click here - to view and respond to the invitation. ++ Click here + to view and respond to the invitation. +
<% else %> - Click here to create your account.+ Click here to create your account. +
+ ++ Plausible is a lightweight and open-source website analytics tool. We hope you like our simple and ethical approach to tracking website visitors. +
<% end %> diff --git a/lib/plausible_web/templates/email/password_reset_email.html.heex b/lib/plausible_web/templates/email/password_reset_email.html.heex index 6f1d0e6513eb..6f6f22951373 100644 --- a/lib/plausible_web/templates/email/password_reset_email.html.heex +++ b/lib/plausible_web/templates/email/password_reset_email.html.heex @@ -1,3 +1,5 @@ -Click here -to reset your Plausible password.Click here to reset your Plausible password.
+ ++ This link will expire in 1 hour. If you don't use it by then, you can request another login link. +
diff --git a/lib/plausible_web/templates/email/site_member_removed.html.heex b/lib/plausible_web/templates/email/site_member_removed.html.heex index 41b4acae4f7e..c8f62ce3706d 100644 --- a/lib/plausible_web/templates/email/site_member_removed.html.heex +++ b/lib/plausible_web/templates/email/site_member_removed.html.heex @@ -1,4 +1,5 @@ -An administrator of <%= @membership.site.domain %> has removed you as a member. You won't be able to see the stats anymore. -+ An administrator of <%= @membership.site.domain %> has removed you as a member. You won't be able to see the stats anymore. +
+ +Click here to view your sites.
diff --git a/lib/plausible_web/templates/email/site_setup_help_email.html.heex b/lib/plausible_web/templates/email/site_setup_help_email.html.heex index 09bb7bc8272c..aaa4d7399a31 100644 --- a/lib/plausible_web/templates/email/site_setup_help_email.html.heex +++ b/lib/plausible_web/templates/email/site_setup_help_email.html.heex @@ -1,12 +1,24 @@ -<%= if Plausible.Users.on_trial?(@user) do %> +
You signed up for a free 30-day trial of Plausible, a simple and privacy-friendly website analytics tool.
-
-<% end %>
-To finish your setup for <%= @site.domain %>, review
-your installation and start collecting visitor statistics.
-
-This Plausible script is 45 times smaller than Google Analytics script so you’ll have a fast loading site while getting all the important traffic insights on one single page.
-
On WordPress? We have a
-WordPress plugin that makes the process simpler. We also have
-integration guides for different site builders to help you start counting stats in no time.
-
Do reply back to this email if you have any questions or need some guidance.
+
+ To finish your setup for <%= @site.domain %>, review your installation and start collecting visitor statistics. +
+ ++ This Plausible script is 45 times smaller than Google Analytics script so you'll have a fast loading site while getting all the important traffic insights on one single page. +
+ ++ On WordPress? We have a + WordPress plugin + that makes the process simpler. We also have + integration guides + for different site builders to help you start counting stats in no time. +
+ +Do reply back to this email if you have any questions or need some guidance.
diff --git a/lib/plausible_web/templates/email/site_setup_success_email.html.heex b/lib/plausible_web/templates/email/site_setup_success_email.html.heex index 462949bf9c01..3e7d3dea6550 100644 --- a/lib/plausible_web/templates/email/site_setup_success_email.html.heex +++ b/lib/plausible_web/templates/email/site_setup_success_email.html.heex @@ -1,18 +1,24 @@ -Congrats! We've recorded the first visitor on -<%= @site.domain %>. Your traffic is now being counted without compromising the user experience and privacy of your visitors. -+ Congrats! We've recorded the first visitor on <%= @site.domain %>. Your traffic is now being counted without compromising the user experience and privacy of your visitors. +
+ ++ Do check out your easy to use, fast-loading and privacy-friendly dashboard. +
+ ++ Something looks off? Take a look at our installation troubleshooting guide. +
+ +
You're on a 30-day free trial with no obligations so do take your time to explore Plausible.
Here's how to get the most out of your Plausible experience.
-
-<% end %>
-PS: You can import your historical Google Analytics stats into your Plausible dashboard.
-Learn how our GA importer works.
-
-<%= unless Plausible.ce?() do %>
+
+ PS: You can import your historical Google Analytics stats into your Plausible dashboard. Learn how our GA importer works. +
+ +Do reply back to this email if you have any questions. We're here to help. -<% end %> +
diff --git a/lib/plausible_web/templates/email/spike_notification.html.heex b/lib/plausible_web/templates/email/spike_notification.html.heex index d0c031e19803..c4958c99a8cf 100644 --- a/lib/plausible_web/templates/email/spike_notification.html.heex +++ b/lib/plausible_web/templates/email/spike_notification.html.heex @@ -1,14 +1,14 @@ -There are currently <%= @current_visitors %> visitors on - @site.domain}><%= @site.domain %>. -<%= if Enum.count(@sources) > 0 do %> -+ There are currently <%= @current_visitors %> visitors on @site.domain}><%= @site.domain %>. +
+ +View dashboard: <%= @link %>
-<%= if @link do %> -Congrats on the spike in traffic!
diff --git a/lib/plausible_web/templates/email/trial_one_week_reminder.html.heex b/lib/plausible_web/templates/email/trial_one_week_reminder.html.heex index 2c3dc36e587c..0e421426d52e 100644 --- a/lib/plausible_web/templates/email/trial_one_week_reminder.html.heex +++ b/lib/plausible_web/templates/email/trial_one_week_reminder.html.heex @@ -1,6 +1,13 @@ -Time flies! Your 30-day free trial of Plausible will end next week.Time flies! Your 30-day free trial of Plausible will end next week.
+ ++ Over the last three weeks, We hope you got to experience the potential benefits of having website stats in an easy to use dashboard while respecting the privacy of your visitors, not annoying them with the cookie and privacy notices and still having a fast loading site. +
+ ++ In order to continue receiving valuable website traffic insights at a glance, you'll need to upgrade your account. +
+ +If you have any questions or feedback for us, feel free to reply to this email.
diff --git a/lib/plausible_web/templates/email/trial_over_email.html.heex b/lib/plausible_web/templates/email/trial_over_email.html.heex index 219ab0cf8047..3cff9ab43e81 100644 --- a/lib/plausible_web/templates/email/trial_over_email.html.heex +++ b/lib/plausible_web/templates/email/trial_over_email.html.heex @@ -1,8 +1,11 @@ -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. -+ 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. +
- - Upgrade now - -+ + Upgrade now + +
+ +We will keep recording stats for <%= @extra_offset %> days to give you time to upgrade.
diff --git a/lib/plausible_web/templates/email/trial_upgrade_email.html.heex b/lib/plausible_web/templates/email/trial_upgrade_email.html.heex index e5332548d5e8..7c227c01be98 100644 --- a/lib/plausible_web/templates/email/trial_upgrade_email.html.heex +++ b/lib/plausible_web/templates/email/trial_upgrade_email.html.heex @@ -1,18 +1,26 @@ -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. -+ 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: + "" %>. +
<%= if @suggested_plan == :enterprise do %> - This is more than our standard plans, so please reply back to this email to get a quote for your volume. ++ This is more than our standard plans, so please reply back to this email to get a quote for your volume. +
<% else %> - Based on that we recommend you select a <%= @suggested_plan.volume %>/mo plan.Based on that we recommend you select a <%= @suggested_plan.volume %>/mo plan.
++ + Upgrade now + +
++ Have a question, feedback or need some guidance? Just reply to this email to get in touch! +
<% end %> diff --git a/lib/plausible_web/templates/email/two_factor_disabled_email.html.heex b/lib/plausible_web/templates/email/two_factor_disabled_email.html.heex index 8f09d9717f3b..cce2cc07c6a5 100644 --- a/lib/plausible_web/templates/email/two_factor_disabled_email.html.heex +++ b/lib/plausible_web/templates/email/two_factor_disabled_email.html.heex @@ -1 +1 @@ -Two-Factor Authentication is now disabled on your account. +Two-Factor Authentication is now disabled on your account.
diff --git a/lib/plausible_web/templates/email/two_factor_enabled_email.html.heex b/lib/plausible_web/templates/email/two_factor_enabled_email.html.heex index 62351bce8b75..38f568422434 100644 --- a/lib/plausible_web/templates/email/two_factor_enabled_email.html.heex +++ b/lib/plausible_web/templates/email/two_factor_enabled_email.html.heex @@ -1 +1 @@ -Two-Factor Authentication is now enabled on your account. +Two-Factor Authentication is now enabled on your account.
diff --git a/lib/plausible_web/templates/email/welcome_email.html.heex b/lib/plausible_web/templates/email/welcome_email.html.heex index 4b118e1b6e20..844f855c41e4 100644 --- a/lib/plausible_web/templates/email/welcome_email.html.heex +++ b/lib/plausible_web/templates/email/welcome_email.html.heex @@ -1,19 +1,44 @@ -We are building Plausible to provide a simple and ethical approach to tracking website visitors. -We're super excited to have you on board!+ We are building Plausible to provide a simple and ethical approach to tracking website visitors. + We're super excited to have you on board! +
+ ++ Then you're ready to start exploring your fast loading, ethical and actionable Plausible dashboard. +
+ +Have a question, feedback or need some guidance? Do reply back to this email.
diff --git a/lib/plausible_web/templates/email/yearly_expiration_notification.html.heex b/lib/plausible_web/templates/email/yearly_expiration_notification.html.heex index 9f8b3fba1c71..ea4111047f36 100644 --- a/lib/plausible_web/templates/email/yearly_expiration_notification.html.heex +++ b/lib/plausible_web/templates/email/yearly_expiration_notification.html.heex @@ -1,7 +1,16 @@ -Time flies! This is a reminder that your annual subscription for <%= Plausible.product_name() %> will expire on <%= @next_bill_date %>. -+ Time flies! This is a reminder that your annual subscription for <%= Plausible.product_name() %> will expire on <%= @next_bill_date %>. +
+ ++ You need to renew your subscription if you want to continue using Plausible to count your website stats in a privacy-friendly way. +
+ ++ If you don't want to continue your subscription, there's no action required. You will lose access to your dashboard on <%= @next_bill_date %> and we'll stop accepting stats on <%= @accept_traffic_until %>. +
+ +Have a question, feedback or need some guidance? Just reply to this email to get in touch!
diff --git a/lib/plausible_web/templates/email/yearly_renewal_notification.html.heex b/lib/plausible_web/templates/email/yearly_renewal_notification.html.heex index 29dfd5dcaae6..b428bb649401 100644 --- a/lib/plausible_web/templates/email/yearly_renewal_notification.html.heex +++ b/lib/plausible_web/templates/email/yearly_renewal_notification.html.heex @@ -1,8 +1,19 @@ -Time flies! This is a reminder that your annual subscription for <%= Plausible.product_name() %> is due to renew on <%= @date %>. We will automatically charge <%= PlausibleWeb.BillingView.present_currency( - @currency -) %><%= @next_bill_amount %> from your preferred billing method.+ Time flies! This is a reminder that your annual subscription for <%= Plausible.product_name() %> 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. +
+ ++ If you don't want to continue your subscription, you can cancel it on your account settings page. +
+ ++ BTW, most of our subscribers come from word of mouth, so if you love Plausible, and know someone else who might find it useful, we'd appreciate if you'd let them know. Thank you! +
+ +Have a question, feedback or need some guidance? Do reply back to this email.
diff --git a/lib/plausible_web/templates/layout/base_email.html.heex b/lib/plausible_web/templates/layout/base_email.html.heex index f9a9ffc74bdf..b124eaac5c01 100644 --- a/lib/plausible_web/templates/layout/base_email.html.heex +++ b/lib/plausible_web/templates/layout/base_email.html.heex @@ -1,15 +1,14 @@ -<%= PlausibleWeb.EmailView.greet_recipient(assigns) %> -<%= PlausibleWeb.EmailView.greet_recipient(assigns) %>
<%= @inner_content %> -Regards,
The Plausible Team 💌
--
+ + <%= if ee?() do %> {{{ pm:unsubscribe }}} diff --git a/lib/plausible_web/templates/layout/priority_email.html.heex b/lib/plausible_web/templates/layout/priority_email.html.heex index bb0cfb50f38d..a3850a554fef 100644 --- a/lib/plausible_web/templates/layout/priority_email.html.heex +++ b/lib/plausible_web/templates/layout/priority_email.html.heex @@ -1,12 +1,11 @@ -<%= PlausibleWeb.EmailView.greet_recipient(assigns) %> -<%= PlausibleWeb.EmailView.greet_recipient(assigns) %>
<%= @inner_content %> -Regards,
The Plausible Team 💌
--
+ +