add clear caching
This commit is contained in:
12
js/all.min.js
vendored
12
js/all.min.js
vendored
@ -9,7 +9,17 @@ loadAnalytics.unami = function() {
|
||||
script.setAttribute("data-website-id", "cdb79ddd-06a6-478f-b726-be39b502d6a5");
|
||||
document.head.appendChild(script);
|
||||
};
|
||||
loadAnalytics.cloudflare = function() {
|
||||
// <script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "e5b0ef8807e74cef81287ac77bd18938"}'></script>
|
||||
let script = document.createElement("script");
|
||||
script.setAttribute("defer", "");
|
||||
script.setAttribute("src", "https://static.cloudflareinsights.com/beacon.min.js");
|
||||
script.setAttribute("data-cf-beacon", '{"token": "e5b0ef8807e74cef81287ac77bd18938"}');
|
||||
document.head.appendChild(script);
|
||||
};
|
||||
|
||||
document.addEventListener("DOMContentLoaded", () => {
|
||||
loadAnalytics.unami();
|
||||
// yo why are all analytic providers mid
|
||||
// loadAnalytics.unami();
|
||||
// loadAnalytics.cloudflare();
|
||||
})
|
||||
Reference in New Issue
Block a user