Package com.algolia.model.insights
Class ConvertedObjectIDsAfterSearch
java.lang.Object
com.algolia.model.insights.ConvertedObjectIDsAfterSearch
- All Implemented Interfaces:
EventsItems
Use this event to track when users convert after a previous Algolia request. For example, a user
clicks on an item in the search results to view the product detail page. Then, the user adds the
item to their shopping cart. If you're building your category pages with Algolia, you'll also use
this event.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.algolia.model.insights.EventsItems
EventsItems.Deserializer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddObjectIDs(String objectIDsItem) booleanAn identifier for authenticated users.The name of the event, up to 64 ASCII characters.Get eventTypegetIndex()The name of an Algolia index.The object IDs of the records that are part of the event.Unique identifier for a search query.The timestamp of the event in milliseconds in [Unix epoch time](https://wikipedia.org/wiki/Unix_time).An anonymous or pseudonymous user identifier.inthashCode()setAuthenticatedUserToken(String authenticatedUserToken) setEventName(String eventName) setEventType(ConversionEvent eventType) setObjectIDs(List<String> objectIDs) setQueryID(String queryID) setTimestamp(Long timestamp) setUserToken(String userToken) toString()
-
Constructor Details
-
ConvertedObjectIDsAfterSearch
public ConvertedObjectIDsAfterSearch()
-
-
Method Details
-
setEventName
-
getEventName
The name of the event, 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
The name of an Algolia index. -
setObjectIDs
-
addObjectIDs
-
getObjectIDs
The object IDs of the records that are part of the event. -
setQueryID
-
getQueryID
Unique identifier for a search query. The query ID is required for events related to search or browse requests. If you add `clickAnalytics: true` as a search request parameter, the query ID is included in the API response. -
setUserToken
-
getUserToken
An anonymous or pseudonymous user identifier. > **Note**: Never include personally identifiable information in user tokens. -
setAuthenticatedUserToken
-
getAuthenticatedUserToken
An identifier for authenticated users. > **Note**: Never include personally identifiable information in user tokens. -
setTimestamp
-
getTimestamp
The timestamp of the event in milliseconds in [Unix epoch time](https://wikipedia.org/wiki/Unix_time). By default, the Insights API uses the time it receives an event as its timestamp. -
equals
-
hashCode
public int hashCode() -
toString
-