{"id":1508,"date":"2018-05-24T14:15:03","date_gmt":"2018-05-24T14:15:03","guid":{"rendered":"https:\/\/gaconnector.com\/docs\/?p=1508"},"modified":"2020-05-21T06:44:13","modified_gmt":"2020-05-21T06:44:13","slug":"add-ga-connector-tracking-code-websites-built-salesforce-community-builder-site-com","status":"publish","type":"post","link":"https:\/\/gaconnector.com\/docs\/add-ga-connector-tracking-code-websites-built-salesforce-community-builder-site-com\/","title":{"rendered":"How to add GA Connector tracking code to websites built with Salesforce Community Builder (Site.com)"},"content":{"rendered":"<ol>\n<li style=\"font-weight: 400;\"><b>In the Scripts section of the Properties pane, click Configure in the Edit Head Markup section.<\/b><\/li>\n<li style=\"font-weight: 400;\"><b>Paste the GA Connector tracking code in the Edit HTML Code dialog box.<\/b><b><br \/>\n<\/b><\/p>\n<pre class=\"lang:default decode:true \">&lt;script src=\"https:\/\/track.gaconnector.com\/gaconnector.js\" type=\"text\/javascript\"&gt;&lt;\/script&gt;\r\n&lt;script type=\"text\/javascript\"&gt;gaconnector2.track('YOUR GA CONNECTOR ACCOUNT ID');&lt;\/script&gt;<\/pre>\n<\/li>\n<li style=\"font-weight: 400;\"><b>Click Save and Close to insert the markup into the page <\/b><b>head<\/b><b>.<\/b><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">For more details, check out\u00a0<\/span><a href=\"https:\/\/help.salesforce.com\/articleView?id=siteforce_code_custom.htm&amp;type=5#siteforceCodeBody\"><span style=\"font-weight: 400;\">this article on help.salesforce.com<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Scripts section of the Properties pane, click Configure in the Edit Head Markup section. Paste the GA Connector tracking code in the Edit HTML Code dialog box. &lt;script src=&#8221;https:\/\/track.gaconnector.com\/gaconnector.js&#8221; type=&#8221;text\/javascript&#8221;&gt;&lt;\/script&gt; &lt;script type=&#8221;text\/javascript&#8221;&gt;gaconnector2.track(&#8216;YOUR GA CONNECTOR ACCOUNT ID&#8217;);&lt;\/script&gt; Click Save and Close to insert the markup into the page head. For more details, check out\u00a0this [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32],"tags":[],"_links":{"self":[{"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/posts\/1508"}],"collection":[{"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/comments?post=1508"}],"version-history":[{"count":6,"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/posts\/1508\/revisions"}],"predecessor-version":[{"id":1515,"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/posts\/1508\/revisions\/1515"}],"wp:attachment":[{"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/media?parent=1508"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/categories?post=1508"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/tags?post=1508"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}