Fixing analytics loading when the class name is a unicode string