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

patrickf4519157 28-10-2019

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.


Patrick Flynn

Mark Solution

Are these answers useful?
Help other community members by marking useful answers as accepted.

Accepted Solutions (0)

Answers (1)

Answers (1)

pabloc82923542 29-10-2019

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.