After changing the domain, statistics stopped working. Tell me how to solve the problem. Thanks. Perhaps you need some additional actions when moving to a new domain? I just changed my domain :)
Re-registering the API key returns the key that was on the old domain.
Delete everything in the /cache/ folder apart from the .htaccess file.