public static class TrackHelper.Search
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
TrackMe |
build()
May throw an
IllegalArgumentException if the TrackMe was build with incorrect arguments. |
TrackHelper.Search |
category(java.lang.String category)
You can optionally specify a search category with this parameter.
|
TrackHelper.Search |
count(java.lang.Integer count)
We recommend to set the search count to the number of search results displayed on the results page.
|
boolean |
safelyWith(MatomoApplication matomoApplication) |
boolean |
safelyWith(Tracker tracker)
build() can throw an exception on illegal arguments. |
void |
with(MatomoApplication matomoApplication) |
void |
with(Tracker tracker) |
public TrackHelper.Search category(java.lang.String category)
public TrackHelper.Search count(java.lang.Integer count)
public TrackMe build()
IllegalArgumentException if the TrackMe was build with incorrect arguments.public void with(MatomoApplication matomoApplication)
public void with(Tracker tracker)
public boolean safelyWith(MatomoApplication matomoApplication)