They are cheap and easy to mount. You can also make your own one with a simple hall effect sensor, preferably a dual channel one.
Mount it close to one of the wheels and then glue some neodymium magnets along the rim. I made my own encoders this way and they are very reliable.

//Kinematics::pwm req_pwm; use this to declare req_rpm if you're using the most recent release
Kinematics::output req_pwm;
req_pwm = kinematics.getPWM(g_req_linear_vel_x, g_req_linear_vel_y, g_req_angular_vel_z);
//the required rpm is capped at -/+ MAX_RPM to prevent the PID from having too much error
//the PWM value sent to the motor driver is the calculated PID based on required RPM vs measured RPM
motor1.spin(req_pwm.motor1);
motor2.spin(req_pwm.motor2);
motor3.spin(req_pwm.motor3);
motor4.spin(req_pwm.motor4); 