Implement analytics action
Description
Sometimes we want to track specific actions using analytics. To do so, we need to create an action for this. This action should essentially work as a noop
action which also sends an analytics event. This basically means it should pass through the raw input data.
I.e. the following action should return the created resource.
type: resource.create
resource: person
onSuccess:
type: analytics
# Target is required
target: createPerson
# Default is no config
config:
object.from:
name: { prop: name }
This action should only be implemented in app.
Requirements
-
Implement analytics action