GPS tracker with magnetic mount