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.

Add Google Analytics Data to HighLevel Using GA Connector’s Form Integration

Prerequisites

  • Ensure that either the GA Connector WordPress plugin or the GA Connector script is installed on your website.

 Create GA Connector fields in HighLevel

  1. Navigate to your HighLevel dashboard and go to Settings > Custom Fields.
  2. Click on Add Field and create a Single Line field for each GA Connector field you wish to track.
  3. Refer to the table below for a comprehensive list of GA Connector fields and their corresponding Input IDs.
    LabelInput IDLabelInput ID
    All Traffic Sources all_traffic_sourcesLast Click Campaignlc_campaign
    BrowserbrowserLast Click Channellc_channel
    City (from IP address)cityLast Click Contentlc_content
    Country (from IP address)countryLast Click Landing Pagelc_landing
    First Click Campaignfc_campaignLast Click Mediumlc_medium
    First Click Channelfc_channelLast Click Referrerlc_referrer
    First Click Contentfc_contentLast Click Sourcelc_source
    First Click Landing Pagefc_landingLast Click Termlc_term
    First Click Medium fc_mediumLast Click Timestamplc_timestamp
    First Click Referrerfc_referrerLongitudelongitude
    First Click Sourcefc_sourceLatitudelatitude
    First Click Termfc_termNumber of Website Visitspage_visits
    First Click Timestampfc_timestampOperating SystemOS
    Google Analytics CIDGA_Client_IDDevicedevice
    Google Analytics Measurement IDGA_Measurement_IDRegionregion
    Google Analytics Session IDGA_Session_IDPages Visited pages_visited_list
    Google Click IdentifiergclidTime Spent on Website time_passed
    IP Addressip_addressTime Zone time_zone

Update your Forms

  1. For each of your forms, add the GA Connector custom fields you’ve created.
  2. Update the Query Key of each added field to match the corresponding GA Connector Input ID from the table above (e.g., for “Last Click Source,” use lc_source).
  3. Ensure that the added fields are set to Hidden.
  4. After adding all necessary fields and setting their Query Keys, insert an HTML form element at the bottom of your form.
  5. Add the following script to the HTML form element:

    Replace ‘https://yourdomainhere.com’ with the actual domain where your form is hosted.
  6. Save your form.

Add Supplemental Code to Your Website

  1. Add the following code to the pages of your website where your forms are embedded.

That’s it! Once a web visitor submits your form, the contact created should contain Google Analytics data.

Need help with integrating HighLevel with GA Connector? Feel free to send us a message here!