In my past 40' catamaran, I used a cellphone app. The GPS below deck sucked and kept giving false alarms. Samsung Galaxy note 8. I made the alarm circle larger and larger as each false alarm woke me up. I ended up making a very large circle. Ended up like 50' from dragging on an island. Wow, close.
This Jan, I went to Florida keys.
I decided to use my new Garmin GPSmap 86 which has a much better antenna. It has a basic drag alarm, but is not very loud. No false alarms, but not enough volume to make me wake up.
I also used my cellphone GPS app again due to quiet Garmin (galaxy note 10+) and it keeps giving false alarms down stairs and I didn't get much sleep. I ended up leaving my very loud phone on the dash for better reception (was better, not perfect).
I then got a new AIS (versper marine). It uses an external GPS on the mast so it should always have a good signal. I have not tested it, but under my metal roof, laying down sideways, it gets 3-4 satellites. The vespar has it's own internal WIFI network that will send the GPS signal to the Vespar anchor alarm app on my phone. So it does not use my cellphone GPS. It also has outuputs for an external loud alarm (and silence button) which I mounted in the bedroom of my C30 which will wake me up, but hopefully not due to false signals from the very good external GPS antenna.
As a note, unlike my C30 factory AIS 600, the Vesper will pass its GPS signal to the NEMA network so all my instruments will benefit from the external high gain antenna. The factory Garmin AIS 600 also has an external antenna, but does NOT share the GPS to the network and does not have anchor alarm or WiFi either.
I upgraded my anchor also. I'm overly paranoid about dragging though due to my one bad experience and crappy cellphone GPS reception down stairs.