Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Changing the note on top of a new dashboard (#6147)

Marko Sariccf2d25273dd7
diff --git a/lib/plausible_web/components/first_dashboard_launch_banner.ex b/lib/plausible_web/components/first_dashboard_launch_banner.ex
index 108535837f..fe6f067e35 100644
--- a/lib/plausible_web/components/first_dashboard_launch_banner.ex
+++ b/lib/plausible_web/components/first_dashboard_launch_banner.ex
@@ -28,8 +28,11 @@ defmodule PlausibleWeb.Components.FirstDashboardLaunchBanner do
x-bind:class="! show ? 'hidden' : ''"
x-init={x_init(@site)}
>
- <.styled_link href={"/#{URI.encode_www_form(@site.domain)}/settings/email-reports"}>
- Invite guests, enable email reports, import from GA and more →
+ <.styled_link
+ href={Routes.site_path(PlausibleWeb.Endpoint, :settings_email_reports, @site.domain)}
+ onclick="plausible('Weekly Email Note Click')"
+ >
+ Get weekly traffic summaries by email →
</.styled_link>
</div>
"""