Moving client metrics actions from controllers to views because, well, that's where the actions take place.