Google Analytics Integration
Logiforms integrates with Google Analytics and records events as a user interacts with your form. Each form interaction is recorded and available for your review within your Google Analytics account.
If you are not embedding the form on your website, and/or you are not trying to pass Google Analytics sessions from your website into the form, then you do not have to make any changes since all of the Google Analytics code is hosted on your form.
To enable Google Analytics on your form, you must have an existing Google Analytics account. You can sign up for a free account here. After your account is set up, you configure your form to track user interactions via the event tracking feature of Google Analytics.
On This Page
- Events Tracked
- General Settings
- Tracking Settings
- Tracking Sessions from the Parent Website
- Test Your Integration
Events Tracked
All Event Tracking is optional and you can configure which events get tracked and how they are labeled and categorized. The following events are tracked:
- Form View / Page View
When the form is displayed or a new page is navigated to (for multi-page forms) the Form View Event is triggered to track a user's path through the form.
- Form Abandoned
If a user views the form and then leaves the page without submitting the form, the Form Abandoned event is triggered.
- Form Submit Event
When the user clicks the submit button the Form Submit Event is recorded.
- Form Processed
When the AutoResponder Thank You Page is displayed, the Form Processed Event is recorded. If you are using a redirect URL, then this event will not be triggered. This event can also optionally record the users assigned record_id as a custom dimension.
- Save & Finish Later: Resume
If you are using the Save & Finish Later Extension on your form, this event is triggered when a user resumes a previously paused submission. If the paused submission corresponds to a Google Analytics session, the user's events are matched up to the existing session data.
- Save & Finish Later: Save
When a user saves their position on a form with the Save & Finish Later Extension enabled, this event will record the page they saved on and also record the Google Analytics client ID so that the tracking data can be matched to an existing user session when the record is resumed.
General Settings
- In Form Designer, click the form name in the Form Outline.
- Open the Form General Setting property panel.
- Click Google Analytics to launch the configuration wizard.
- Check the Enable Google Analytics Event Tracking checkbox.
- Configure the settings using the table below.
Field | Details |
---|---|
Domain | This is the Google Analytics Property Domain. Typically if the form is embedded on www.yourdomain.com, you would enter yourdomain.com in this field. |
UA | This is your tracking ID from Google Analytics. |
Pass Through | When Pass Through is enabled, and the form is embedded on your website and your website has the Google Analytics tracking installed, the existing Google Analytics session will be passed through to the form so that all of the events can be linked to the same session. If no session exists, then a new session is created for the events generated by the form. When Pass Through is not enabled, Logiforms creates a new Google Analytics session for each visitor to the form. |
Force Pass Through | If the parent page has Google Analytics installed, we recommend the Force Pass Through option be enabled, since there should always be an existing Google Analytics session in the parent page. When Force Pass Through is enabled, the Client ID from the parent page will always be used. if no session is passed through from the parent page, then no tracking is done and a new session is not created to track form events. This has the added advantage of not recording a Form View with a new session and then tracking another Form View when the parent FA session is linked. This can happen if only the Pass Through option is enabled. because the GA library may not be loaded completely when the form is first loaded. |
RecordID Tracking | When enabled, the recordID will be recorded in a custom dimension when available. The recordID will be available after a paused submission is resumed (when using the save & finish later extension) and after a form is processed successfully. |
RecordID Tracking Dimension | This is the dimension used to track the RecordID. For more information on tracking dimensions, please see the Google Developer Guide. |
Tracking Settings
Click the Tracking tab to display all of the available tracking options.
Each tracking option can be configured by first clicking on the checkbox to enable the option and then clicking the corresponding button to edit the settings.
Event Settings
Each event has default values which we recommend you leave unless you have specific reasons to make changes. On a single page form, the "on [Pagename]" portion of the default values will be automatically removed. Wildcards can also be used in the Event Label. For more information on the Event Values, please refer to the Google Analytics Developer Guide.
NonInteraction Flag
The NonInteraction option allows you to determine how you want bounce rate defined for pages on your site that also include event tracking. This setting is typically best left at 0 to indicate the event IS an interaction event. For more information on this setting, please refer to the Google Analytics Developer Guide.
Custom Dimensions
On the Custom Dimensions tab, you can configure additional custom parameters to record with each event. Choose the dimension (only one value can be tracked per dimension) and enter the custom value or select a wildcard value from your form. Note that if you have enabled Record ID Tracking, the dimension used for Record ID tracking can not be used here.
Tracking Sessions from the Parent Website
When using the Embedded Integration method, an existing Google Analytics session on the parent page (your website) will automatically be passed into the form, so that the events are all associated with the same session. In order to enable support for these Pass Through sessions, you must enable Pass-Through Sessions within the Logiforms Google Analytics Configuration.
Test Your Integration
The best way to test your integration is to use the Real Time > Events menu in Google Analytics and then navigate through your form to see the events tracked in Real Time. Custom Dimensions are not shown in Google's Real Time Reporting. You'll need to wait up to 24-48 hours before this data is available within your reporting interface.
0 Comments