mirror of
https://github.com/discourse/discourse.git
synced 2025-03-15 02:29:49 +08:00
FIX: support new Google Analytics id format (#11067)
They start with UA- or G- now.
This commit is contained in:
parent
d10b6dc498
commit
c5eba3f9ee
@ -142,7 +142,7 @@ basic:
|
||||
ga_universal_tracking_code:
|
||||
client: true
|
||||
default: ""
|
||||
regex: "^UA-\\d+-\\d+$"
|
||||
regex: "^(UA|G)-[\\w-]+"
|
||||
ga_universal_domain_name:
|
||||
client: true
|
||||
default: "auto"
|
||||
|
Loading…
x
Reference in New Issue
Block a user