%= form_for @changeset, "/#{URI.encode_www_form(@site.domain)}/settings", fn f -> %>
Update your reporting timezone.
<%= link(to: "https://plausible.io/docs/general/", target: "_blank", rel: "noreferrer") do %> <% end %>Include this snippet in the <head>
of your website.
<%= textarea f, :domain, id: "snippet_code", class: "transition overflow-hidden bg-gray-100 dark:bg-gray-900 outline-none appearance-none border border-transparent rounded w-full p-2 pr-6 text-gray-700 dark:text-gray-300 leading-normal focus:outline-none focus:bg-white focus:border-gray-300 dark:focus:border-gray-500 text-xs mt-2 resize-none", value: snippet(@site), rows: 2 %>
Import existing data from your Google Analytics account.
<%= link(to: "https://docs.plausible.io/import-data/", target: "_blank", rel: "noreferrer") do %> <% end %>Forget Imported Data
Removes all data imported from <%= @imported_data.source %>
Select the Google Analytics profile you would like to import data from.
<%= form_for @conn, "/#{URI.encode_www_form(@site.domain)}/settings/google-import", [class: "max-w-xs"], fn f -> %>The following error occurred when fetching your Google Analytics profiles.
<%= error %>
<% end %> <%= link("Unlink Google account", to: "/#{URI.encode_www_form(@site.domain)}/settings/google-import", class: "inline-block mt-4 px-4 py-2 border border-gray-300 dark:border-gray-500 text-sm leading-5 font-medium rounded-md text-red-700 bg-white dark:bg-gray-800 hover:text-red-500 dark:hover:text-red-400 focus:outline-none focus:border-blue-300 focus:ring active:text-red-800 active:bg-gray-50 transition ease-in-out duration-150", method: "delete") %> <% true -> %>An extra step is needed to set up your Plausible Analytics Self Hosted for the Google Search Console integration. Find instructions <%= link("here", to: "https://plausible.io/docs/self-hosting-configuration#google-search-integration", class: "text-indigo-500") %>