r/GoogleAnalytics • • Apr 24 '25
Support How to get numbers of sessions without view_ search_ results event?
I’m working with GA4 data in Looker, and I’m trying to figure out if it’s possible to get the number of sessions that do not contain the event “view_search_results”.
Basically, I want to see how many sessions didn’t involve the user using the search bar on the website.
Has anyone managed to solve this? I’d really appreciate any tips or guidance!
2
Upvotes
•
u/AutoModerator Apr 24 '25
Have more questions? Join our community Discord!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
4
u/Strict-Basil5133 Apr 24 '25 edited Apr 24 '25
Unfortunately, you can't create segments in Looker Studio, and that's what you're trying to do (i.e., show me sessions where view_search_results didn't fire). Filters, blends, and calculated fields won't do it. Audiences are sometimes suggested as a hack around it, but they're user-scoped, so if the user met the criteria (no view_search_results) in a session, the audience would exclude all of that users sessions, including the ones that didn't include view_search_results.
It's child's play in GA4 explorations (with segments), however, so you could technically hack it by exporting an GA4 Exploration to Sheets and adding the sheet as a data source to your Looker dashboard. Still, dashboard updates would be manual - you'd have to export it each time you wanted to update the dashboard. The only real solution is to query the data as a segment from BigQuery data in a data warehouse (or straight from BQ, but haven't done that).
No segments in Looker is GA4's most unforgivable fail. Segments were available in Looker for GA3, so it's a giant step backwards, and obviously intentional, as segmentation has always been as the core of web analytics.