If you're integrating with Salesforce or Zoho CRM, this article may not apply because you're most likely using GA Connector API-based integration.

Prerequisites

  • Installed either GA Connector WordPress plugin or GA Connector script on your website:

Setting up the GA Connector Fields on Formstack Form Editor

Step 1
Click on the build section and add a Short Answer field on the form that you are editing

Step 2
Click on the newly created field and set the Field Label and Default Value 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.

Step 3
Click on the Hidden checkbox so that the field that you’ve created is hidden on your form

Step 4
Embed your form your website, if not already done.

Full list of GA Connector fields

LabelInput IDLabelInput ID
All Traffic Sources gaconnector_all_traffic_sourcesLast Click Campaigngaconnector_lc_campaign
Browsergaconnector_browserLast Click Channelgaconnector_lc_channel
City (from IP address)gaconnector_cityLast Click Contentgaconnector_lc_content
Country (from IP address)gaconnector_countryLast Click Landing Pagegaconnector_lc_landing
First Click Campaigngaconnector_fc_campaignLast Click Mediumgaconnector_lc_medium
First Click Channelgaconnector_fc_channelLast Click Referrergaconnector_lc_referrer
First Click Contentgaconnector_fc_contentLast Click Sourcegaconnector_lc_source
First Click Landing Pagegaconnector_fc_landingLast Click Termgaconnector_lc_term
First Click Medium gaconnector_fc_mediumLatitudegaconnector_latitude
First Click Referrergaconnector_fc_referrerLongitudegaconnector_longitude
First Click Sourcegaconnector_fc_sourceNumber of Website Visitsgaconnector_page_visits
First Click Termgaconnector_fc_termOperating Systemgaconnector_OS
Google Analytics CIDgaconnector_GA_Client_IDPages Visited gaconnector_pages_visited_list
Google Click Identifiergaconnector_gclidTime Spent on Website gaconnector_time_passed
IP Addressgaconnector_ip_addressTime Zone gaconnector_time_zone
Regiongaconnector_regionDevicegaconnector_device