Changing the custom domain does not affect historical data. All previous emails and analytics remain accessible in Campaign Studio.