diff --git a/lib/plausible_web/controllers/site_controller.ex b/lib/plausible_web/controllers/site_controller.ex
index 53f70ffa8..537b67760 100644
--- a/lib/plausible_web/controllers/site_controller.ex
+++ b/lib/plausible_web/controllers/site_controller.ex
@@ -706,14 +706,15 @@ defmodule PlausibleWeb.SiteController do
Plausible.Stats.Clickhouse.pageview_start_date_local(site) || Timex.today(site.timezone)
{:ok, view_ids} = Plausible.Google.Api.get_analytics_view_ids(access_token)
+ {view_id_name, _} = Enum.find(view_ids, fn {k, v} -> v == view_id end)
conn
|> assign(:skip_plausible_tracking, true)
|> render("import_from_google_confirm.html",
access_token: access_token,
site: site,
- view_ids: view_ids,
selected_view_id: view_id,
+ selected_view_id_name: view_id_name,
start_date: start_date,
end_date: end_date,
layout: {PlausibleWeb.LayoutView, "focus.html"}
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 d56f3f0cf..eaadd1b40 100644
--- a/lib/plausible_web/templates/email/google_analytics_import.html.eex
+++ b/lib/plausible_web/templates/email/google_analytics_import.html.eex
@@ -1,11 +1,11 @@
Hey <%= user_salutation(@user) %>,
<%= if @success do %>
- Your Google Analytics import has completed.
-
- View dashboard: @link
+ 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) %>
+
+<%= link("Click here", to: @link) %> to view your dashboard.
<% else %>
- Unfortunately, your Google Analytics import failed.
+ Unfortunately, your Google Analytics import for <%= @site.domain %> did not complete successfully. Please try again <%= if !Application.get_env(:plausible, :is_selfhost) do %>or <%= link("contact support", to: "https://plausible.io/contact") %><% end %>.
<% end %>
--
diff --git a/lib/plausible_web/templates/site/import_from_google_confirm.html.eex b/lib/plausible_web/templates/site/import_from_google_confirm.html.eex
index 7b243ede3..072d998d1 100644
--- a/lib/plausible_web/templates/site/import_from_google_confirm.html.eex
+++ b/lib/plausible_web/templates/site/import_from_google_confirm.html.eex
@@ -7,27 +7,24 @@
<% {:ok, start_date} -> %>