RGA
RGA copied to clipboard
get_ga with multiple filters
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")