Skip to content

Commit 73a47af

Browse files
committed
fix(@angular/cli): accept UA-00000-0 format in analytics tracking id
With this change we update the validation of the tracking id to accept tracking ids in `UA-00000-0` format. Partially addressses #21916 (cherry picked from commit f7d6a48)
1 parent 7b01a00 commit 73a47af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/angular/cli/lib/config/workspace-schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"tracking": {
7070
"description": "Analytics sharing info tracking ID.",
7171
"type": "string",
72-
"pattern": "^GA-\\d+-\\d+$"
72+
"pattern": "^(GA|UA)?-\\d+-\\d+$"
7373
},
7474
"uuid": {
7575
"description": "Analytics sharing info universally unique identifier.",

0 commit comments

Comments
 (0)