{"id":1156,"date":"2017-11-27T12:37:06","date_gmt":"2017-11-27T12:37:06","guid":{"rendered":"http:\/\/support.gaconnector.com\/?p=1156"},"modified":"2025-07-21T08:01:52","modified_gmt":"2025-07-21T08:01:52","slug":"how-ga-connector-2-0-works","status":"publish","type":"post","link":"https:\/\/gaconnector.com\/docs\/how-ga-connector-2-0-works\/","title":{"rendered":"How GA Connector (API-based integration) Works"},"content":{"rendered":"<p>As a part of GA Connector API-based installation, we ask you to install this script on your website:<\/p>\n<pre class=\"lang:default decode:true \">&lt;script src=\"https:\/\/track.gaconnector.com\/gaconnector.js\" type=\"text\/javascript\"&gt;&lt;\/script&gt;<\/pre>\n<p>This script monitors what users type on your website by adding onChange listeners to form inputs.<\/p>\n<p>This script can recognize emails, names and phone numbers.<\/p>\n<p>When a user types one of these, the script sends the data to GA Connector\u2019s server\u2014but before storing, the email address is hashed on our server to safeguard user privacy.<\/p>\n<p>It also sends the user activity to the website, which the server uses to recognize the source, medium, keyword and other information.<\/p>\n<p>As a result, we learn the user behavior tied to the user&#8217;s phone, email or name.<\/p>\n<p>This allows GA Connector to periodically update the CRM with the tracking information about the user:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/i.gyazo.com\/261ceaab093db79d45c39546c44d28b3.png\" alt=\"\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>As a part of GA Connector API-based installation, we ask you to install this script on your website: &lt;script src=&#8221;https:\/\/track.gaconnector.com\/gaconnector.js&#8221; type=&#8221;text\/javascript&#8221;&gt;&lt;\/script&gt; This script monitors what users type on your website by adding onChange listeners to form inputs. This script can recognize emails, names and phone numbers. When a user types one of these, the script [&hellip;]<\/p>\n","protected":false},"author":1,"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\/1156"}],"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\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/comments?post=1156"}],"version-history":[{"count":8,"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/posts\/1156\/revisions"}],"predecessor-version":[{"id":3632,"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/posts\/1156\/revisions\/3632"}],"wp:attachment":[{"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/media?parent=1156"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/categories?post=1156"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/tags?post=1156"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}