Simple Analytics allow to integrate a site analysis code easily.
User can use internal tracking system (Very simple) and / or integrate a Google analytics code, Piwik analytics code or any other custom code.
This is due to trusted host configuration of the serveur. It can produce when you change the domain name or 'trusted_host_patterns'. To resolve the probleme, add your new domain to the DRUPAL_ROOT/sites/SITE_FOLDER/settings.php (Ex: sites/defaults/settings.php)
Exemple: $site_name = \Drupal::config('system.site')->get('name');
// Set the site name.
\Drupal::configFactory()->getEditable('system.site')->set('name', 'My site')->save();