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
Correct the spelling of JavaScript (#2380)
Marko Saric252cecbf2517
diff --git a/README.md b/README.mdindex cb84ed42e2..e0ee14fd4b 100644--- a/README.md+++ b/README.md@@ -100,5 +100,5 @@ To stay up to date with all the latest news and product updates, make sure to foPlausible is open-source under the GNU Affero General Public License Version 3 (AGPLv3) or any later version. You can [find it here](https://github.com/plausible/analytics/blob/master/LICENSE.md).-The only exception is our javascript tracker which gets included on your website. To avoid issues with AGPL virality, we've+The only exception is our JavaScript tracker which gets included on your website. To avoid issues with AGPL virality, we'vereleased the tracker under the MIT license. You can [find it here](https://github.com/plausible/analytics/blob/master/tracker/LICENSE.md).diff --git a/lib/plausible_web/templates/site/settings_general.html.eex b/lib/plausible_web/templates/site/settings_general.html.eexindex 1a9289df9b..58304dde7e 100644--- a/lib/plausible_web/templates/site/settings_general.html.eex+++ b/lib/plausible_web/templates/site/settings_general.html.eex@@ -29,7 +29,7 @@<%= form_for @conn, "/", [class: "shadow bg-white dark:bg-gray-800 sm:rounded-md sm:overflow-hidden py-6 px-4 sm:p-6"], fn f -> %><header class="relative">- <h2 class="text-lg leading-6 font-medium text-gray-900 dark:text-gray-100">Javascript snippet</h2>+ <h2 class="text-lg leading-6 font-medium text-gray-900 dark:text-gray-100">JavaScript snippet</h2><p class="mt-1 text-sm leading-5 text-gray-500 dark:text-gray-200">Include this snippet in the <code><head></code> of your website.</p><%= link(to: "https://plausible.io/docs/plausible-script", target: "_blank", rel: "noreferrer") do %>diff --git a/lib/plausible_web/templates/site/snippet.html.eex b/lib/plausible_web/templates/site/snippet.html.eexindex 066c6b3309..f8c7f62ceb 100644--- a/lib/plausible_web/templates/site/snippet.html.eex+++ b/lib/plausible_web/templates/site/snippet.html.eex@@ -1,6 +1,6 @@<div class="w-full max-w-3xl mt-4 mx-auto flex"><%= form_for @conn, "/", [class: "max-w-lg w-full mx-auto bg-white dark:bg-gray-800 shadow-md rounded px-8 pt-6 pb-8 mb-4 mt-8"], fn f -> %>- <h2 class="text-xl font-bold dark:text-gray-100">Add javascript snippet</h2>+ <h2 class="text-xl font-bold dark:text-gray-100">Add JavaScript snippet</h2><div class="my-4"><p class="dark:text-gray-100">Paste this snippet in the <code><head></code> of your website.</p>diff --git a/test/plausible_web/controllers/site_controller_test.exs b/test/plausible_web/controllers/site_controller_test.exsindex 31d23ed741..abcc94fd05 100644--- a/test/plausible_web/controllers/site_controller_test.exs+++ b/test/plausible_web/controllers/site_controller_test.exs@@ -274,7 +274,7 @@ defmodule PlausibleWeb.SiteControllerTest dotest "shows snippet", %{conn: conn, site: site} doconn = get(conn, "/#{site.domain}/snippet")- assert html_response(conn, 200) =~ "Add javascript snippet"+ assert html_response(conn, 200) =~ "Add JavaScript snippet"endend