code: def collect(self):
          
          from dvc.scm import SCM
          from dvc.utils import is_binary
          from dvc.repo import Repo
          from dvc.exceptions import NotDvcRepoError
  
          self.info[self.PARAM_DVC_VERSION] = __version__
          self.info[self.PARAM_IS_BINARY] = is_binary()
          self.info[self.PARAM_USER_ID] = self._get_user_id()
  
          self.info[self.PARAM_SYSTEM_INFO] = self._collect_system_info()
  
          try:
              scm = SCM(root_dir=Repo.find_root())
              self.info[self.PARAM_SCM_CLASS] = type(scm).__name__
          except NotDvcRepoError:
              pass
docs: Collect analytics report.