Skip to content

Put Action Interactions

personalizeevents_put_action_interactions R Documentation

Records action interaction event data

Description

Records action interaction event data. An action interaction event is an interaction between a user and an action. For example, a user taking an action, such a enrolling in a membership program or downloading your app.

For more information about recording action interactions, see Recording action interaction events. For more information about actions in an Actions dataset, see Actions dataset.

Usage

personalizeevents_put_action_interactions(trackingId,
  actionInteractions)

Arguments

trackingId

[required] The ID of your action interaction event tracker. When you create an Action interactions dataset, Amazon Personalize creates an action interaction event tracker for you. For more information, see Action interaction event tracker ID.

actionInteractions

[required] A list of action interaction events from the session.

Value

An empty list.

Request syntax

svc$put_action_interactions(
  trackingId = "string",
  actionInteractions = list(
    list(
      actionId = "string",
      userId = "string",
      sessionId = "string",
      timestamp = as.POSIXct(
        "2015-01-01"
      ),
      eventType = "string",
      eventId = "string",
      recommendationId = "string",
      impression = list(
        "string"
      ),
      properties = "string"
    )
  )
)