Prerequisites

  • These instructions assume that you have already connected Brilliant Web-to-Lead for Salesforce to your Salesforce account
  • Installed either GA Connector WordPress plugin or GA Connector script on your website:

How to find the API name of GA Connector field in Salesforce

Before setting up your form, you must first find and take note of the API name of the GA Connector field that you will be adding in your form.

  1. To find the API Name go to Setup > Object Manager > Lead > Fields & Relationships
  2. Find the GA Connector custom fields that you will be adding to your form and write down the field name.

Setting up your form

Once you have installed the script on your website and know the API name of your custom fields, we’ll need to set up your form so GA Connector will able to fill this with tracking information.

  1. From your WP dashboard navigate to Settings > Salesforce > Forms, and select the form where you want to add GA Connector fields.
  2. Click on Add a Field.
  3. On the first column (Field column) enter the API name of the GA Connector custom field on Salesforce.
  4. On the values field, put in the equivalent GA Connector input ID (e.g. All Traffic Sources – gaconnector_all_traffic_sources, First Click Campaign – gaconnector_fc_campaign) – For a full list of GA Connector fields and equivalent input IDs see table below.
  5. Save Form
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