How to Set Up Dual Tracking

In October 2020, Google officially released its newest property type called Google Analytics 4 (GA4). To get you ready for the transition to GA4, you can now add your GA4 Measurement ID to MonsterInsights while also being primarily authenticated into a Universal Analytics property.

This is called Dual Tracking and it allows you to begin tracking your website’s activity in a GA4 property while maintaining stats in your UA property.

In this article, you’ll learn how to find your GA4 Measurement ID and add it to MonsterInsights to set up Dual Tracking. We’ll also cover how to test if your Dual Tracking is working.

Find Your GA4 Measurement ID

To get started, you’ll need your GA4 property’s Measurement ID. If you already have it, you can skip to the next section.

A Measurement ID starts with a capital G and a hyphen (G-) followed by a string of up to 10 characters. These characters can be numbers and letters.

Format: G-XXXXXXXXXX

Example: G-NVMH1T3GEK

To find your GA4 Measurement ID, go to Admin » Property » Data Streams. Click on a data stream. The Measurement ID shows up in the stream details after the Stream URL and Stream Name.

Add Your Measurement ID to MonsterInsights

Now that you have your Measurement ID, you can add it to your WordPress site using MonsterInsights.

In your WordPress admin menu, navigate to Insights » Settings.

Find the Dual Tracking Profile section. Copy your Measurement ID and then paste it where it says Enter your V4 Web Stream ID. See the screen capture below.

Remember to click Save Changes you’re done.

Verify That Dual Tracking Is Working

It can take 24-48 hours for stats to show up in your GA4 reports. In the meantime, here are 3 ways to see if your Dual Tracking setup is working.

1. View your page source

On your web browser, bring up any page from your website. Right-click on the page. Select View Page Source.

Scroll past the comment, “This site uses the Google Analytics by MonsterInsights plugin …”

Then, look for the following code that will have your Measurement ID instead of the placeholder.

__gtagTracker(  'config',

'G-NVMH1T3GEK',

{"forceSSL":"true",

"Link_attribution":"true",

"page_path":"location.pathname + location.search + location.hash"} );

If you see that code snippet, MonsterInsights added your Measurement ID correctly, and your dual tracking is all set.

2. Check your GA4 Realtime report

Log into your Google Analytics 4 property and click Realtime in the sidebar navigation.

Open a completely different (incognito/private) browser or use another device to browse your site while not logged in.

You should have 2 browser windows open at the same time.

  • One incognito/private browser window where you are not logged in and viewing your site’s pages.
  • In the other browser, you have your GA4 Realtime report page open.

Navigate to a couple of your website’s pages so you can see updates to the Realtime report.

If the report shows your page visits, events, or map location, then your dual tracking is working.

3. Use the GA4 DebugView

GA4 comes with a DebugView. First, you’ll need to turn on Google Analytics debug mode on your device or browser for the DebugView to work. Ensure you’re not logged in and using an incognito/private window when you browse your site.

Once debug mode is on, in another window, you can head over to GA4. Open DebugView under Configure on the sidebar.

Just like the Realtime report, visit a couple of pages to see updates to the DebugView.

If you see your activity recorded in the DebugView seconds’ stream (see the middle column below), your dual tracking is good to go!

Learn more about the new DebugView on Google’s help page.

That’s it! You learned how to set up Dual Tracking in MonsterInsights and how to verify that Dual Tracking is working for your GA4 property.

What’s next? Learn about the differences between a Google Analytics 4 property and a Universal Analytics property.