I keep track of my calories every day, every meal, every snack from a very long time. It's very rare to not have the phone or another device close when I'm eating or after the meal, even if offline I'll send a WhatsApp message to myself and it will be sent when im back online.
In the very rare occasions I don't have a phone I vividly remember what I've eaten and will record it later.