Match Regex

Community variable by analytics-engineers

What is Match Regex?

Search a string for a match against a regular expression, and return the first complete match or one of its related capturing groups.

Match Regex variable is created by analytics-engineers. Once you set up server side tagging with MetricsGate, you can use this variable with Google Tag Manager to enhance your data analytics.

This variable template is part of an open-source community, with its source code accessible on Github, and its documentation can also be found online.

You can check its version history below:

  1. Initial Version

More tags and variables supported

Tags

Variables

Join early adopters globally and leverage server-side tagging, GA4 custom events, and cookieless tracking to gain deeper insights and enhanced analytics data about your visitors!

Get Started now