Google Tag Manager Container ID allow 4 characters

Created on 12 September 2023, over 1 year ago
Updated 21 February 2024, about 1 year ago

Hello,

we have some pretty legacy container ID, which is GTM-XXXX and form validates for 5+ characters. Please allow 4+ characters :)

Thank you

const GOOGLE_TAG_MATCH = '(?:GT|UA|G|AW|DC|GTM)-[0-9a-zA-Z]{5,}(?:-[0-9]{1,})?';

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡¨πŸ‡ΏCzech Republic parisek

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024