Reported in Forum and this is indeed a logic fault: we should credit the Site Search kwd/cat/count from the Tracking API Parameters, and if they are not found, use the URL query string and look for parameters.
(In [7347]) Fixes #3502 Logic fix & tests