Google Analytics 4 is the next-generation measurement solution, and will be replacing Universal Analytics. On July, 2023, Universal Analytics properties will stop processing data.
If you are still using Universal Analytics, you should switch to Google Analytics 4 as soon as possible. You should also be aware that there is no way to migrate the data from Universal Analytics (GA3) to Google Analytics 4 (GA4).
While there is no straight forward solution to track AMP pages with Google Analytics 4, at the moment, Analytics Insights (AIWP) is a WordPress plugin that has an experimental feature that enables this kind of tracking.
Enable AMP page tracking with Google Analytics 4
To enable AMP (accelerated mobile pages) tracking with Google Analytics 4 on Analytics Insights plugin, follow these steps:
- If you haven’t already installed the plugin install it from here, activate it, and follow these steps.
- If you already have the plugin installed and configured, go to your WordPress admin area.
- On the left menu click on Analytics Insights > Tracking Code.
- In the Google Analytics Tracking Code screen, select the Integration tab.
- Switch on the enable tracking for Accelerated Mobile Pages (AMP) option.
Available features for AMP page tracking with GA4
Here’s a list of features that Analytics Insights (AIWP) plugin provides for AMP page tracking on WordPress:
- basic AMP tracking with Google Analytics 4
- events tracking: downloads, emails, affiliate links, telephone calls, form submits, and hashmarks
- custom dimensions tracking: author, user type, publication year and month, category, and tags
- other advanced features