I have a firebase app with analytics and the default hosting (i.e. myproject.firebaseapp.com). Now I want to use my own domain (i.e. myproject.com) for this firebase app.
My question is, do I need to change anything in analytics setup? Would it keep the previous data and add the new ones? Or I would lose the historical data altogether?
Thank you.
The analytics data is tied to an app in the project, and not to a specific domain name. When adding a custom domain name, all you're essentially doing is adding an alias for the existing app(s). So all data will (or at least should) be maintained.