sendSearchWithKeyword
The sendSearchWithKeyword() method tracks searches on your internal search engine.
Syntax
[[PiwikTracker sharedInstance]
sendSearchWithKeyword:@"keyword"
category:@"category"
numberOfHits:@(searchCount)];
Parameters
keyword (string, required)
The keyword the user typed into the search box.
category (string | array, optional)
The category selected in the search engine.
searchCount (number, optional)
The number of search results.
Examples
To send an internal search with the keyword "ATM in London" and 20 search results, but no category:
[[PiwikTracker sharedInstance]
sendSearchWithKeyword:@"ATM in London"
category:@""
numberOfHits:@20];
Updated 6 days ago