{"id":9473743,"date":"2017-09-06T19:09:50","date_gmt":"2017-09-06T19:09:50","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/adding-analytics-tag\/"},"modified":"2017-09-06T19:09:50","modified_gmt":"2017-09-06T19:09:50","slug":"adding-analytics-tag","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/adding-analytics-tag\/","title":{"rendered":"Adding analytics tag"},"content":{"rendered":"<p>I was wondering if there was a good area where we can embed custom javascript code  (Heap Analytics) into the theme. I noticed there are limited areas within the theme editor.<\/p>\n<p>Ideally, this code should be in the header. See Heap&#8217;s official guidelines below:<br \/>\nhttps:\/\/docs.heapanalytics.com\/v1.0\/docs\/third-party-web-tools<\/p>\n<p>Is this something that is only enabled with the Pro version? I&#8217;m using the free version.<\/p>\n","protected":false},"template":"","class_list":["post-9473743","topic","type-topic","status-publish","hentry","topic-tag-embed","topic-tag-javascript"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9473743","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9473743\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=9473743"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}