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,})?';

Issue fork google_tag-3386714

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

parisek created an issue. See original summary.

parisek’s picture

Assigned: parisek » Unassigned
Status: Active » Needs review

japerry made their first commit to this issue’s fork.

  • japerry committed 74299497 on 2.0.x authored by parisek
    Issue #3386714: Google Tag Manager Container ID allow 4 characters
    
japerry’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.