ViewedFilters
algoliasearch.insights.ViewedFilters
case class ViewedFilters(eventName: String, eventType: ViewEvent, index: String, filters: Seq[String], userToken: String, timestamp: Option[Long], authenticatedUserToken: Option[String]) extends EventsItemsTrait
Use this method to capture active filters. For example, when browsing a category page, users see content filtered on that specific category.
Value parameters
- authenticatedUserToken
-
User token for authenticated users.
- eventName
-
Can contain up to 64 ASCII characters. Consider naming events consistently—for example, by adopting Segment's object-action framework.
- filters
-
Facet filters. Each facet filter string must be URL-encoded, such as,
discount:10%25
. - index
-
Name of the Algolia index.
- timestamp
-
Time of the event in milliseconds in Unix epoch time. By default, the Insights API uses the time it receives an event as its timestamp.
- userToken
-
Anonymous or pseudonymous user identifier. > Note: Never include personally identifiable information in user tokens.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait EventsItemsTraittrait EventsItemsclass Objecttrait Matchableclass Any
Members list
In this article