Google Analytics 4 Migration Guide
Migrating from Universal Analytics to GA4 within logiforms is a straight forward process, and this guide will provide you with easy-to-follow steps. Note, this guide assumes you have already setup your GA4 property and have a Data Stream and Measurement ID ready to update within logiforms.
What has Changed
When you enter your Measurement ID in the Google Analytics Configuration wizard (pictured below) and click save, your form will automatically start using the new gtag and new configuration.
There are only a few differences:
- Dimensions now support labels. For each dimension, you can now define the labels. Note that this is optional
- There is no longer a non-interaction checkbox/flag.
- For cross-domain session tracking for linked and embedded forms, there are a few changes required to ensure cross-domain tracking continues to work
- The New Debug option prints debugging statements to the console and also logs to the Debug View in Google Analytics. This is also an optional feature.
Getting Started
We recommend you start by adding forms.logiforms.com to the domains you are tracking under the data stream you will be using with logiforms.
The only time you should not do this is if you are an Enterprise Plus / private domain customer, in which case you should add your custom white label domain. Unless it is a subdomain of your primary domain, in which case Google will track those sessions as one automatically.
This article explains how to set this up in Google Analytics. Be sure to add your primary domain and forms.logiforms.com under the Data Stream you will use in the next step.
Setting up Labels for Custom Dimensions
If you are using custom dimensions, you may optionally add labels for each event and dimension you are recording within Logiforms and also within Google Analytics as Custom Definitions. Setting them up in GA is optional, but can be useful for reporting.
Adding your Measurement ID
Next, add your Measurement ID in the Google Analytics Wizard. This should be the same measurement ID you are using on the parent page when the form is embedded.
Don't Forget!
Adding your Measurement ID and Setting up Labels for Custom Dimensions must be done on each form where you are using Google Analytics.Conversion Tracking
While not required, we recommend you set up the "Form Processed" Event as a conversion in Google Analytics to be able to easily see form conversions.
Cross Domain Session Tracking
When you are using an embedded form, logiforms will communicate up to the parent page and get the session_id and client_id and use these values to maintain the session state with the parent page. There is nothing you need to do differently. However, the parent page must be using the same Google Analytics 4 gtag and the same Measurement ID.
Using Debug Mode and Debug View
Check the debug checkbox in the Google Analytics Wizard and you'll be in debug mode. When enabled, you'll be able to use DebugView in the admin tools to debug your setup.
0 Comments