How to Check AMP Traffic in Google Analytics 4?
If your site uses AMP pages, it's important to track how they perform compared to non-AMP traffic. In GA4, you can identify and analyze AMP traffic in three ways: using standard Reports, Explorations, or by creating a custom Segment.
1. Using Standard Reports
Step 1: Go to your GA4 property and click on “Reports” in the left-hand menu.
Step 3: Click “Add filter +”, then select the dimension “Page path + query string” and apply the filter:
contains /amp/
or /amp
— depending on your AMP URL structure (e.g., /amp/article-name
or /news/article-name/amp
).
Tip: If your AMP pages follow a different structure (e.g., ?amp=1
), use that as your keyword.
2. Using Explorations
Step 1: Click “Explore” in the left-hand menu.
Step 2: Start a new Free Form exploration.
Step 3: Add the following variables:
-
Dimensions: Page path + query string, Page title, Device category, Date (and others if needed)
- Metrics: Sessions, Views, other engagement metrics, etc.
Step 4: Configure the Tab Settings:
- Add Page path + query string or other dimensions to the Rows section
- Add desired metrics to the Values section
Step 5: In the Filter panel, create a filter:
Page path + query string contains /amp/
or /amp
depending on your AMP structure.
This setup will isolate AMP traffic and let you analyze it in more detail (e.g., by device, country, or engagement metrics).
3. Creating a Segment for AMP Traffic
To easily filter AMP traffic across different reports and explorations, you can create a reusable segment.
Step 1: Go to Admin → Data display → Segments, then click “New segment”
Step 2: Choose the segment type: User, Session (most common for AMP), or Event
Step 3: Add a condition:
Page path + query string contains /amp/
or /amp
, depending on your structure
Step 4: Name your segment (e.g., “AMP Traffic”) and click Save
You can now apply this segment in any report or exploration to isolate and analyze AMP traffic.
Summary
Method | Best For |
Reports | Quick checks and high-level metrics |
Explorations | Deep analysis and flexible visualizations |
Segments | Filtering AMP traffic across all GA4 views |