Is there any reason why
\layouts\system\VisitorIdentification.js file or whole
\layouts\system\ folder is missing on the Sitecore instance?
Sitecore 10.2 on my local and I can see this file, this file is missing on the test server. So I wondering does Sitecore provides some installation option that will not install this file or this file should always be present after any kind of Sitecore installation?