Attaching the tracker to a collar