Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.
TypeScript analyticsanalytics-dashboardclickhouseelixirgoogle-analyticsmarketingopen-source-analyticsphoenixplausible-analyticspostgresqlprivacyprivacy-friendlyself-hostedsimple-analyticsstatisticstailwindcssweb-analyticswebsite-analyticswebsite-statswebsite-tracking
Bring back trigger showing first dashboard launch banner (#6168)
Adrian Gruntkowski22a1fee42add
diff --git a/lib/plausible_web/components/first_dashboard_launch_banner.ex b/lib/plausible_web/components/first_dashboard_launch_banner.exindex fe6f067e35..7646368a6f 100644--- a/lib/plausible_web/components/first_dashboard_launch_banner.ex+++ b/lib/plausible_web/components/first_dashboard_launch_banner.ex@@ -29,8 +29,8 @@ defmodule PlausibleWeb.Components.FirstDashboardLaunchBanner dox-init={x_init(@site)}><.styled_link+ class="plausible-event-name=Weekly+Email+Note+Click"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>diff --git a/lib/plausible_web/live/installation.ex b/lib/plausible_web/live/installation.exindex 3a45d165ef..52aec7fa4c 100644--- a/lib/plausible_web/live/installation.ex+++ b/lib/plausible_web/live/installation.ex@@ -84,6 +84,7 @@ defmodule PlausibleWeb.Live.Installation do{:ok,assign(socket,site: site,+ site_created?: params["site_created"] == "true",flow: flow)}end@@ -105,6 +106,7 @@ defmodule PlausibleWeb.Live.Installation dodef render(assigns) do~H"""<div>+ <PlausibleWeb.Components.FirstDashboardLaunchBanner.set :if={@site_created?} site={@site} /><PlausibleWeb.Components.FlowProgress.render flow={@flow} current_step="Install Plausible" /><.focus_box>