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
ScriptV2: Show warning when using Legacy GTM template, update links (#5660)
Karl-Aksel Puulmannd5ee36d47f90
diff --git a/lib/plausible_web/live/installationv2.ex b/lib/plausible_web/live/installationv2.exindex 96d1f6ed9b..fa96052957 100644--- a/lib/plausible_web/live/installationv2.ex+++ b/lib/plausible_web/live/installationv2.ex@@ -102,11 +102,27 @@ defmodule PlausibleWeb.Live.InstallationV2 do}><.notice class="mt-4" theme={:yellow}>Your website is running an outdated version of the tracking script. Please- <.styled_link new_tab href="https://plausible.io/docs">update</.styled_link>+ <.styled_link new_tab href="https://plausible.io/docs/script-update-guide.md">+ update+ </.styled_link>your tracking script before continuing</.notice></div>+ <div :if={+ @v1_detected.result == true and @recommended_installation_type.result == "gtm" and+ @installation_type.result == "gtm"+ }>+ <.notice class="mt-4" theme={:yellow}>+ Your website might be using an outdated version of our Google Tag Manager template.+ If so,+ <.styled_link new_tab href="https://plausible.io/docs/gtm-update-guide.md">+ update+ </.styled_link>+ your Google Tag Manager template before continuing+ </.notice>+ </div>+<.form for={@tracker_script_configuration_form.result} phx-submit="submit" class="mt-4"><.inputtype="hidden"