modify connection type for analytics