Boat Tracking Device Recommendation

Hiding a tracker on a 24 foot boat is going to be a challenge.
First things first, make sure your VHF is set up connected to a GPS and programmed with a MMSI and set to answer position requests. You just might get stupid thieves who have no idea about DSC and just use the radio as-is.
Likewise besides for being useful to you, thieves may have no idea that having AIS on is bad or even what it is.
Lastly, you can get one of these things and hide it. There are about 1,001 versions of these things all over Amazon and FleaBay. YMMV, I have not used nor tested any of them.