type: meya.analytics.component.track
class: TrackComponent
path: /meya/analytics/component/track.py
signature: track
Fields
field | signature | required | type | default | description |
---|---|---|---|---|---|
spec | ○ | ○ | Spec | null | Override the original spec for this element |
context | ○ | ○ | dict | {} | Send context data with this component's event |
sensitive | ○ | ○ | bool | false | Mark this component's event as sensitive |
triggers | ○ | ○ | list | [] | Activate these dynamic triggers when the component runs |
track | ◉ | ◉ | str | ||
data | ○ | ○ | dict | null | |
timestamp | ○ | ○ | Real | null |
Examples
Basic
triggers:
- keyword: meya.analytics.component.track
steps:
- track: STRING
Full
triggers:
- keyword: meya.analytics.component.track
steps:
- spec:
type: STRING
data:
STRING: ANY
timeout: 123
trigger_when: ANY
context:
STRING: ANY
sensitive: false
triggers:
- type: STRING
data:
STRING: ANY
timeout: 123
trigger_when: ANY
track: STRING
data:
foo: bar
timestamp: 123