fix: switch Umami to self-hosted stats on every page
Replace the Umami Cloud tag with the self-hosted script at stats.cosmicallycreative.com and its new website ID, add it to every page (service pages, privacy policy and 404 had none), and allow the new host in the Content-Security-Policy. Co-authored-by: OpenBot <335604065+openbotgit[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
9be49d2d1b
commit
9240e3f24f
10 files changed
+51
-3
No files matched your search
@@ -25,5 +25,5 @@ AddType application/xml .xml
|
|||||||
Header always set X-Content-Type-Options "nosniff"
|
Header always set X-Content-Type-Options "nosniff"
|
||||||
Header always set Referrer-Policy "strict-origin-when-cross-origin"
|
Header always set Referrer-Policy "strict-origin-when-cross-origin"
|
||||||
Header always set Permissions-Policy "camera=(), microphone=(), geolocation=()"
|
Header always set Permissions-Policy "camera=(), microphone=(), geolocation=()"
|
||||||
Header always set Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' https://cloud.umami.is; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; img-src 'self' data:; connect-src 'self' https://cloud.umami.is; form-action 'self'; frame-ancestors 'self'; base-uri 'self'"
|
Header always set Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' https://stats.cosmicallycreative.com; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; img-src 'self' data:; connect-src 'self' https://stats.cosmicallycreative.com; form-action 'self'; frame-ancestors 'self'; base-uri 'self'"
|
||||||
</IfModule>
|
</IfModule>
|
||||||
@@ -35,6 +35,12 @@
|
|||||||
<link rel="stylesheet" href="/css/style.css" />
|
<link rel="stylesheet" href="/css/style.css" />
|
||||||
<link rel="stylesheet" href="/css/queries.css" />
|
<link rel="stylesheet" href="/css/queries.css" />
|
||||||
|
|
||||||
|
<script
|
||||||
|
defer
|
||||||
|
src="https://stats.cosmicallycreative.com/script.js"
|
||||||
|
data-website-id="ccaa1fb6-54f7-403d-a653-808cf1b4e959"
|
||||||
|
></script>
|
||||||
|
|
||||||
<title>Page Not Found | Cosmically Creative</title>
|
<title>Page Not Found | Cosmically Creative</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
+2
-2
@@ -57,8 +57,8 @@
|
|||||||
|
|
||||||
<script
|
<script
|
||||||
defer
|
defer
|
||||||
src="https://cloud.umami.is/script.js"
|
src="https://stats.cosmicallycreative.com/script.js"
|
||||||
data-website-id="6213a9c8-ab7e-4ee2-9455-41c266adbb80"
|
data-website-id="ccaa1fb6-54f7-403d-a653-808cf1b4e959"
|
||||||
></script>
|
></script>
|
||||||
|
|
||||||
<title>
|
<title>
|
||||||
|
|||||||
@@ -41,6 +41,12 @@
|
|||||||
<link rel="stylesheet" href="../css/style.css" />
|
<link rel="stylesheet" href="../css/style.css" />
|
||||||
<link rel="stylesheet" href="../css/queries.css" />
|
<link rel="stylesheet" href="../css/queries.css" />
|
||||||
|
|
||||||
|
<script
|
||||||
|
defer
|
||||||
|
src="https://stats.cosmicallycreative.com/script.js"
|
||||||
|
data-website-id="ccaa1fb6-54f7-403d-a653-808cf1b4e959"
|
||||||
|
></script>
|
||||||
|
|
||||||
<title>Privacy Policy & Terms ‐ Cosmically Creative</title>
|
<title>Privacy Policy & Terms ‐ Cosmically Creative</title>
|
||||||
<script type="application/ld+json">
|
<script type="application/ld+json">
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -38,6 +38,12 @@
|
|||||||
<link rel="stylesheet" href="../../css/style.css" />
|
<link rel="stylesheet" href="../../css/style.css" />
|
||||||
<link rel="stylesheet" href="../../css/queries.css" />
|
<link rel="stylesheet" href="../../css/queries.css" />
|
||||||
|
|
||||||
|
<script
|
||||||
|
defer
|
||||||
|
src="https://stats.cosmicallycreative.com/script.js"
|
||||||
|
data-website-id="ccaa1fb6-54f7-403d-a653-808cf1b4e959"
|
||||||
|
></script>
|
||||||
|
|
||||||
<title>
|
<title>
|
||||||
Professional Drone Photography & Video ‐ Cosmically Creative
|
Professional Drone Photography & Video ‐ Cosmically Creative
|
||||||
</title>
|
</title>
|
||||||
|
|||||||
@@ -38,6 +38,12 @@
|
|||||||
<link rel="stylesheet" href="../../css/style.css" />
|
<link rel="stylesheet" href="../../css/style.css" />
|
||||||
<link rel="stylesheet" href="../../css/queries.css" />
|
<link rel="stylesheet" href="../../css/queries.css" />
|
||||||
|
|
||||||
|
<script
|
||||||
|
defer
|
||||||
|
src="https://stats.cosmicallycreative.com/script.js"
|
||||||
|
data-website-id="ccaa1fb6-54f7-403d-a653-808cf1b4e959"
|
||||||
|
></script>
|
||||||
|
|
||||||
<title>Custom Logos & Graphic Design ‐ Cosmically Creative</title>
|
<title>Custom Logos & Graphic Design ‐ Cosmically Creative</title>
|
||||||
<script type="application/ld+json">
|
<script type="application/ld+json">
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -40,6 +40,12 @@
|
|||||||
<link rel="stylesheet" href="../../css/style.css" />
|
<link rel="stylesheet" href="../../css/style.css" />
|
||||||
<link rel="stylesheet" href="../../css/queries.css" />
|
<link rel="stylesheet" href="../../css/queries.css" />
|
||||||
|
|
||||||
|
<script
|
||||||
|
defer
|
||||||
|
src="https://stats.cosmicallycreative.com/script.js"
|
||||||
|
data-website-id="ccaa1fb6-54f7-403d-a653-808cf1b4e959"
|
||||||
|
></script>
|
||||||
|
|
||||||
<title>
|
<title>
|
||||||
Website Maintenance & Content Updates ‐ Cosmically Creative
|
Website Maintenance & Content Updates ‐ Cosmically Creative
|
||||||
</title>
|
</title>
|
||||||
|
|||||||
@@ -40,6 +40,12 @@
|
|||||||
<link rel="stylesheet" href="../../css/style.css" />
|
<link rel="stylesheet" href="../../css/style.css" />
|
||||||
<link rel="stylesheet" href="../../css/queries.css" />
|
<link rel="stylesheet" href="../../css/queries.css" />
|
||||||
|
|
||||||
|
<script
|
||||||
|
defer
|
||||||
|
src="https://stats.cosmicallycreative.com/script.js"
|
||||||
|
data-website-id="ccaa1fb6-54f7-403d-a653-808cf1b4e959"
|
||||||
|
></script>
|
||||||
|
|
||||||
<title>Creative, Custom Web Design ‐ Cosmically Creative</title>
|
<title>Creative, Custom Web Design ‐ Cosmically Creative</title>
|
||||||
<script type="application/ld+json">
|
<script type="application/ld+json">
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -38,6 +38,12 @@
|
|||||||
<link rel="stylesheet" href="../../css/style.css" />
|
<link rel="stylesheet" href="../../css/style.css" />
|
||||||
<link rel="stylesheet" href="../../css/queries.css" />
|
<link rel="stylesheet" href="../../css/queries.css" />
|
||||||
|
|
||||||
|
<script
|
||||||
|
defer
|
||||||
|
src="https://stats.cosmicallycreative.com/script.js"
|
||||||
|
data-website-id="ccaa1fb6-54f7-403d-a653-808cf1b4e959"
|
||||||
|
></script>
|
||||||
|
|
||||||
<title>
|
<title>
|
||||||
Custom Web Development with HTML, CSS & JavaScript ‐ Cosmically
|
Custom Web Development with HTML, CSS & JavaScript ‐ Cosmically
|
||||||
Creative
|
Creative
|
||||||
|
|||||||
@@ -38,6 +38,12 @@
|
|||||||
<link rel="stylesheet" href="../../css/style.css" />
|
<link rel="stylesheet" href="../../css/style.css" />
|
||||||
<link rel="stylesheet" href="../../css/queries.css" />
|
<link rel="stylesheet" href="../../css/queries.css" />
|
||||||
|
|
||||||
|
<script
|
||||||
|
defer
|
||||||
|
src="https://stats.cosmicallycreative.com/script.js"
|
||||||
|
data-website-id="ccaa1fb6-54f7-403d-a653-808cf1b4e959"
|
||||||
|
></script>
|
||||||
|
|
||||||
<title>
|
<title>
|
||||||
Reliable Web Hosting with ArkHost ‐ Cosmically Creative
|
Reliable Web Hosting with ArkHost ‐ Cosmically Creative
|
||||||
</title>
|
</title>
|
||||||
|
|||||||
Reference in new issue
Block a user