Do you have their app on your cell phone?
What Restaurant Apps Are Tracking on Android Smartphones
https://table.skift.com/2018/12/12/what-restaurants-are-tracking-on-android-smartphone-apps/
Why McDonald’s Is Looking To Track Customer Data
https://www.forbes.com/sites/greatspeculations/2017/04/13/why-mcdonalds-is-looking-to-track-customer-data/#5ac67ac335fb
Don't know, I wouldn't have installed it.
I have their apps on both Android and ios, have breakfast at McDonalds six days a week, and have never received a message or notification like that. I don’t do mobile ordering but, of course, that might trigger it.