How to Track Google Analytics 4 Events With WordPress?

Key Takeaways

  • Nexter Blocks offers an Event Tracking extension that allows tracking of user interactions on a WordPress website using Google Analytics 4.
  • Users can add the Google Measurement ID in Nexter Blocks by navigating to Nexter u2192 Extra Options u2192 Settings and enabling the Add Event Tracking ID toggle.
  • Nexter Blocks provides options to track GA4 Recommended events or Custom events when setting up event tracking for buttons and forms.
  • Google Analytics 4 may take up to 24 hours to display tracked events, but users can use the Google Analytics Debugger Chrome extension for instant verification.
Table of Contents

If you want to gain deeper insights into user interactions on your WordPress website, tracking events with Google Analytics 4 (GA4) can provide valuable data. 

By monitoring specific actions like button clicks, form submissions, and video plays, you can better understand user behavior and optimize your website accordingly.

With the Event Tracking extension of Nexter Blocks, you can easily track events using Google Analytics on your WordPress website.

To check the complete feature overview documentation of Nexter Blocks Event Tracking extension, click here.

Requirement  – This extension is a part of Nexter Blocks, make sure it’s installed & activated to enjoy all its powers.

To track Google events on your Elementor website you need to have Google Analytics or Google Measurement id installed on your website.

How to Find Google Measurement id

Log into your Google Analytics account and follow the steps –

1. Click on Admin.

google measurement id 1

2. Click on Data Streams.

google measurement id 2

3. Then click on the property you want to get the measurement id of.

google measurement id 3

4. Then you’ll find the Measurement id. Copy the id and save it in a notepad.

google measurement id 4

Add Google Measurement id using Nexter Blocks

To add the Google Measurement id using Nexter Blocks, follow the steps –

Note: If you’ve added Google Analytics or Google Measurement id on your website using any other method or plugin then you don’t need to follow this step.

1. Go to Nexter Extra Options Settings.

2. Scroll down to the Add Event Tracking ID section, enable the toggle and click on the settings icon.

3. In the popup, add the measurement ID in the GA4 ID field and click on the Save button.

add google measurement id new

Once you’ve added the Google Measurement id, you can use buttons, forms or any custom links on blocks from Nexter Blocks to track events. So, for instance, add a button block from Nexter Blocks on the page.

1. Go to Advanced > Event Tracking

2. Turn on the Google Analytics toggle.

3. In the Event Type dropdown, you’ll find two options – 

  • Custom – From tracking custom events.

Here we’ll select Recommended

4. In the Select Event dropdown, you’ll find all the GA4 Recommended events.

event tracking add google event 4

Select the event you want to track. Suppose we want to track purchase events, so select Purchase from the dropdown.

5. Then, from the Event Properties section, you can add custom properties to the event.

Open the item here you’ll find two fields – 

Name – For adding a custom label to the event.

Value – For adding a custom value to the event.

You can click the + Add Properties button to add multiple custom properties.

Let’s suppose we are selling multiple e-books so we can add the book name and value in the Name and Value fields, respectively.

6. In Google Analytics 4, it can take up to 24 hrs to show the events in the analytics. So to check the event instantly to know if it is working or not, install the Google Analytics Debugger Chrome extension. 

7. Open the page in Chrome and turn on the Google Analytics Debugger extension. Reload the page and click on the button.

Note: Make sure your ad blockers are disabled, and you’re not using brave browser. You can also read steps to do if your debug view isnt working.

8. Now go to your Google Analytics then go to Admin > DebugView, here you’ll see the events live. You’ll also see your event’s custom properties.

google analytics track event

Also, read How to Track Facebook Pixel Events in WordPress.

About the Author

Photo of Aditya Sharma CMO of NexterWP
CMO at POSIMYTH Innovations · NexterWP · 7 years experience

He has spent years in the WordPress ecosystem building, breaking, and optimizing sites until they actually perform. He works at the intersection of speed, growth, and usability, helping creators ship websites that load fast and convert. An active WordPress community contributor sharing through tools, tutorials, and direct collaboration. Tested practice, not theory.

WordpressThemesElementorn8nAIClaudeAutomationServer

Share your Thoughts

Get Instant Answers to all your questions about Nexter Blocks,
Extensions & Theme trained on 1000+ Docs and Videos

Still in Doubt? Let’s Assist You

Have Feedback or Questions?

Join our WordPress Community on Facebook!

Related Frequently Asked Questions

What should I do if my Google Measurement ID isn't showing up?

If your Google Measurement ID isn't appearing, ensure that you have followed the steps to find it correctly in your Google Analytics account. Navigate to Admin > Data Streams and select the appropriate property. If you've already added the ID using another method or plugin, you don't need to repeat this step. Double-check that Nexter Blocks is installed and activated, as the Event Tracking extension is part of it.

What is the best way to ensure my event tracking works correctly?

To ensure your event tracking is functioning, use the Google Analytics Debugger Chrome extension. This tool allows you to see events in real-time by enabling the debug view in Google Analytics. After setting up your events, reload your page and interact with the tracked elements. If everything is set up correctly, you should see your events appear in the DebugView within 24 hours.

Are there any limitations when tracking events with Nexter Blocks?

One limitation to be aware of is that if you have already integrated Google Analytics or the Measurement ID through another plugin or method, you do not need to add it again using Nexter Blocks. This could lead to conflicts or duplicate tracking. Always ensure that only one method is used to avoid data discrepancies.

How do I find my Google Measurement ID for tracking?

To find your Google Measurement ID, log into your Google Analytics account and go to Admin. Click on Data Streams, then select the property you want to track. The Measurement ID will be displayed there, which you should copy and save for later use in Nexter Blocks.

Last reviewed: April 15, 2026

Related Docs