Add GTM installation option, when no GTM detected (#4850)

This commit is contained in:
hq1 2024-11-25 08:24:28 +01:00 committed by GitHub
parent 969f094e61
commit 333238f085
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -217,7 +217,10 @@ defmodule PlausibleWeb.Live.Installation do
if you prefer WordPress installation method.
</:footer>
<:footer :if={@initial_installation_type == "GTM" and @installation_type == "manual"}>
<:footer :if={
(@initial_installation_type == "GTM" and @installation_type == "manual") or
(@initial_installation_type == "manual" and @installation_type == "manual")
}>
<.styled_link href={} phx-click="switch-installation-type" phx-value-method="GTM">
Click here
</.styled_link>