Google Analytics date regex is very specific
Closed this issue · 2 comments
lewisnyman commented
Hi, I was just testing out the date regex that strips PII from Google Analytics events. It seems like the regex only captures dates in the format: XXXX-XX-XX
My initial test was XX/XX/XXXX, which wasn't being caught. It might be worth making the regex a bit more flexible?
NickColley commented
Related conversation about flexibility: #466 (comment)
36degrees commented
Following the launch of the GOV.UK Design System, GOV.UK Frontend Toolkit will now only get major bug fixes and security patches, so I'm going to close this.
GOV.UK Design System (and GOV.UK Frontend) does not provide any analytics functionality, and as far as I know there are currently no plans to provide this either as part of Frontend nor as a separate library.