From eac4660354da03d93c83749c9b3fb357da489dca Mon Sep 17 00:00:00 2001
From: Baoshuo
Date: Mon, 15 Aug 2022 09:20:40 +0800
Subject: [PATCH] Update links to documents
---
assets/js/dashboard/stats/sources/search-terms.js | 2 +-
lib/plausible_web/templates/email/welcome_email.html.eex | 2 +-
.../templates/site/settings_custom_domain.html.eex | 2 +-
lib/plausible_web/templates/site/settings_goals.html.eex | 2 +-
.../templates/site/settings_search_console.html.eex | 4 ++--
lib/plausible_web/templates/site/settings_visibility.html.eex | 4 ++--
6 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/assets/js/dashboard/stats/sources/search-terms.js b/assets/js/dashboard/stats/sources/search-terms.js
index 5ed68300e..fe2d41b57 100644
--- a/assets/js/dashboard/stats/sources/search-terms.js
+++ b/assets/js/dashboard/stats/sources/search-terms.js
@@ -91,7 +91,7 @@ export default class SearchTerms extends React.Component {
Here's how to get the most out of your Plausible experience:
-* <%= link("Enable email reports", to: "https://docs.plausible.io/email-reports/") %> and notifications for <%= link("traffic spikes", to: "https://plausible.io/docs/traffic-spikes") %>
+* <%= link("Enable email reports", to: "https://plausible.io/docs/email-reports") %> and notifications for <%= link("traffic spikes", to: "https://plausible.io/docs/traffic-spikes") %>
* <%= link("Integrate with Search Console", to: "https://plausible.io/docs/google-search-console-integration") %> to get keyword phrases people find your site with
* <%= link("Invite team members and other collaborators", to: "https://plausible.io/docs/users-roles") %>
* Set up easy goals including <%= link("404 error pages", to: "https://plausible.io/docs/error-pages-tracking-404") %>, <%= link("file downloads", to: "https://plausible.io/docs/file-downloads-tracking") %> and <%= link("outbound link clicks", to: "https://plausible.io/docs/outbound-link-click-tracking") %>
diff --git a/lib/plausible_web/templates/site/settings_custom_domain.html.eex b/lib/plausible_web/templates/site/settings_custom_domain.html.eex
index b1508cd40..304eff671 100644
--- a/lib/plausible_web/templates/site/settings_custom_domain.html.eex
+++ b/lib/plausible_web/templates/site/settings_custom_domain.html.eex
@@ -24,7 +24,7 @@
Custom domain
Serve the tracking script from your domain name as a first-party resource instead of loading the script from our domain.
- <%= link(to: "https://docs.plausible.io/custom-domain/", target: "_blank") do %> + <%= link(to: "https://plausible.io/docs/proxy/introduction", target: "_blank") do %> <% end %> diff --git a/lib/plausible_web/templates/site/settings_goals.html.eex b/lib/plausible_web/templates/site/settings_goals.html.eex index 746983436..9235dd5d2 100644 --- a/lib/plausible_web/templates/site/settings_goals.html.eex +++ b/lib/plausible_web/templates/site/settings_goals.html.eex @@ -2,7 +2,7 @@Define actions that you want your users to take like visiting a certain page, submitting a form, etc.
- <%= link(to: "https://docs.plausible.io/goal-conversions/", target: "_blank", rel: "noreferrer") do %> + <%= link(to: "https://plausible.io/docs/goal-conversions", target: "_blank", rel: "noreferrer") do %> <% end %>You can integrate with Google Search Console to get all of your important search results stats such as keyword phrases people find your site with.
- <%= link(to: "https://docs.plausible.io/google-search-console-integration/", target: "_blank", rel: "noreferrer") do %> + <%= link(to: "https://plausible.io/docs/google-search-console-integration", target: "_blank", rel: "noreferrer") do %> <% end %>- 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://docs.plausible.io/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") %> on Search Console first.
<% end %> diff --git a/lib/plausible_web/templates/site/settings_visibility.html.eex b/lib/plausible_web/templates/site/settings_visibility.html.eex index 6a0c570f4..44f4a63de 100644 --- a/lib/plausible_web/templates/site/settings_visibility.html.eex +++ b/lib/plausible_web/templates/site/settings_visibility.html.eex @@ -2,7 +2,7 @@Share your stats publicly or keep them private
- <%= link(to: "https://docs.plausible.io/visibility", target: "_blank", rel: "noreferrer") do %> + <%= link(to: "https://plausible.io/docs/visibility", target: "_blank", rel: "noreferrer") do %> <% end %>You can share your stats privately by generating a shared link. The links are impossible to guess and you can add password protection for extra security.
- <%= link(to: "https://docs.plausible.io/shared-links", target: "_blank", rel: "noreferrer") do %> + <%= link(to: "https://plausible.io/docs/shared-links", target: "_blank", rel: "noreferrer") do %> <% end %>