diff --git a/public/blog.html b/public/blog.html
index 899a61c..8edb98d 100644
--- a/public/blog.html
+++ b/public/blog.html
@@ -15,12 +15,12 @@
'wait_for_update': 500
});
-
-
+ })(window,document,'script','dataLayer','GTM-T6CVBLPR');};
Blog | Leon Tonhäuser
@@ -70,10 +70,6 @@
-
-
-
Blog
Hier schreibe ich bald über Shootings, Hintergründe und alles, was neben der Kamera passiert.
diff --git a/public/custom/consent.js b/public/custom/consent.js
index 843ea81..2990434 100644
--- a/public/custom/consent.js
+++ b/public/custom/consent.js
@@ -7,6 +7,8 @@
var KEY = 'lt_consent_v1';
function update(granted) {
+ // GTM erst nach Einwilligung laden – vorher keine Verbindung zu Google.
+ if (granted && typeof window.ltLadeGtm === 'function') window.ltLadeGtm();
if (typeof gtag !== 'function') return;
var v = granted ? 'granted' : 'denied';
gtag('consent', 'update', {
diff --git a/public/datenschutz.html b/public/datenschutz.html
index d070525..b4284d0 100644
--- a/public/datenschutz.html
+++ b/public/datenschutz.html
@@ -17,12 +17,12 @@
'wait_for_update': 500
});
-
-
+ })(window,document,'script','dataLayer','GTM-T6CVBLPR');};
@@ -76,10 +76,6 @@
-
-
-
diff --git a/public/eventfotografie.html b/public/eventfotografie.html
index 409ae66..9736dd3 100644
--- a/public/eventfotografie.html
+++ b/public/eventfotografie.html
@@ -17,12 +17,12 @@
'wait_for_update': 500
});
-
-
+ })(window,document,'script','dataLayer','GTM-T6CVBLPR');};
@@ -79,10 +79,6 @@
-
-
-
diff --git a/public/impressum.html b/public/impressum.html
index 85b885e..1eb052a 100644
--- a/public/impressum.html
+++ b/public/impressum.html
@@ -17,12 +17,12 @@
'wait_for_update': 500
});
-
-
+ })(window,document,'script','dataLayer','GTM-T6CVBLPR');};
@@ -76,10 +76,6 @@
-
-
-
diff --git a/public/index.html b/public/index.html
index d192faa..307ea3c 100644
--- a/public/index.html
+++ b/public/index.html
@@ -17,12 +17,12 @@
'wait_for_update': 500
});
-
-
+ })(window,document,'script','dataLayer','GTM-T6CVBLPR');};
@@ -78,10 +78,6 @@
-
-
-
-
+ })(window,document,'script','dataLayer','GTM-T6CVBLPR');};
@@ -77,10 +77,6 @@
-
-
-