summaryrefslogtreecommitdiff
path: root/template/google_analytics.st
diff options
context:
space:
mode:
authoryo momma <shutup@oops.wtf>2026-01-27 03:33:16 +0000
committeryo momma <shutup@oops.wtf>2026-01-27 03:33:16 +0000
commitfc9a4ea22eb91757b95cbe1bf1708be17fc2337a (patch)
tree76a0122149e3288ee21d7fb6d0410b1b7b8970a4 /template/google_analytics.st
parent25b74138d68ade87689e714f10e1f3116da5bbee (diff)
Fix HTTPS/mixed content; make config env-drivenHEADmaster2026
- Replace hardcoded dump.fm URLs with host/scheme config\n- Add optional passwordless login flow\n- Update templates/static assets to avoid blocked HTTP resources\n- Ignore local uploads/SQL dumps
Diffstat (limited to 'template/google_analytics.st')
-rwxr-xr-xtemplate/google_analytics.st8
1 files changed, 4 insertions, 4 deletions
diff --git a/template/google_analytics.st b/template/google_analytics.st
index 48cda8b..883102a 100755
--- a/template/google_analytics.st
+++ b/template/google_analytics.st
@@ -1,5 +1,5 @@
<script type="text/javascript">
-var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+var gaJsHost = "https://ssl.";
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
@@ -10,7 +10,7 @@ _qoptions={
qacct:"p-a3mCwIEHECjGE"
};
</script>
-<script type="text/javascript" src="http://edge.quantserve.com/quant.js"></script>
+<script type="text/javascript" src="https://edge.quantserve.com/quant.js"></script>
<noscript>
-<img src="http://pixel.quantserve.com/pixel/p-a3mCwIEHECjGE.gif" style="display: none;" border="0" height="1" width="1" alt="Quantcast"/>
-</noscript> \ No newline at end of file
+<img src="https://pixel.quantserve.com/pixel/p-a3mCwIEHECjGE.gif" style="display: none;" border="0" height="1" width="1" alt="Quantcast"/>
+</noscript>