UnKnown Error
![](http://www.gravatar.com/avatar/6c38c5a05475dff28f929ffba7b70a17?s=32&d=identicon&r=PG)
Cubius
website-analytics-tools 2013-9-22 13:51:33
Since GTM doesn’t support document.write() method the standard clicktale code doesn’t work. Is there a workaround for this?ClickTale employee has sent me these instructions:Replace the document.write JS line above with the following: document.body.appendChild(externalScript);Example: <!– ClickTale Bottom part –> <script type=’text/javascript’> var externalScript = document.createElement(‘script’); var scrSrc = document.location.protocol==’https:’? ‘https://clicktalecdn.sslcs.cdn