How often did this event fire
Use “How often did this event fire” in Recued. Count an Amplitude event over a window and report the vendor's own total, together with what the query cost. It reads information without changing data in the connected service.
How it works
Inspect the data fetches, transforms, gates, and output this recipe runs.
Process (25 steps)
event_text
trim
Trim whitespace from setting event name
event_required
template
Generate text from a template
fail: step.event_text is_empty
group_text
trim
Trim whitespace from setting group by
days
clamp
Clamp setting days back between 1 and 365
mult_grouped
template
Generate text from a template
skip: step.group_text is_empty
mult_plain
template
Generate text from a template
skip: step.group_text is_not_empty
mult_text
default
Apply default
mult
to_number
Convert mult text to a number
est_cost
math
Calculate: {{step.days}} * {{step.mult}}
cost_fits
template
Generate text from a template
fail: step.est_cost greater 1000
days_neg
math
Calculate: 0 - {{step.days}}
start_ts
date_add
Add days neg days to
end_ts
date_add
Add 0 days to
start_date
date_format
Format as a date
end_date
date_format
Format as a date
e_param
template
Generate text from a template
seg_raw
?
x_values
default
Apply default
have_data
template
Generate text from a template
fail: step.x_values is_empty
collapsed
default
Apply default
total
default
Apply default
point_count
count
Count items in x values
defaults
defaults
Apply defaults
segment_count
count
Count items in labels
card
to_summary
Format results as a summary card
Settings
Configurable at install. Defaults shown — change them anytime in Recued.
group by
setting
=
amplitude
setting
=
days back
setting
=
30
event name
setting
=
Trust & control
What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.