Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Print dataLayer
- (function(w, d, t) {
- for (i of w[d])
- t += JSON.stringify(i).replaceAll(/\"\d{1,}\":/g, "") + "\n";
- console.log(t);
- })(window, "dataLayer", "")
- // Reload CookiBot consent banner
- "Cookiebot" in window
- ? Cookiebot.consented && (Cookiebot.deleteConsentCookie(), location.reload())
- : console.warn("Cookiebot methods unavailable!");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement