Restores Google Analytics support: fixes #3828