On May 14, 2023, the “Landing page” dimension in Google Analytics 4 will stop returning query strings included in the URL. For example, if the dimension returned /blog?search=term before the change, after the change, it will only return /blog.
What you need to do
To get the query string, you can use the new "Landing page + query string" dimension. However, this dimension is only compatible with a limited number of other fields. See the full list below.
ID | Display Name |
---|---|
activeUsers | Active users |
conversions | Conversions |
country | Country |
countryIsoCode | Country code |
date | Date |
engagedSessions | Engaged sessions |
eventCount | Event count |
eventName | Event name |
fullPageUrl | Full page URL |
hostName | Host name |
pageLocation | Page location |
pagePath | Page path |
pageTitle | Page title |
platform | Platform |
screenPageViews | Views |
sessions | Sessions |
totalUsers | Total users |
unifiedPageScreen | Page path, query string, and screen class |
userEngagementDuration | Total user engagement duration (sec) |
Note also that according to Google, the current "Landing page" dimension will be deprecated in the future. When this happens, we'll make sure your queries continue running with minimal disturbance.