How do I track cash?

It's still best to log how you spent the cash.  You can log the cash withdrawal at the time you get the money, say $100, but don't put a category in.  Then, as you spend the money, log it, and update the $100 to the reduced amount as an ongoing reminder to keep track of the cash purchases.