Skip to content

Commit 0ca70cb

Browse files
authored
Update domain to use github pages
1 parent 188722e commit 0ca70cb

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

static/js/cookie-consent.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@
574574
function gtag(){dataLayer.push(arguments);}
575575
function loadGAonConsent(){
576576
// Google Analytics
577-
if(location.hostname == "devonfw.com"){
577+
if(location.hostname == "devonfw.github.io"){
578578
window.dataLayer = window.dataLayer || [];
579579
gtag('js', new Date());
580580
gtag('config', 'UA-151636804-1', { 'anonymize_ip': true });
@@ -615,7 +615,7 @@ window.addEventListener("load", function(){
615615
"deny":"Decline",
616616
"allow": "Accept",
617617
"link": "cookie policy",
618-
"href": "https://devonfw.com/"
618+
"href": "https://devonfw.github.io/"
619619
},
620620
revokable:true,
621621
onStatusChange: function(status, chosenBefore) {
@@ -637,3 +637,4 @@ if (document.cookie.split(';').filter(function(item) {
637637
}).length) {
638638
loadGAonConsent();
639639
}
640+

0 commit comments

Comments
 (0)