Learn business growth with Google Analytics 4 Forums Google Analytics 4 Creating a Filtered GA4 Custom Report for Multiple Event Names

  • Creating a Filtered GA4 Custom Report for Multiple Event Names

    Posted by John on 23 April 2022 at 9:27 am

    I’m trying to whip up a report that shows 20 custom triggers for events. I’m using a filter called Matches Regex, but it seems there’s a letter limit, and it’s only allowing 9 of my events through.

    I could really use a hand with this – does anyone know how I can make this custom report? Thanks in advance.

    By the way, I’ve already tried making a custom report using a filter to match a regex.

    Isabella replied 11 months, 2 weeks ago 3 Members · 2 Replies
  • 2 Replies
  • Lincoln

    Member
    11 March 2023 at 10:30 am

    Looks like you’ve bumped into GA4’s character limit for regular expressions, which tops off at 256 characters. If your expression runs over this, it’s likely the culprit behind why you’re seeing less events come through than expected.

    But don’t worry, there’re a few workarounds to this. One method is to use Looker Studio where you can handle your data filtering. If Looker isn’t an option, you could also consider importing the data to a spreadsheet tool like Excel or Google Sheets. From there, you can manage your computations in a more unrestricted environment.

    Hope this helps and best of luck with your custom reporting!

  • Isabella

    Member
    24 April 2023 at 6:51 pm

    It seems like you’re dealing with a problem related to the maximum string length that a regex can handle. One potential solution could be to break down your events and create separate filters for each one, rather than trying to fit all 20 events into one filter. Alternatively, you might want to review your regex to see if it can be simplified or optimized in any way to reduce the length. In some cases, you might also be able to use other matching rules that are less strict than regex. If feasible, you may explore using an event-tracking platform that does not have this length limitation. These are general suggestions and you would have to see what works best in the context of your report.

Log in to reply.