At ExactMetrics, we recommend using both Google Analytics property types UA and GA4 to track data for your WordPress site. This can be achieved using our Dual Tracking feature.
Follow this guide to learn how to set up Dual Tracking.
Find Your GA4 Measurement ID or UA Tracking ID
A GA4 property has a Measurement ID, which is in the format of G-XXXXXXXXXX.
To find your Measurement ID, go to Admin » Property » Data Streams and then click into the data stream:
A UA property has a Tracking ID, which is in the format of UA-XXXXXXXX-X.
To find your UA Tracking ID, go to Admin » Property Settings:
Getting started with Dual Tracking
We recommend that you connect ExactMetrics to your GA4 property, and insert your UA tracking ID as the Dual Tracking Profile.
This means your Measurement ID will be listed as the Active Profile,
Authenticating your GA4 property with ExactMetrics allows us to automatically create the custom dimensions required for some of our advanced tracking features to work within your GA4 property, such as Forms tracking, eCommerce tracking, Custom Dimensions tracking, and etc.
When setting up Dual Tracking, please make sure both your UA and GA4 property are under the same Google Analytics account.
Add Your Measurement ID or Tracking ID to ExactMetrics
You’ve located your Measurement ID or Tracking ID, now you can add it to ExactMetrics.
First, log into your WordPress site and go to ExactMetrics » Settings.
Under the Google Authentication section, you’ll see a Dual Tracking Profile option.
If you’re primarily connected with a GA4 property, copy your Tracking ID and then paste it into the option.
If you’re primarily connected with a UA property, copy your Measurement ID and then paste it into the option.
For GA4 properties, please remember to insert your Measurement Protocol API Secret value.
Once you insert the ID, the settings will be saved.
That’s it! You’re now dual tracking both a GA4 and UA property on your WordPress site.