Hi - I am trying to embed the following tracking script into my website (where xxxxx is a unique code)
This is not working and the debug console displays the following:
I know that Sellerdeck has problems with these type of scripts. Any ideas?
Code:
<script id="mcjs">!function(c,h,i,m,p){m=c.createElement(h),p=c.getElementsByTagName(h)[0],m.async=1,m.src=i,p.parentNode.insertBefore(m,p)}(document,"script","https://chimpstatic.com/mcjs-connected/js/users/xxxx.js");</script>
Code:
Uncaught TypeError: can't access property "appendChild", document.body is null <anonymous> https://chimpstatic.com/mcjs-connected/js/users/xxxxx.js:116 <anonymous> https://chimpstatic.com/mcjs-connected/js/users/xxxxx.js:119
Comment