Skip to content

Commit

Permalink
fix(@angular/cli): accept UA-00000-0 format in analytics tracking id
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
alan-agius4 committed Oct 13, 2021
1 parent 7b01a00 commit 73a47af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/angular/cli/lib/config/workspace-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"tracking": {
"description": "Analytics sharing info tracking ID.",
"type": "string",
"pattern": "^GA-\\d+-\\d+$"
"pattern": "^(GA|UA)?-\\d+-\\d+$"
},
"uuid": {
"description": "Analytics sharing info universally unique identifier.",
Expand Down

0 comments on commit 73a47af

Please sign in to comment.