---
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-03-31
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?

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/).