Adapted script format for Google Tag Manager
<script>
div=document.createElement("div");
div.setAttribute("id","hdAttributes");
div.setAttribute("attribute","attribute value");
document.getElementsByTagName("BODY")[0].append(div);
</script><div id="hdAttributes" widget_state="welcome"></div><script>
div=document.createElement("div");
div.setAttribute("id","hdAttributes");
div.setAttribute("widget_state","welcome");
document.getElementsByTagName("BODY")[0].append(div);
</script>Last updated
Was this helpful?
