{"id":2637,"date":"2020-12-28T11:41:37","date_gmt":"2020-12-28T11:41:37","guid":{"rendered":"https:\/\/gaconnector.com\/docs\/?p=2637"},"modified":"2025-09-29T08:48:06","modified_gmt":"2025-09-29T08:48:06","slug":"integrate-ga-connector-formstack","status":"publish","type":"post","link":"https:\/\/gaconnector.com\/docs\/integrate-ga-connector-formstack\/","title":{"rendered":"How to integrate GA Connector with Formstack"},"content":{"rendered":"<p data-pm-slice=\"1 1 [&quot;blockquote&quot;,{}]\">The instructions below apply to\u00a0<strong>Cookie-Based integration<\/strong>.<\/p>\n<p data-pm-slice=\"1 1 [&quot;blockquote&quot;,{}]\">If you are using\u00a0<strong>API-Based integration<\/strong>, please note that Formstack does not support it. You will need to follow the <strong>Cookie-Based integration<\/strong>\u00a0steps instead.<\/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 Formstack with GA Connector\u2019s Forkstack integration.<\/em><\/h4>\n<h2>Prerequisites<\/h2>\n<ul>\n<li>Installed either GA Connector <a title=\"\" href=\"https:\/\/gaconnector.com\/download\/wordpress\" target=\"_blank\" rel=\"noopener noreferrer\">WordPress plugin<\/a> or GA Connector script on your website:<\/li>\n<\/ul>\n<pre class=\"lang:default decode:true\" data-url=\"https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2017\/11\/gaconnector-tracking-code.js?v=2\"><\/pre>\n<h2>Setting up the GA Connector Fields on Formstack Form Editor<\/h2>\n<p><strong>Step 1<\/strong><br \/>\nClick on the build section and add a\u00a0<strong><em>Short Answer<\/em><\/strong>\u00a0field on the form that you are editing<\/p>\n<p><strong>Step 2<br \/>\n<\/strong>Click on the newly created field and set the\u00a0<strong><em>Field Label<\/em>\u00a0<\/strong>and\u00a0<strong><em>Default Value<\/em>\u00a0<\/strong>to match the GA Connector field that you want to track. (e.g. gaconnector_all_traffic_sources). A full list of GA Connector fields and its equivalent ID can be found at the bottom of this page.<\/p>\n<p><strong>Step\u00a03<\/strong><br \/>\nClick on the\u00a0<strong><em>Hidden<\/em><\/strong>\u00a0checkbox so that the field that you&#8217;ve created is hidden on your form<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-2638\" src=\"https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2020\/12\/formstack-screenshot.jpg\" alt=\"\" width=\"331\" height=\"800\" srcset=\"https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2020\/12\/formstack-screenshot.jpg 331w, https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2020\/12\/formstack-screenshot-124x300.jpg 124w, https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2020\/12\/formstack-screenshot-25x60.jpg 25w, https:\/\/gaconnector.com\/docs\/wp-content\/uploads\/2020\/12\/formstack-screenshot-62x150.jpg 62w\" sizes=\"(max-width: 331px) 100vw, 331px\" \/><\/p>\n<p><strong>Step 4<br \/>\n<\/strong>Embed your form your website, if not already done.<\/p>\n<h2>More than just UTM parameters<\/h2>\n<p>GA Connector adds UTM information, geolocation, referral information to your Formstack leads.<\/p>\n<p>See below for all the information that you can add to your leads to help you find out which of your marketing activities drive sales.<\/p>\n\n<table id=\"tablepress-7\" class=\"tablepress tablepress-id-7\">\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\">gaconnector_all_traffic_sources<\/td><td class=\"column-3\"><strong>Last Click Campaign<\/strong><\/td><td class=\"column-4\">gaconnector_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\">gaconnector_browser<\/td><td class=\"column-3\"><strong>Last Click Channel<\/strong><\/td><td class=\"column-4\">gaconnector_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\">gaconnector_city<\/td><td class=\"column-3\"><strong>Last Click Content<\/strong><\/td><td class=\"column-4\">gaconnector_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\">gaconnector_country<\/td><td class=\"column-3\"><strong>Last Click Landing Page<\/strong><\/td><td class=\"column-4\">gaconnector_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\">gaconnector_fc_campaign<\/td><td class=\"column-3\"><strong>Last Click Medium<\/strong><\/td><td class=\"column-4\">gaconnector_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\">gaconnector_fc_channel<\/td><td class=\"column-3\"><strong>Last Click Referrer<\/strong><\/td><td class=\"column-4\">gaconnector_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\">gaconnector_fc_content<\/td><td class=\"column-3\"><strong>Last Click Source<\/strong><\/td><td class=\"column-4\">gaconnector_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\">gaconnector_fc_landing<\/td><td class=\"column-3\"><strong>Last Click Term<\/strong><\/td><td class=\"column-4\">gaconnector_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\">gaconnector_fc_medium<\/td><td class=\"column-3\"><strong>Last Click Timestamp<\/strong><\/td><td class=\"column-4\">gaconnector_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\">gaconnector_fc_referrer<\/td><td class=\"column-3\"><strong>Longitude<\/strong><\/td><td class=\"column-4\">gaconnector_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\">gaconnector_fc_source<\/td><td class=\"column-3\"><strong>Latitude<\/strong><\/td><td class=\"column-4\">gaconnector_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\">gaconnector_fc_term<\/td><td class=\"column-3\"><strong>Number of Website Visits<\/strong><\/td><td class=\"column-4\">gaconnector_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\">gaconnector_fc_timestamp<\/td><td class=\"column-3\"><strong>Operating System<\/strong><\/td><td class=\"column-4\">gaconnector_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\">gaconnector_GA_Client_ID<\/td><td class=\"column-3\"><strong>Device<\/strong><\/td><td class=\"column-4\">gaconnector_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\">gaconnector_GA_Measurement_ID<\/td><td class=\"column-3\"><strong>Region<\/strong><\/td><td class=\"column-4\">gaconnector_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\">gaconnector_GA_Session_ID<\/td><td class=\"column-3\"><strong>Pages Visited <\/strong><\/td><td class=\"column-4\">gaconnector_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\">gaconnector_gclid<\/td><td class=\"column-3\"><strong>Time Spent on Website <\/strong><\/td><td class=\"column-4\">gaconnector_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\">gaconnector_ip_address<\/td><td class=\"column-3\"><strong>Time Zone <\/strong><\/td><td class=\"column-4\">gaconnector_time_zone<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-7 from cache -->\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The instructions below apply to\u00a0Cookie-Based integration. If you are using\u00a0API-Based integration, please note that Formstack does not support it. You will need to follow the Cookie-Based integration\u00a0steps instead. Not sure which instructions to follow? Start here:\u00a0How to Check Which GA Connector Integration Type You\u2019re Using. Add Google Analytics data to Formstack with GA Connector\u2019s Forkstack [&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,16],"tags":[],"_links":{"self":[{"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/posts\/2637"}],"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=2637"}],"version-history":[{"count":12,"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/posts\/2637\/revisions"}],"predecessor-version":[{"id":3748,"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/posts\/2637\/revisions\/3748"}],"wp:attachment":[{"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/media?parent=2637"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/categories?post=2637"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/tags?post=2637"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}