Google Analytics 4 (GA4) has introduced support for AMP, allowing publishers to continue measuring their performance in the same way as Universal Analytics (UA) when the forced migration to GA4 takes place. This update ensures a seamless transition for publishers when UA is retired. Failure to implement this support would have caused tracking issues for publishers using AMP. To learn more about migrating to GA4 and implementing AMP integration, Google provides guides with detailed instructions.
source: GA4 launches AMP support