Disable automatic search

Hi, I want to disable automatic search data collection and send manual search data. Is there a way to disable this or remove a parameter?
image

The reason is I want to send the number of search results.

The documentation says this:

“If you can’t or don’t want to rely on automatic site search detection from URL parameters, call trackSiteSearch function instead of trackPageView on the search results page. Using both methods might result in a duplication of site search events.”

However I want to collect regular page view data on the page. I just want to send the search data with the trackSiteSearch function separately.

Hi @onderval,

You can find option to remove parameters from search recognition here:
Menu > Administration > Settings > Global site & app settings > data collection > Internal search engine

Best,
Oliwer

Hi @Oliwer_Kaczmarek, I know but I can’t delete any existing parameters.
image

And I have owner access.

Am I missing something?

The keywords that were created in global settings can’t be changed per site. The ones that you want to change are in global settings.
So here’s how to handle situation like that (I’ll use “search” in this example):

  1. Remove “search” from global settings.
  2. Add “search” in site settings for each site that you want to track this as search still.

Best,
Oliwer

Understood. Thank you. trackSiteSearch() is enough, right? I don’t need to send a page view after that?

If you can’t or don’t want to rely on automatic site search detection from URL parameters, call trackSiteSearch function instead of trackPageView on the search results page. Using both methods might result in a duplication of site search events.

Best, Oliwer