{"id":2549,"date":"2022-08-30T15:25:47","date_gmt":"2022-08-30T15:25:47","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/01\/30\/website-analytics-toolsview-the-original-page-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:25:47","modified_gmt":"2022-08-30T15:25:47","slug":"website-analytics-toolsview-the-original-page-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/website-analytics-toolsview-the-original-page-collection-of-common-programming-errors\/","title":{"rendered":"website-analytics-toolsView the original page-Collection of common programming errors"},"content":{"rendered":"<h3>UnKnown Error<\/h3>\n<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/6c38c5a05475dff28f929ffba7b70a17?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nCubius<br \/>\nwebsite-analytics-tools 2013-9-22 13:51:33<br \/>\nSince GTM doesn&#8217;t support document.write() method the standard clicktale code doesn&#8217;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: &lt;!&#8211; ClickTale Bottom part &#8211;&gt; &lt;script type=&#8217;text\/javascript&#8217;&gt; var externalScript = document.createElement(&#8216;script&#8217;); var scrSrc = document.location.protocol==&#8217;https:&#8217;? &#8216;https:\/\/clicktalecdn.sslcs.cdn<\/li>\n<\/ul>\n<p id=\"rop\"><small>Originally posted 2014-01-30 08:45:18. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>UnKnown Error Cubius website-analytics-tools 2013-9-22 13:51:33 Since GTM doesn&#8217;t support document.write() method the standard clicktale code doesn&#8217;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: &lt;!&#8211; ClickTale Bottom part &#8211;&gt; &lt;script type=&#8217;text\/javascript&#8217;&gt; var externalScript = document.createElement(&#8216;script&#8217;); var scrSrc = document.location.protocol==&#8217;https:&#8217;? &#8216;https:\/\/clicktalecdn.sslcs.cdn [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2549","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2549","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=2549"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2549\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=2549"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=2549"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=2549"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}