get_event_sequences
Identify common actions that precede a target event, such as pageviews and events, ranked by frequency.
Instructions
Given a target event (like 'signup_complete'), find what actions typically precede it. Shows both pageviews and events before the target, ranked by frequency. step_position=1 is immediately before the target event.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"site": "<site>",
"target_event": "<target_event>"
},
"name": "get_event_sequences"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Site domain or UUID | |
| limit | No | Max results | |
| period | No | Time period | 30d |
| filter_os | No | OS substring match (e.g. 'iOS') | |
| target_event | Yes | The event to analyze (e.g. 'signup_complete') | |
| filter_browser | No | Browser substring match (e.g. 'Chrome') | |
| filter_country | No | 2-letter country code (e.g. 'US') | |
| lookback_steps | No | How many steps back to look (1-10) | |
| filter_utm_source | No | Exact UTM source (e.g. 'twitter') | |
| filter_device_type | No | Device type: 'desktop' | 'mobile' | 'tablet' | |
| filter_referrer_contains | No | Referrer substring (e.g. 'google') |