RGA icon indicating copy to clipboard operation
RGA copied to clipboard

get_ga with multiple filters

Open AlexSiormpas opened this issue 5 years ago • 0 comments

I want to get data for 2 experiments that have

     - ga:ExperimentID==Id_of_Experiment_1
     - ga:ExperimentID==Id_of_Experiment_2

So far I've managed to input the 1 but I'm struggling to find a solution to add Id_of_Experiment_2 that will work like an OR not AND logic in the filter. Is there any way to make this?

Data <- get_ga(ga_api_id,
                         start.date = experiment_start_date,
                         end.date   = Sys.Date(),
                         fetch.by="day",
                         dimensions = "ga:experimentVariant",
                         metrics = "ga:transactionRevenue",
                         filter = "ga:ExperimentID==Id_of_Experiment_1")

AlexSiormpas avatar Nov 19 '19 13:11 AlexSiormpas