Google Tag Manager Container ID allow 4 characters

Created on 12 September 2023, 10 months ago
Updated 21 February 2024, 4 months 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.69.0 2024