AddedToCartObjectIDs
Use this event to track when users add items to their shopping cart unrelated to a previous Algolia request. For example, if you don't use Algolia to build your category pages, use this event. To track add-to-cart events related to Algolia requests, use the "Added to cart object IDs after search" event.
Value parameters
- authenticatedUserToken
-
User token for authenticated users.
- currency
-
If you include pricing information in the
objectData
parameter, you must also specify the currency as ISO-4217 currency code, such as USD or EUR. - eventName
-
Can contain up to 64 ASCII characters. Consider naming events consistently—for example, by adopting Segment's object-action framework.
- index
-
Name of the Algolia index.
- objectData
-
Extra information about the records involved in the event—for example, to add price and quantities of purchased products. If provided, must be the same length as
objectIDs
. - objectIDs
-
List of object identifiers for items of an 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