Skip to content

Commit

Permalink
Add GTM installation option, when no GTM detected (plausible#4850)
Browse files Browse the repository at this point in the history
  • Loading branch information
aerosol authored Nov 25, 2024
1 parent 969f094 commit 333238f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/plausible_web/live/installation.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 333238f

Please sign in to comment.