Even easier, if the intent is to charge a tax per mile, simply record the mileage every year for inspection and registration renewal and charge based on the difference.
GPS trackers are a massive privacy overreach and people should not be okay with them. They are not necessary to levy road usage taxes.