On your front and rear uprights there are two connectors, one is the brake pad wear sensor. The other is the speed sensor. You remove one bolt and pull the sensor out. make sure the hole the sensor inserts into is clean and you can see the reluctor rotating inside as you rotate the wheel. Also the sensor is magnetic and can become fouled by ferrous particles. Attached has the speed sensor. Usually recommended to remove while doing wheel bearings.
https://www.pelicanparts.com/catalog/SuperCat/1050/POR_1050_BRKHYD_pg4.htm#item17