{"id":677,"date":"2015-12-17T09:06:37","date_gmt":"2015-12-17T09:06:37","guid":{"rendered":"http:\/\/service.konradin.de\/faq\/?p=677"},"modified":"2015-12-17T09:06:37","modified_gmt":"2015-12-17T09:06:37","slug":"google-analytics-code","status":"publish","type":"post","link":"https:\/\/wp.test.konradin-online.de\/index.php\/2015\/12\/17\/google-analytics-code\/","title":{"rendered":"Google Analytics Code"},"content":{"rendered":"<p>Code zur Integration auf den Websites.<\/p>\n<pre class=\"theme:github line-height:18 lang:default decode:true \" title=\"GA-Code\">&lt;!--ANALYTICS START --&gt;\r\n&lt;script&gt;\r\n \r\nvar gaProperty = '[GA-IDENTIFIIER]';\r\nvar disableStr = 'ga-disable-' + gaProperty;\r\nif (document.cookie.indexOf(disableStr + '=true') &gt; -1) {\r\n  window[disableStr] = true;\r\n}\r\nfunction gaOptout() {\r\n  document.cookie = disableStr + '=true; expires=Thu, 31 Dec 2099 23:59:59 UTC; path=\/';\r\n  window[disableStr] = true;\r\n}\r\n \r\n&lt;\/script&gt;\r\n&lt;script&gt;\r\n  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\r\n  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),\r\n  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\r\n  })(window,document,'script','\/\/www.google-analytics.com\/analytics.js','ga');\r\n \r\n  ga('create', gaProperty, 'auto');\r\n  ga('set', 'anonymizeIp', true);\r\n  ga('send', 'pageview');\r\n \r\n&lt;\/script&gt;\r\n&lt;!-- ANALYTICS ENDE --&gt;<\/pre>\n\n\n<!-- Track Postdata Dimension Defs -->\n        <script>\n            var my_postdate \t= '2015-12-17'\n            var my_posttime \t= '09:06';\n            var my_postid\t \t= '677';\n            var my_customerid \t= '';\n            var my_author \t\t= 'admin';\n        <\/script>\n        <!-- Track Postdata Dimensions End -->","protected":false},"excerpt":{"rendered":"<p>Code zur Integration auf den Websites. &lt;!&#8211;ANALYTICS START &#8211;&gt; &lt;script&gt; var gaProperty = &#8216;[GA-IDENTIFIIER]&#8217;; var disableStr = &#8216;ga-disable-&#8216; + gaProperty; if (document.cookie.indexOf(disableStr + &#8216;=true&#8217;) &gt; -1) { window[disableStr] = true; } function gaOptout() { document.cookie = disableStr + &#8216;=true; expires=Thu, 31 Dec 2099 23:59:59 UTC; path=\/&#8217;; window[disableStr] = true; } &lt;\/script&gt; &lt;script&gt; (function(i,s,o,g,r,a,m){i[&#8216;GoogleAnalyticsObject&#8217;]=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-677","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/wp.test.konradin-online.de\/index.php\/wp-json\/wp\/v2\/posts\/677","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.test.konradin-online.de\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.test.konradin-online.de\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.test.konradin-online.de\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.test.konradin-online.de\/index.php\/wp-json\/wp\/v2\/comments?post=677"}],"version-history":[{"count":0,"href":"https:\/\/wp.test.konradin-online.de\/index.php\/wp-json\/wp\/v2\/posts\/677\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp.test.konradin-online.de\/index.php\/wp-json\/wp\/v2\/media?parent=677"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.test.konradin-online.de\/index.php\/wp-json\/wp\/v2\/categories?post=677"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.test.konradin-online.de\/index.php\/wp-json\/wp\/v2\/tags?post=677"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}