---
title: "How to Track Google Analytics 4 Events With WordPress?"
url: https://nexterwp.com/docs/track-google-analytics-events-with-wordpress/
date: 2023-07-01
modified: 2026-08-18
author: "Aditya Sharma"
description: "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..."
image: https://nexterwp.com/wp-content/uploads/2024/05/track-google-analytics-events-with-wordpress-1024x519.jpg
word_count: 597
---

# How to Track Google Analytics 4 Events With WordPress?

## Key Takeaways

- Nexter Blocks Event Tracking extension tracks GA4 events on WordPress websites for actions like button clicks, form submissions, and video plays.
- Google Measurement id is added in Nexter → Extra Options → Settings by enabling Add Event Tracking ID and entering the ID in the GA4 ID field.
- Nexter Blocks button blocks support Advanced > Event Tracking, where the Google Analytics toggle turns on Recommended or Custom event types.
- Google Analytics 4 can take up to 24 hrs to show events, and Admin > DebugView shows events live with custom properties after using the Google Analytics Debugger Chrome extension.

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](https://nexterwp.com/docs/add-event-tracking-in-wordpress/).

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

[LIVE BLOCK LINK](https://nexterwp.com/nexter-blocks/extras/wordpress-ga4-event-conversion-tracker/)

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](https://analytics.google.com/analytics/web) account and follow the steps -

1. Click on **Admin**.

![google measurement id 1](https://nexterwp.com/wp-content/uploads/2023/07/google-measurement-id-1.png)

2. Click on **Data Streams**.

![google measurement id 2](https://nexterwp.com/wp-content/uploads/2023/07/google-measurement-id-2-1.png)

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

![google measurement id 3](https://nexterwp.com/wp-content/uploads/2023/07/google-measurement-id-3.png)

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

![google measurement id 4](https://nexterwp.com/wp-content/uploads/2023/07/google-measurement-id-4.png)

## 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.

![](https://nexterwp.com/wp-content/uploads/2023/07/add-google-measurement-id-new.png)

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 - 

- **Recommended** - For tracking the [GA4 Recommended events](https://support.google.com/analytics/answer/9267735?hl=en).

- **Custom** - From tracking custom events.

Here we’ll select **Recommended**. 

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

![](https://nexterwp.com/wp-content/uploads/2023/07/event-tracking-add-google-event-4.gif)

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](https://chrome.google.com/webstore/detail/google-analytics-debugger/jnkmfdileelhofjcijamephohjechhna) 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*](https://www.analyticsmania.com/post/debugview-in-google-analytics-4-not-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](https://nexterwp.com/wp-content/uploads/2023/07/google-analytics-track-event.gif)

Also, read [How to Track Facebook Pixel Events in WordPress](https://nexterwp.com/docs/track-facebook-pixel-events-in-wordpress/).

## Frequently Asked Questions

**Q: Why are my GA4 events not showing up in Google Analytics right away?**
A: GA4 event data can take up to 24 hours to appear in Google Analytics, so a delay is normal. For instant testing, the page recommends using the Google Analytics Debugger Chrome extension and checking Admin &gt; DebugView. If the event still does not appear, the page also notes that ad blockers should be disabled and Brave should not be used, since both can interfere with debug tracking.

**Q: What do I need before I can track Google Analytics events with WordPress?**
A: The key requirement is a Google Analytics or Google Measurement id on your website. The Nexter Blocks Event Tracking extension also has to be installed and activated because it is part of Nexter Blocks. That matters because the event tracking controls live inside Nexter → Extra Options → Settings, and without the measurement ID there is nothing for GA4 to receive.

**Q: How do I find my Google Measurement ID in Google Analytics?**
A: The Measurement ID is found inside Google Analytics under Admin &gt; Data Streams. From there, open the property you want the ID for and copy the Measurement ID shown there. That ID is what Nexter Blocks uses in the GA4 ID field, so grabbing the right property matters if you manage more than one stream.

**Q: Can I track button clicks, forms, and custom links on WordPress with this setup?**
A: Nexter Blocks Event Tracking supports buttons, forms, and custom links on blocks from Nexter Blocks. The page also says you can track specific actions like button clicks, form submissions, and video plays with GA4. That makes it useful when you want event data tied to actual interactions instead of just page views.

**Q: Should I use Recommended events or Custom events for GA4 tracking?**
A: Recommended events are the better starting point when your goal is standard GA4 reporting, because they map to GA4 Recommended events already listed in the dropdown. Custom events are there when you need your own event naming or behavior. The page’s example uses Purchase as a Recommended event, which is a good fit when you want cleaner analytics without inventing your own structure.

**Q: How do I test whether a GA4 event is working in WordPress?**
A: The fastest check is DebugView in Google Analytics. The page says to install the Google Analytics Debugger Chrome extension, open the page in Chrome, turn on the debugger, reload, and click the tracked button. Then go to Admin &gt; DebugView to see live events and their custom properties. That workflow is useful because it confirms both the event and any Name and Value properties before waiting for normal GA4 reporting.
