Skip to content

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

show messages while waiting for detection (#5667)

RobertJoonas3b4342112f9b
diff --git a/lib/plausible_web/live/installationv2.ex b/lib/plausible_web/live/installationv2.ex
index fa96052957..1d639b1856 100644
--- a/lib/plausible_web/live/installationv2.ex
+++ b/lib/plausible_web/live/installationv2.ex
@@ -70,6 +70,12 @@ defmodule PlausibleWeb.Live.InstallationV2 do
<.focus_box>
<.async_result :let={recommended_installation_type} assign={@recommended_installation_type}>
<:loading>
+ <div class="text-center text-gray-500">
+ {if(@flow == Flows.review(),
+ do: "Scanning your site to detect how Plausible is integrated...",
+ else: "Determining the simplest integration path for your website..."
+ )}
+ </div>
<div class="flex items-center justify-center py-8">
<.spinner class="w-6 h-6" />
</div>