account | array (also accepts a comma-separated string) | No | - | The GA4 property to read. Only one property at a time. |
date_range | FunnelDateRange | Yes | - | Date range of the events the funnel is built from. |
steps | array of object or string | Yes | - | Ordered funnel steps as Google Data API FunnelStep objects (list or JSON string): name, filterExpression (funnelEventFilter, funnelFieldFilter, andGroup, orGroup, notExpression), optional isDirectlyFollowedBy and withinDurationFromPriorStep (e.g. ‘1800s’). Google validates the nested filters. Example: [{“name”:“Date selected”,“filterExpression”:{“funnelEventFilter”:{“eventName”:“date_selected”}}},{“name”:“Purchase”,“filterExpression”:{“andGroup”:{“expressions”:[{“funnelEventFilter”:{“eventName”:“purchase”}},{“funnelFieldFilter”:{“fieldName”:“hostName”,“stringFilter”:{“matchType”:“EXACT”,“value”:“www.example.com”}}}]}}}] |
is_open_funnel | boolean | No | - | Open funnel: users can enter at any step. Default false (closed): users must complete the first step to count. |
breakdown_dimension | string | No | - | GA4 dimension that splits each step in the funnel table, e.g. deviceCategory, landingPage, country. One per report. |
breakdown_limit | integer | No | - | Maximum breakdown values per step (Google default 5). |
next_action_dimension | string or SelectableOption | No | - | Adds what users did after each step to the funnel visualization: eventName, pagePath, pageTitle, unifiedScreenName or unifiedScreenClass (ignored by TRENDED_FUNNEL). |
next_action_limit | integer | No | - | Maximum next action values per step (Google default 5). |
segments | array of object or string | No | - | Google Data API Segment objects (userSegment, sessionSegment or eventSegment); the funnel is evaluated in each segment and rows carry a segment column. Example: [{“name”:“US users”,“userSegment”:{“userInclusionCriteria”:{“andConditionGroups”:[{“conditionScoping”:“USER_CRITERIA_ACROSS_ALL_SESSIONS”,“segmentFilterExpression”:{“segmentFilter”:{“fieldName”:“country”,“stringFilter”:{“matchType”:“EXACT”,“value”:“United States”}}}}]}}}] |
dimension_filter | object or string | No | - | Google Data API FilterExpression applied to the whole report, e.g. {“filter”:{“fieldName”:“deviceCategory”,“stringFilter”:{“value”:“mobile”}}}. |
visualization_type | string or SelectableOption | No | - | STANDARD_FUNNEL (default): users per step. TRENDED_FUNNEL: the visualization adds a date column (users per step per day). |
limit | integer | No | - | Maximum funnel table rows (Google default 10,000). |