mirror of
https://github.com/plausible/analytics.git
synced 2024-11-26 23:27:54 +03:00
Update References (#619)
This commit is contained in:
parent
a4bf74a84c
commit
d339fea686
@ -67,7 +67,7 @@ class GoogleKeywordsModal extends React.Component {
|
||||
<RocketIcon />
|
||||
<div className="text-lg">The site is not connected to Google Search Keywords</div>
|
||||
<div className="text-lg">Configure the integration to view search terms</div>
|
||||
<a href={`/${encodeURIComponent(this.props.site.domain)}/settings#google-auth`} className="button mt-4">Connect with Google</a>
|
||||
<a href={`/${encodeURIComponent(this.props.site.domain)}/settings/search-console`} className="button mt-4">Connect with Google</a>
|
||||
</div>
|
||||
)
|
||||
} else {
|
||||
|
@ -65,7 +65,7 @@ export default class SearchTerms extends React.Component {
|
||||
<RocketIcon />
|
||||
<div>The site is not connected to Google Search Keywords</div>
|
||||
<div>Cannot show search terms</div>
|
||||
{this.state.isOwner && <a href={`/${encodeURIComponent(this.props.site.domain)}/settings#google-auth`} className="button mt-4">Connect with Google</a> }
|
||||
{this.state.isOwner && <a href={`/${encodeURIComponent(this.props.site.domain)}/settings/search-console`} className="button mt-4">Connect with Google</a> }
|
||||
</div>
|
||||
)
|
||||
} else if (this.state.searchTerms.length > 0) {
|
||||
|
@ -363,6 +363,6 @@ defmodule PlausibleWeb.AuthController do
|
||||
|
||||
site = Repo.get(Plausible.Site, site_id)
|
||||
|
||||
redirect(conn, to: "/#{URI.encode_www_form(site.domain)}/settings#google-auth")
|
||||
redirect(conn, to: "/#{URI.encode_www_form(site.domain)}/settings/search-console")
|
||||
end
|
||||
end
|
||||
|
@ -1,7 +1,7 @@
|
||||
<div class="container pb-24" data-site-domain="<%= @site.domain %>">
|
||||
<%= if @offer_email_report do %>
|
||||
<div class="text-center bg-blue-200 text-blue-900 text-sm font-bold px-4 w-full rounded transition" style="top: 91px" role="alert">
|
||||
<%= link("Click here to enable weekly email reports →", to: "/#{URI.encode_www_form(@site.domain)}/settings#email-reports", class: "py-2 block") %>
|
||||
<%= link("Click here to enable weekly email reports →", to: "/#{URI.encode_www_form(@site.domain)}/settings/email-reports", class: "py-2 block") %>
|
||||
</div>
|
||||
<% end %>
|
||||
<div class="pt-6"></div>
|
||||
|
Loading…
Reference in New Issue
Block a user