public doTrackSiteSearch ( string $keyword, string $category = '', boolean | integer $countResults = false ) : mixed | ||
$keyword | string | Searched query on the site |
$category | string | (optional) Search engine category if applicable |
$countResults | boolean | integer | (optional) results displayed on the search result page. Used to track "zero result" keywords. |
return | mixed | Response or true if using bulk requests. |
public function doTrackSiteSearch($keyword, $category = '', $countResults = false)
{
$url = $this->getUrlTrackSiteSearch($keyword, $category, $countResults);
return $this->sendRequest($url);
}