Sucherergebnisse filtern bzw. Parameter anpassen

Hallo,

die Suchfunktion in einer unserer Anwendungen ergibt in den Suchergebnissen von Matomo folgendes:

{“query”:{“bool”:{“must”:[{“query_string”:{“query”:“okilidokili”,“default_operator”:“AND”}}

wobei “Okilidokili” das eigentlich gesuchte ist. Weiß jemand zufällig was man in den Parametern hinterlegen kann so das nur das gesuchte in den Ergebnissen erscheint?

Danke im Voraus.

MFG

You see this in the site search report?

Hello,

yes:

This comes from a Mediawiki with the Bluespice Extension. In Mediawiki without the Extension it looks good und we see only the Search. Unfortunately we need the extension.

Regards

This must appear in the URL, although I don’t understand how this is getting into site search. If it is getting picked up by a query parameter, you can disable these is in the keywords config. Enable Site Search tracking for my website FAQ - Reports - Matomo Analytics Platform it looks like this is partially JSON with the rest missing maybe? You would want to parse that on your side and manually track the keyword with something like:

_paq.push(['trackSiteSearch',
    'Banana',       // Search keyword
    'Organic Food', // Search category
    0               // Number of results
]);

Hello Jason,

thanks for the Help, we will try this.

Regards