Site Search Tracking in Google Analytics
Site search tracking in Google Analytics is a feature that allows you to track and analyze the use of the internal search function on your website. With site search tracking, you can see how users are searching your site, what they are searching for, and how well your search results are meeting their needs. This information can help you make improvements to your site search function and improve the overall user experience on your website.
Enable site search tracking: In your Google Analytics account, go to the Admin section and select the property and view you want to set up site search tracking for. Then, go to the View Settings and enable the "Site Search Tracking" option.
Configure the search query parameter: Specify the query parameter that your site uses to pass search terms to the search results page. This is usually a character, such as "q" or "s", that appears in the URL of the search results page. Add the search query phrase that exists in between ? and = , so if your sites searches like below add "search" in
https://in.skillup.online/Courses/?search=chatgpt
Save the setup: Verify that the setup is correct by using the search function on your website and checking the site search reports in Google Analytics.
Here where you can see the data of search queries.
Under behaviour section --> Site search --> Overview , you will able to see all search queries that your site visitors have searched.