Skip to content

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

Fix documentation link for Google integration (#4472)

Joris Drenth49ff00252e53
diff --git a/lib/plausible_web/templates/site/settings_search_console.html.heex b/lib/plausible_web/templates/site/settings_search_console.html.heex
index 3a38219f61..183016d85a 100644
--- a/lib/plausible_web/templates/site/settings_search_console.html.heex
+++ b/lib/plausible_web/templates/site/settings_search_console.html.heex
@@ -118,7 +118,7 @@
<p class="text-gray-900 dark:text-gray-200">
An extra step is needed to set up your <%= Plausible.product_name() %> for the Google Search Console integration.
Find instructions <%= link("here",
- to: "https://plausible.io/docs/self-hosting-configuration#google-search-integration",
+ to: "https://github.com/plausible/community-edition#google-integration",
class: "text-indigo-500"
) %>
</p>
diff --git a/test/plausible_web/controllers/site_controller_test.exs b/test/plausible_web/controllers/site_controller_test.exs
index c2b8a9f7e7..7c541dc78d 100644
--- a/test/plausible_web/controllers/site_controller_test.exs
+++ b/test/plausible_web/controllers/site_controller_test.exs
@@ -838,7 +838,7 @@ defmodule PlausibleWeb.SiteControllerTest do
resp = html_response(conn, 200)
assert resp =~ "An extra step is needed"
assert resp =~ "Google Search Console integration"
- assert resp =~ "self-hosting-configuration"
+ assert resp =~ "google-integration"
end
end