From f4813f02fdd6a4e069d34e7f498d7295f7839794 Mon Sep 17 00:00:00 2001 From: Uku Taht Date: Thu, 17 Jun 2021 11:06:34 +0300 Subject: [PATCH] Add link to the troubleshooting guide --- config/.env.dev | 2 +- .../templates/stats/waiting_first_pageview.html.eex | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/config/.env.dev b/config/.env.dev index f8a7e3640..4149f265d 100644 --- a/config/.env.dev +++ b/config/.env.dev @@ -7,4 +7,4 @@ MAILER_ADAPTER=Bamboo.LocalAdapter LOG_LEVEL=debug SELFHOST=false DISABLE_CRON=true -ADMIN_USER_IDS=wat,1,23 +ADMIN_USER_IDS=1 diff --git a/lib/plausible_web/templates/stats/waiting_first_pageview.html.eex b/lib/plausible_web/templates/stats/waiting_first_pageview.html.eex index 87a9b8735..7429dc7e7 100644 --- a/lib/plausible_web/templates/stats/waiting_first_pageview.html.eex +++ b/lib/plausible_web/templates/stats/waiting_first_pageview.html.eex @@ -20,8 +20,11 @@

- Need to see the snippet again? <%= link("Click here", to: "/#{URI.encode_www_form(@site.domain)}/snippet")%>
- Not working? Contact support@plausible.io to get set up + Need to see the snippet again? <%= link("Click here", to: "/#{URI.encode_www_form(@site.domain)}/snippet", class: "text-indigo-600 text-underline")%>
+ Not working? <%= link("Troubleshoot the integration", to: "https://plausible.io/docs/troubleshoot-integration#keep-seeing-a-blinking-green-dot", class: "text-indigo-600 text-underline") %> with our guide first
+ <%= if !Application.get_env(:plausible, :is_selfhost) do %> + Still not working? <%= link("Contact us", to: "https://plausible.io/contact", class: "text-indigo-600 text-underline" ) %> and we will help you with your setup + <% end %>