Skip to content
This repository has been archived by the owner on Mar 23, 2021. It is now read-only.

get_ga with multiple filters #64

Open
AlexSiormpas opened this issue Nov 19, 2019 · 0 comments
Open

get_ga with multiple filters #64

AlexSiormpas opened this issue Nov 19, 2019 · 0 comments

Comments

@AlexSiormpas
Copy link

AlexSiormpas commented Nov 19, 2019

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")
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant