Package com.algolia.model.insights
Class ViewedFilters
java.lang.Object
com.algolia.model.insights.ViewedFilters
- All Implemented Interfaces:
EventsItems
Use this method to capture active filters. For example, when browsing a category page, users see
content filtered on that specific category.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.algolia.model.insights.EventsItems
EventsItems.Deserializer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddFilters(String filtersItem) booleanIdentifier for authenticated users.Event name, up to 64 ASCII characters.Get eventTypeApplied facet filters.getIndex()Index name (case-sensitive) to which the event's items belong.Timestamp of the event, measured in milliseconds since the Unix epoch.Anonymous or pseudonymous user identifier.inthashCode()setAuthenticatedUserToken(String authenticatedUserToken) setEventName(String eventName) setEventType(ViewEvent eventType) setFilters(List<String> filters) setTimestamp(Long timestamp) setUserToken(String userToken) toString()
-
Constructor Details
-
ViewedFilters
public ViewedFilters()
-
-
Method Details
-
setEventName
-
getEventName
Event name, up to 64 ASCII characters. Consider naming events consistently—for example, by adopting Segment's [object-action](https://segment.com/academy/collecting-data/naming-conventions-for-clean-data/#the-object-action-framework) framework. -
setEventType
-
getEventType
Get eventType -
setIndex
-
getIndex
Index name (case-sensitive) to which the event's items belong. -
setFilters
-
addFilters
-
getFilters
Applied facet filters. Facet filters are `facet:value` pairs. Facet values must be URL-encoded, such as, `discount:10%25`. -
setUserToken
-
getUserToken
Anonymous or pseudonymous user identifier. Don't use personally identifiable information in user tokens. For more information, see [User token](https://www.algolia.com/doc/guides/sending-events/concepts/usertoken/). -
setAuthenticatedUserToken
-
getAuthenticatedUserToken
Identifier for authenticated users. When the user signs in, you can get an identifier from your system and send it as `authenticatedUserToken`. This lets you keep using the `userToken` from before the user signed in, while providing a reliable way to identify users across sessions. Don't use personally identifiable information in user tokens. For more information, see [User token](https://www.algolia.com/doc/guides/sending-events/concepts/usertoken/). -
setTimestamp
-
getTimestamp
Timestamp of the event, measured in milliseconds since the Unix epoch. By default, the Insights API uses the time it receives an event as its timestamp. -
equals
-
hashCode
public int hashCode() -
toString
-