From 5697da77c2dd9a97fec938df42b172821315bd8d Mon Sep 17 00:00:00 2001 From: Uku Taht Date: Wed, 8 Apr 2020 15:26:59 +0300 Subject: [PATCH] Add link to setup success email --- .../templates/email/site_setup_success_email.html.eex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 b3a6eac86..72f86c52e 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,6 +1,6 @@ Hey <%= user_salutation(@user) %>,

-Congrats! The Plausible script has been installed correctly on <%= @site.domain %>. Your website traffic is now being tracked without compromising the user experience and the privacy of your visitors. +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: "https://plausible.io/#{URI.encode_www_form(@site.domain)}") %>