Expand my Community achievements bar.

Join us for the next Community Q&A Coffee Break on Tuesday April 23, 2024 with Eric Matisoff, Principal Evangelist, Analytics & Data Science, who will join us to discuss all the big news and announcements from Summit 2024!
SOLVED

How to determine the page the user is on when conducting a search (and the search term)?

Avatar

Level 2

I have internal search term set up to capture the query but was wondering how I can determine what page the user was on when submitting the query.

Thanks,

Patrick Flynn

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Typically if the search result is displayed on a new page SERP. You could look at referring URL or capture a "previous page" s.prop or evar.

I also like to capture search term itself as an evar. as well, to allow you to see user behaviour after they perform a search.

gltu

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Typically if the search result is displayed on a new page SERP. You could look at referring URL or capture a "previous page" s.prop or evar.

I also like to capture search term itself as an evar. as well, to allow you to see user behaviour after they perform a search.

gltu