{"id":3303,"date":"2024-09-01T16:21:35","date_gmt":"2024-09-01T16:21:35","guid":{"rendered":"https:\/\/gaconnector.com\/docs\/?p=3303"},"modified":"2025-09-22T11:26:47","modified_gmt":"2025-09-22T11:26:47","slug":"how-to-integrate-ga-connector-with-crisp-chat","status":"publish","type":"post","link":"https:\/\/gaconnector.com\/docs\/how-to-integrate-ga-connector-with-crisp-chat\/","title":{"rendered":"How to integrate GA Connector with Crisp Chat"},"content":{"rendered":"<p data-pm-slice=\"1 1 [&quot;blockquote&quot;,{}]\">The instructions below apply to\u00a0<strong>API-Based integration<\/strong>.<\/p>\n<p data-pm-slice=\"1 1 [&quot;blockquote&quot;,{}]\">If you are using\u00a0<strong>Cookie-Based integration<\/strong>, please note that Crisp chat does not support it.<\/p>\n<p data-pm-slice=\"1 1 [&quot;blockquote&quot;,{}]\">Not sure which instructions to follow? Start here:\u00a0<strong><a class=\"ProsemirrorEditor-link\" href=\"https:\/\/gaconnector.com\/docs\/how-to-check-which-ga-connector-integration-type-youre-using\/\">How to Check Which GA Connector Integration Type You\u2019re Using<\/a>.<\/strong><\/p>\n<h4><em>Add Google Analytics data to Crisp Chat with GA Connector\u2019s Crisp Chat integration.<\/em><\/h4>\n<h2>Prerequisites<\/h2>\n<ul>\n<li>Installed either the GA Connector WordPress plugin or GA Connector script on your website<\/li>\n<li>Uses Salesforce, Zoho CRM or Pipedrive as CRM<\/li>\n<\/ul>\n<h2>Add Custom Code<\/h2>\n<p>Right after the GA Connector code and the Crisp chat embed code, add the following script:<\/p>\n<pre class=\"lang:default decode:true \">&lt;script&gt;\r\n        window.CRISP_READY_TRIGGER = function() {\r\n            $crisp.push([\"on\", \"user:email:changed\", function(email){\r\n                if(window.gaconnector2) {\r\n                    gaconnector2.identify('email',email);\r\n                };\r\n            }]);\r\n        };\r\n&lt;\/script&gt;<\/pre>\n<p>That&#8217;s it!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The instructions below apply to\u00a0API-Based integration. If you are using\u00a0Cookie-Based integration, please note that Crisp chat does not support it. Not sure which instructions to follow? Start here:\u00a0How to Check Which GA Connector Integration Type You\u2019re Using. Add Google Analytics data to Crisp Chat with GA Connector\u2019s Crisp Chat integration. Prerequisites Installed either the GA [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"_links":{"self":[{"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/posts\/3303"}],"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\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/comments?post=3303"}],"version-history":[{"count":6,"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/posts\/3303\/revisions"}],"predecessor-version":[{"id":3723,"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/posts\/3303\/revisions\/3723"}],"wp:attachment":[{"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/media?parent=3303"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/categories?post=3303"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/tags?post=3303"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}