0
Fixed

Issues with Regex Validation in GTM

Henrik Söderlund 5 years ago updated 5 years ago 7

The regex validation is not working on my end - is this a conflict with other extensions, or something else? See error message below.

Image 155

Answer

Answer
Fixed

Fixed! It was caused by the closure compiler I use to optimize the code before releasing a new version.

Version 2019.8.13 is awaiting Google's approval and will be deployed shortly.

Started

I will check this out right away

Fixed

Thanks for bringing that up! Fixed for the next release!

Thanks for the update. It now seems that there is no validation running at all. Basically, whatever I type in the trigger condition (matches regex), nothin happens, no popup, nor messages showing. 

Started

Just tested again - works fine on my end. Can you check in the browser console if there's any error message.

UPDATE: It seems I'm able to reproduce the problem sometimes, I will investigate.

Answer
Fixed

Fixed! It was caused by the closure compiler I use to optimize the code before releasing a new version.

Version 2019.8.13 is awaiting Google's approval and will be deployed shortly.

Thanks for your updates. With the new 8.13 update, it seems to work! 

The Regex table variable screen seems to present some new issues with the placement of the validation itself, see below: