Track Email Opens in Google Analytics 4 | BCS Track Email Opens in Google Analytics 4 | BCSBCS

Track Email Opens in Google Analytics 4

Google Analytics BCS 2 months ago (06-04) 354 Views 0 Comments

In GA3, we use the Measurement Protocol to track email openings.

In GA4, the Measurement Protocol API has become complicated and needs to be converted before it can be sent to GA4, this is a bit difficult for most people.

In fact, in GA4, we can still use the method of GA3 to track the opening of emails.

Use “v=2” to filter in the browser developer tools and find the request starting with “collect”, this is the data sent to GA4.

Track Email Opens in Google Analytics 4

 

This request seems very long, but in fact many fields can be omitted. We mainly focus on three fields:

  • cid: This is the Client ID and needs to be replaced with the user’s actual Client ID.
  • en: event name, this is the event name, change it to aaa here
  • ep: event parameter, this is the event parameter, no modification is required here.

The modified request is inserted into the email in the form of img, and some hidden styles are added:

Track Email Opens in Google Analytics 4

 

The final effect is that the img cannot be seen in the email:

Track Email Opens in Google Analytics 4

 

Send the email, and when a user opens it, you can see the event aaa in the real-time report of GA4:

Track Email Opens in Google Analytics 4


If you don't understand, You can leave a comment below.
Like (0)
Post my comment
Cancel comment
Expression Bold Strikethrough Center Italic

Hi, you need to fill in your nickname and email!

  • Nickname (required)
  • Email (required)
  • Website