Using regular expressions in GA4 || RegEx in GA4

preview_player
Показать описание
Regular expressions in Google Analytics 4 (RegEx) work differently than in the previous GA version (Universal Analytics).

In this video, I will show you the main difference and how to overcome the limitation.

Also, if anyone from Google reads this (I doubt this will happen), please add more support for RegEx in GA4 (e.g. in the search field of standard reports).


=== LINKS ===

⭐⭐ Google Analytics 4 course ⭐⭐

📕 Free e-book: Getting Started with Google Analytics 4

📕 Free e-book: 8-step migration to Google Analytics 4

=== CONNECT WITH JULIUS & ANALYTICS MANIA ===

#googleanalytics #googleanalytics4
Рекомендации по теме
Комментарии
Автор

Thank you Julius, this one had me scratching my head for quite some time, to the point where I was avoiding regex in GA4! Another great video!

samgooch
Автор

I wish I could give this two thumbs up. I've been beating my head against a wall trying to use the old way of RegEx for multiple partial matches and apparently just didn't search the right terms. THANK YOU!

dylanrodgers
Автор

Hi Julius, thanks for the step-by-step guide. Will always come and check your videos when I have GA4-related questions!

adascott
Автор

This is exactly what I’ve long needed. Thank you!

fluxedge
Автор

I personally liked all your videos . Planning to buy your GTM course in next 2 3 days

drishanvig
Автор

Hi Julius - another great video! I've been having real issues with RegEx in the exploration reports. There doesn't seem to be am Exclude match RegEx option available to filter out data. Also, I've been having a mare with Custom Dimensions showing as (not set) in these reports. Any idea where I am going wrong?

victoriaspall
Автор

Hi, Julius. Thanks for your helpful videos. If you don't mind, please consider making a video about lifetime value chart Inside GA4? I can't find any good quality video explanation about it on YouTube. I believe it is really important chart so I have to get the correct interpretation

agung_laksana
Автор

When building the segments is matches regex case sensitive?

denis
Автор

How do I create a report in GA4 that displays traffic for a specific set of pages using regex? For instance, we have a section of our website titled "Model Practices & Innovations" that contains approximately 20 pages. I need a report that displays traffic only for those 20 pages. BTW, I was able to create this report using regex in GA UA.

LegalServicesCorp
Автор

Great video! Any help on match RegEx in google analytics 4? I can't find a way to filter out my posts into groups by page path and create reports like I would in UA. They give you a drop-down in the filter of posts you can click, but not all posts appear to click even when searching. I have reached out to Google support and two months in and no resolve and they basically blew me off. ☹

melissatumino
Автор

Can we match the following UTM campaign value: using the regex match -11-(?=\d{1, 2}-\d{2}) in exploration report? I tried this and doesn't seem to yield the result. I also tried using just the digits match, both \d and [0-9] variations but even that doesn't seem to work in exploration reports? Am I missing something?

abhishekpuvvada
Автор

The "OR" or | doesn't seem to work at all though. I am using a part of my url 474233|474482 and running page location and it shows 0 results within a segment or filter - it's bizarre.

anandmadhavan
Автор

Anyone is creating RegEx using chatgpt?

PomaranczaPoczestujSie
Автор

Thanks for the video but GA4 sucks. The fact that you can't use Regular Expressions on everything is ridiculous. I hope google plans on adding it everywhere. Especially on report filters. Unreal that it doesn't accept regex and to make it worse they don't have an option to do OR instead of just AND. So you can't put a string in the filter and include all then another matching condition. We can do AND and add another but then you can't use the same dimension.

bradleymyers