Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.
TypeScript analyticsanalytics-dashboardclickhouseelixirgoogle-analyticsmarketingopen-source-analyticsphoenixplausible-analyticspostgresqlprivacyprivacy-friendlyself-hostedsimple-analyticsstatisticstailwindcssweb-analyticswebsite-analyticswebsite-statswebsite-tracking
Deprecate custom domains
Uku Tahtf203eba7c0e8
diff --git a/lib/plausible_web/templates/email/welcome_email.html.eex b/lib/plausible_web/templates/email/welcome_email.html.eexindex 419bb0f285..602eb71c0b 100644--- a/lib/plausible_web/templates/email/welcome_email.html.eex+++ b/lib/plausible_web/templates/email/welcome_email.html.eex@@ -5,11 +5,11 @@ We're super excited to have you on board!<br /><br />Here are five steps to get the most out of your Plausible experience:<br /><br />-* Serve the script as a <%= link("first party connection from your custom domain", to: "https://docs.plausible.io/custom-domain") %><br />-* <%= link("Enable email reports", to: "https://docs.plausible.io/email-reports/") %> and notifications for <%= link("traffic spikes", to: "https://docs.plausible.io/traffic-spikes/") %><br />-* <%= link("Integrate with Search Console", to: "https://docs.plausible.io/google-search-console-integration/") %> to get keyword phrases people find your site with<br />-* Set up some easy goals including <%= link("404 error pages", to: "https://docs.plausible.io/404-error-pages-tracking") %> and <%= link("outbound link clicks", to: "https://docs.plausible.io/outbound-link-click-tracking/") %><br />-* <%= link("Opt out from counting your own visits", to: "https://docs.plausible.io/excluding/") %><br />+* <%= link("Enable email reports", to: "https://docs.plausible.io/email-reports/") %> and notifications for <%= link("traffic spikes", to: "https://plausible.io/docs/traffic-spikes") %><br />+* <%= link("Integrate with Search Console", to: "https://plausible.io/docs/google-search-console-integration") %> to get keyword phrases people find your site with<br />+* Set up some easy goals including <%= link("404 error pages", to: "https://plausible.io/docs/404-error-pages-tracking") %> and <%= link("outbound link clicks", to: "https://plausible.io/docs/outbound-link-click-tracking/") %><br />+* <%= link("Opt out from counting your own visits", to: "https://plausible.io/docs/excluding") %><br />+* If you're concerned about adblockers, <%= link("set up a proxy to bypass them", to: "https://plausible.io/docs/proxy/introduction") %><br /><br /><br />Then you're ready to start exploring your fast loading, ethical and actionable <%= link("Plausible dashboard", to: "https://plausible.io/sites") %>.<br /><br />diff --git a/lib/plausible_web/templates/site/settings_custom_domain.html.eex b/lib/plausible_web/templates/site/settings_custom_domain.html.eexindex 42e7a4fa1a..71eb3928f2 100644--- a/lib/plausible_web/templates/site/settings_custom_domain.html.eex+++ b/lib/plausible_web/templates/site/settings_custom_domain.html.eex@@ -1,3 +1,24 @@+<div class="rounded-md bg-yellow-50 dark:bg-transparent dark:border border-yellow-200 p-4">+ <div class="flex">+ <div class="flex-shrink-0">+ <svg class="h-5 w-5 text-yellow-400 dark:text-yellow-300" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">+ <path fill-rule="evenodd" d="M8.257 3.099c.765-1.36 2.722-1.36 3.486 0l5.58 9.92c.75 1.334-.213 2.98-1.742 2.98H4.42c-1.53 0-2.493-1.646-1.743-2.98l5.58-9.92zM11 13a1 1 0 11-2 0 1 1 0 012 0zm-1-8a1 1 0 00-1 1v3a1 1 0 002 0V6a1 1 0 00-1-1z" clip-rule="evenodd" />+ </svg>+ </div>+ <div class="ml-3">+ <h3 class="text-sm font-medium text-yellow-800 dark:text-yellow-400">+ Deprecated feature+ </h3>+ <div class="mt-2 text-sm text-yellow-700 dark:text-yellow-300">+ <p>+ We are moving away from CNAME-based custom domains. If you're concerned about adblockers, we recommend+ <%= link("setting up a proxy", class: "underline text-yellow-800 dark:text-yellow-400", to: "https://plausible.io/docs/proxy/introduction", target: "_blank") %> for your analytics script instead.+ </p>+ </div>+ </div>+ </div>+</div>+<div class="shadow bg-white dark:bg-gray-800 sm:rounded-md sm:overflow-hidden py-6 px-4 sm:p-6"><header class="relative"><h2 class="text-lg leading-6 font-medium text-gray-900 dark:text-gray-100">Custom domain</h2>