{"id":2320,"date":"2019-07-06T15:37:48","date_gmt":"2019-07-06T15:37:48","guid":{"rendered":"https:\/\/gaconnector.com\/docs\/?p=2320"},"modified":"2021-10-01T11:58:36","modified_gmt":"2021-10-01T11:58:36","slug":"add-ga-connector-fields-crm","status":"publish","type":"post","link":"https:\/\/gaconnector.com\/docs\/add-ga-connector-fields-crm\/","title":{"rendered":"Create GA Connector fields in your CRM"},"content":{"rendered":"<p>The purpose of these fields is to store the tracking information gathered by gaconnector.js inside your Leads, Opportunities and other CRM objects:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/gaconnector.com\/resourses1\/img\/gaconnector-section.png\" alt=\"Web analytics data in CRM\" \/><\/p>\n<h3>Here is how you can add\u00a0these fields to your CRM:<\/h3>\n<ul>\n<li><strong>If you&#8217;re using Salesforce<\/strong>, just install\u00a0<a href=\"https:\/\/gaconnector.com\/docs\/documentation-for-our-basic-integration-salesforce-package\/\">our\u00a0package<\/a>\u00a0that will automatically add these custom\u00a0fields for you.<\/li>\n<li><strong>If you&#8217;re using Zoho CRM<\/strong>, just install\u00a0<a href=\"https:\/\/gaconnector.com\/docs\/documentation-for-zoho-crm-extension-for-the-basic-integration\/\">our extension<\/a>\u00a0that will automatically add these custom\u00a0fields for you.<\/li>\n<li><strong>If you&#8217;re using a different CRM<\/strong>, you&#8217;ll need to create these fields manually. But keep in mind that <span style=\"text-decoration: underline;\">you don&#8217;t need to create each of the above fields in your CRM, only the ones you plan on using<\/span>. Here is the list of\u00a0fields you can create:<\/li>\n<\/ul>\n\n<table id=\"tablepress-6\" class=\"tablepress tablepress-id-6\">\n<thead>\n<tr class=\"row-1 odd\">\n\t<th class=\"column-1\">Label<\/th><th class=\"column-2\">Input ID<\/th><th class=\"column-3\">Label<\/th><th class=\"column-4\">Input ID<\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"row-hover\">\n<tr class=\"row-2 even\">\n\t<td class=\"column-1\"><strong>All Traffic Sources <\/strong><\/td><td class=\"column-2\">all_traffic_sources<\/td><td class=\"column-3\"><strong>Last Click Campaign<\/strong><\/td><td class=\"column-4\">lc_campaign<\/td>\n<\/tr>\n<tr class=\"row-3 odd\">\n\t<td class=\"column-1\"><strong>Browser<\/strong><\/td><td class=\"column-2\">browser<\/td><td class=\"column-3\"><strong>Last Click Channel<\/strong><\/td><td class=\"column-4\">lc_channel<\/td>\n<\/tr>\n<tr class=\"row-4 even\">\n\t<td class=\"column-1\"><strong>City (from IP address)<\/strong><\/td><td class=\"column-2\">city<\/td><td class=\"column-3\"><strong>Last Click Content<\/strong><\/td><td class=\"column-4\">lc_content<\/td>\n<\/tr>\n<tr class=\"row-5 odd\">\n\t<td class=\"column-1\"><strong>Country (from IP address)<\/strong><\/td><td class=\"column-2\">country<\/td><td class=\"column-3\"><strong>Last Click Landing Page<\/strong><\/td><td class=\"column-4\">lc_landing<\/td>\n<\/tr>\n<tr class=\"row-6 even\">\n\t<td class=\"column-1\"><strong>First Click Campaign<\/strong><\/td><td class=\"column-2\">fc_campaign<\/td><td class=\"column-3\"><strong>Last Click Medium<\/strong><\/td><td class=\"column-4\">lc_medium<\/td>\n<\/tr>\n<tr class=\"row-7 odd\">\n\t<td class=\"column-1\"><strong>First Click Channel<\/strong><\/td><td class=\"column-2\">fc_channel<\/td><td class=\"column-3\"><strong>Last Click Referrer<\/strong><\/td><td class=\"column-4\">lc_referrer<\/td>\n<\/tr>\n<tr class=\"row-8 even\">\n\t<td class=\"column-1\"><strong>First Click Content<\/strong><\/td><td class=\"column-2\">fc_content<\/td><td class=\"column-3\"><strong>Last Click Source<\/strong><\/td><td class=\"column-4\">lc_source<\/td>\n<\/tr>\n<tr class=\"row-9 odd\">\n\t<td class=\"column-1\"><strong>First Click Landing Page<\/strong><\/td><td class=\"column-2\">fc_landing<\/td><td class=\"column-3\"><strong>Last Click Term<\/strong><\/td><td class=\"column-4\">lc_term<\/td>\n<\/tr>\n<tr class=\"row-10 even\">\n\t<td class=\"column-1\"><strong>First Click Medium <\/strong><\/td><td class=\"column-2\">fc_medium<\/td><td class=\"column-3\"><strong>Last Click Timestamp<\/strong><\/td><td class=\"column-4\">lc_timestamp<\/td>\n<\/tr>\n<tr class=\"row-11 odd\">\n\t<td class=\"column-1\"><strong>First Click Referrer<\/strong><\/td><td class=\"column-2\">fc_referrer<\/td><td class=\"column-3\"><strong>Longitude<\/strong><\/td><td class=\"column-4\">longitude<\/td>\n<\/tr>\n<tr class=\"row-12 even\">\n\t<td class=\"column-1\"><strong>First Click Source<\/strong><\/td><td class=\"column-2\">fc_source<\/td><td class=\"column-3\"><strong>Latitude<\/strong><\/td><td class=\"column-4\">latitude<\/td>\n<\/tr>\n<tr class=\"row-13 odd\">\n\t<td class=\"column-1\"><strong>First Click Term<\/strong><\/td><td class=\"column-2\">fc_term<\/td><td class=\"column-3\"><strong>Number of Website Visits<\/strong><\/td><td class=\"column-4\">page_visits<\/td>\n<\/tr>\n<tr class=\"row-14 even\">\n\t<td class=\"column-1\"><strong>First Click Timestamp<\/strong><\/td><td class=\"column-2\">fc_timestamp<\/td><td class=\"column-3\"><strong>Operating System<\/strong><\/td><td class=\"column-4\">OS<\/td>\n<\/tr>\n<tr class=\"row-15 odd\">\n\t<td class=\"column-1\"><strong>Google Analytics CID<\/strong><\/td><td class=\"column-2\">GA_Client_ID<\/td><td class=\"column-3\"><strong>Device<\/strong><\/td><td class=\"column-4\">device<\/td>\n<\/tr>\n<tr class=\"row-16 even\">\n\t<td class=\"column-1\"><strong>Google Analytics Measurement ID<\/strong><\/td><td class=\"column-2\">GA_Measurement_ID<\/td><td class=\"column-3\"><strong>Region<\/strong><\/td><td class=\"column-4\">region<\/td>\n<\/tr>\n<tr class=\"row-17 odd\">\n\t<td class=\"column-1\"><strong>Google Analytics Session ID<\/strong><\/td><td class=\"column-2\">GA_Session_ID<\/td><td class=\"column-3\"><strong>Pages Visited <\/strong><\/td><td class=\"column-4\">pages_visited_list<\/td>\n<\/tr>\n<tr class=\"row-18 even\">\n\t<td class=\"column-1\"><strong>Google Click Identifier<\/strong><\/td><td class=\"column-2\">gclid<\/td><td class=\"column-3\"><strong>Time Spent on Website <\/strong><\/td><td class=\"column-4\">time_passed<\/td>\n<\/tr>\n<tr class=\"row-19 odd\">\n\t<td class=\"column-1\"><strong>IP Address<\/strong><\/td><td class=\"column-2\">ip_address<\/td><td class=\"column-3\"><strong>Time Zone <\/strong><\/td><td class=\"column-4\">time_zone<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-6 from cache -->\n","protected":false},"excerpt":{"rendered":"<p>The purpose of these fields is to store the tracking information gathered by gaconnector.js inside your Leads, Opportunities and other CRM objects: Here is how you can add\u00a0these fields to your CRM: If you&#8217;re using Salesforce, just install\u00a0our\u00a0package\u00a0that will automatically add these custom\u00a0fields for you. If you&#8217;re using Zoho CRM, just install\u00a0our extension\u00a0that will automatically [&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,16],"tags":[],"_links":{"self":[{"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/posts\/2320"}],"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=2320"}],"version-history":[{"count":5,"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/posts\/2320\/revisions"}],"predecessor-version":[{"id":2878,"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/posts\/2320\/revisions\/2878"}],"wp:attachment":[{"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/media?parent=2320"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/categories?post=2320"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/tags?post=2320"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}