Skip to content

Commit 546f0c3

Browse files
Update the onboarding email copy (#5789)
* Update site_setup_help_email.html.heex * Update welcome_email.html.heex * Update create_site_email.html.heex * Fix formatting * Fix flakiness due to sync persistor tests not cleaning up * Update tests * Fix CE tests --------- Co-authored-by: Adrian Gruntkowski <[email protected]>
1 parent d1b6817 commit 546f0c3

File tree

5 files changed

+20
-9
lines changed

5 files changed

+20
-9
lines changed

lib/plausible_web/templates/email/create_site_email.html.heex

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ You've activated
22
<%= if ee?() do %>
33
your free 30-day trial of
44
<% end %>
5-
{Plausible.product_name()}, a simple and privacy-friendly website analytics tool. <br /><br />
5+
{Plausible.product_name()}, an easy-to-use and privacy-friendly website analytics tool.
6+
<br /><br />
67
<a href={"#{plausible_url()}/sites/new"}>Click here</a>
7-
to add your website URL, your timezone and install our one-line JavaScript snippet to start collecting visitor statistics.
8+
to add your website URL, your timezone and install our JavaScript snippet to start collecting visitor statistics.
89
<%= if ee?() do %>
910
<br /><br />Do reply back to this email if you have any questions or need some guidance.
1011
<% end %>

lib/plausible_web/templates/email/site_setup_help_email.html.heex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ To finish your setup for {@site.domain}, review
88
</a>
99
and start collecting visitor statistics. <br /><br />
1010
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.
11-
<br /><br /> On WordPress? We have a
12-
<a href="https://plausible.io/wordpress-analytics-plugin">WordPress plugin</a>
13-
that makes the process simpler. We also have
14-
<a href="https://plausible.io/docs/integration-guides">integration guides</a>
15-
for different site builders to help you start counting stats in no time.
11+
<br /><br /> We have a
12+
<a href="https://plausible.io/wordpress-analytics-plugin">WordPress plugin</a>, a
13+
<a href="https://plausible.io/gtm-template">Google Tag Manager template</a>
14+
and <a href="https://plausible.io/docs/integration-guides">other integration guides</a>
15+
too to help you start counting stats in no time.
1616
<%= if ee?() do %>
1717
<br /><br /> Do reply back to this email if you have any questions or need some guidance.
1818
<% end %>

lib/plausible_web/templates/email/welcome_email.html.heex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ and notifications for <a href="https://plausible.io/docs/traffic-spikes">traffic
1010
to get keyword phrases people find your site with<br /> *
1111
<a href="https://plausible.io/docs/users-roles">Invite team members and other collaborators</a>
1212
<br /> * Set up easy goals including
13+
<a href="https://plausible.io/docs/form-submissions-tracking">form submissions</a>,
1314
<a href="https://plausible.io/docs/error-pages-tracking-404">404 error pages</a>,
1415
<a href="https://plausible.io/docs/file-downloads-tracking">file downloads</a>
1516
and <a href="https://plausible.io/docs/outbound-link-click-tracking">outbound link clicks</a>

test/plausible/ingestion/persistor_sync_test.exs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,15 @@ defmodule Plausible.Ingestion.PersistorSyncTest do
2020
operating_system_version: "11"
2121
}
2222

23+
setup do
24+
on_exit(fn ->
25+
Application.put_env(:plausible, Persistor,
26+
backend_percent_enabled: 0,
27+
backend: Persistor.Embedded
28+
)
29+
end)
30+
end
31+
2332
describe "backend_percent_enabled" do
2433
test "ingests with embedded persistor when backend set to 100% and left on default" do
2534
Application.put_env(:plausible, Persistor,

test/plausible_web/email_test.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ defmodule PlausibleWeb.EmailTest do
406406
* Enable email reports (https://plausible.io/docs/email-reports) and notifications for traffic spikes (https://plausible.io/docs/traffic-spikes)
407407
* Integrate with Search Console (https://plausible.io/docs/google-search-console-integration) to get keyword phrases people find your site with
408408
* Invite team members and other collaborators (https://plausible.io/docs/users-roles)
409-
* Set up easy goals including 404 error pages (https://plausible.io/docs/error-pages-tracking-404), file downloads (https://plausible.io/docs/file-downloads-tracking) and outbound link clicks (https://plausible.io/docs/outbound-link-click-tracking)
409+
* Set up easy goals including form submissions (https://plausible.io/docs/form-submissions-tracking), 404 error pages (https://plausible.io/docs/error-pages-tracking-404), file downloads (https://plausible.io/docs/file-downloads-tracking) and outbound link clicks (https://plausible.io/docs/outbound-link-click-tracking)
410410
* Opt out from counting your own visits (https://plausible.io/docs/excluding)
411411
* If you're concerned about adblockers, set up a proxy to bypass them (https://plausible.io/docs/proxy/introduction)
412412
@@ -444,7 +444,7 @@ defmodule PlausibleWeb.EmailTest do
444444
* Enable email reports (https://plausible.io/docs/email-reports) and notifications for traffic spikes (https://plausible.io/docs/traffic-spikes)
445445
* Integrate with Search Console (https://plausible.io/docs/google-search-console-integration) to get keyword phrases people find your site with
446446
* Invite team members and other collaborators (https://plausible.io/docs/users-roles)
447-
* Set up easy goals including 404 error pages (https://plausible.io/docs/error-pages-tracking-404), file downloads (https://plausible.io/docs/file-downloads-tracking) and outbound link clicks (https://plausible.io/docs/outbound-link-click-tracking)
447+
* Set up easy goals including form submissions (https://plausible.io/docs/form-submissions-tracking), 404 error pages (https://plausible.io/docs/error-pages-tracking-404), file downloads (https://plausible.io/docs/file-downloads-tracking) and outbound link clicks (https://plausible.io/docs/outbound-link-click-tracking)
448448
* Opt out from counting your own visits (https://plausible.io/docs/excluding)
449449
* If you're concerned about adblockers, set up a proxy to bypass them (https://plausible.io/docs/proxy/introduction)
450450

0 commit comments

Comments
 (0)