Skip to content

Commit

Permalink
setup for #399
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkEdmondson1234 committed May 4, 2022
1 parent 0647716 commit 6a35863
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions R/ga_data_funnel.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#' Run a GA4 Data Funnel report
#'
#' Returns a customized funnel report of your Google Analytics event data. The data returned from the API is as a table with columns for the requested dimensions and metrics.
#'
#' @inheritParams ga_data
#' @param open_funnel In an open funnel, users can enter the funnel in any step, and in a closed funnel, users must enter the funnel in the first step. Optional. If unspecified, a closed funnel is used.
#' @param funnel_steps A list of FunnelStep objects
#'
#' @export
#' @family GA4 functions
ga_data_funnel <- function(funnel_steps,
propertyId,
open_funnel = FALSE,
breakdown_dim = NULL,
breakdown_limit = 5L,
next_action = NULL,
visual = "STANDARD_FUNNEL",
dim_filters = NULL,
limit = 10000L){

}


#' Create a FunnelStep object for use within ga_data_funnel
#'
#' @param name The distinctive name for this step. If unspecified, steps will be named by a 1 based indexed name (i.e. "0. ", "1. ", etc.).
#' @param directly_followed If true, this step must directly follow the previous step
#' @param fun_filter A funnel filter expression - the condition that your users must meet to be included in this step of the funnel journey.
#' @param within_duration If specified, this step must complete within this duration of the completion of the prior step.
#'
#' @family GA4 functions
#' @export
ga_data_funnel_step <- function(fun_filter, name, within_duration, directly_followed){

}

0 comments on commit 6a35863

Please sign in to comment.