Skip to content

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

Open docs links in new window (#3360)

Marko Saric7bf16639b852
diff --git a/lib/plausible_web/live/goal_settings/form.ex b/lib/plausible_web/live/goal_settings/form.ex
index d3ba087064..7c39b65b92 100644
--- a/lib/plausible_web/live/goal_settings/form.ex
+++ b/lib/plausible_web/live/goal_settings/form.ex
@@ -165,6 +165,8 @@ defmodule PlausibleWeb.Live.GoalSettings.Form do
during the private preview. Pricing will be announced soon. See
examples and learn more in <a
class="font-medium text-yellow underline hover:text-yellow-600"
+ target="_blank"
+ rel="noreferrer"
href="https://plausible.io/docs/ecommerce-revenue-tracking"
>our docs</a>.
</p>
diff --git a/lib/plausible_web/templates/site/settings_funnels.html.heex b/lib/plausible_web/templates/site/settings_funnels.html.heex
index 4cc05a228c..cb740b33a2 100644
--- a/lib/plausible_web/templates/site/settings_funnels.html.heex
+++ b/lib/plausible_web/templates/site/settings_funnels.html.heex
@@ -4,6 +4,8 @@
during the private preview. Pricing will be announced soon. See
examples and learn more in <a
class="font-medium text-yellow underline hover:text-yellow-600"
+ target="_blank"
+ rel="noreferrer"
href="https://plausible.io/docs/funnel-analysis"
>our docs</a>.
</PlausibleWeb.Components.Generic.notice>
diff --git a/lib/plausible_web/templates/site/settings_props.html.heex b/lib/plausible_web/templates/site/settings_props.html.heex
index c373b4b090..c043928fdc 100644
--- a/lib/plausible_web/templates/site/settings_props.html.heex
+++ b/lib/plausible_web/templates/site/settings_props.html.heex
@@ -5,7 +5,7 @@
be grandfathered and will keep having access to custom properties without
any change to their plan. See examples and learn more in <.link
class="font-medium text-yellow underline hover:text-yellow-600"
- href="https://plausible.io/docs/custom-pageview-props"
+ href="https://plausible.io/docs/custom-props/introduction"
target="_blank"
rel="noreferrer"
>our docs</.link>.
diff --git a/lib/plausible_web/templates/site/settings_search_console.html.eex b/lib/plausible_web/templates/site/settings_search_console.html.eex
index 9fb84af5c2..c5a230ed86 100644
--- a/lib/plausible_web/templates/site/settings_search_console.html.eex
+++ b/lib/plausible_web/templates/site/settings_search_console.html.eex
@@ -22,7 +22,7 @@
</p>
<% else %>
<p class="text-gray-700 dark:text-gray-300 mt-6">
- Select the Google Search Console property you would like to pull keyword data from. If you don't see your domain, <%= link("set it up and verify", to: "https://plausible.io/docs/google-search-console-integration", class: "text-indigo-500") %> on Search Console first.
+ Select the Google Search Console property you would like to pull keyword data from. If you don't see your domain, <%= link("set it up and verify", to: "https://plausible.io/docs/google-search-console-integration", class: "text-indigo-500", target: "_blank", rel: "noreferrer") %> on Search Console first.
</p>
<% end %>