skardhamar / rga

R Google Analytics
187 stars 90 forks source link

filters with pagePath #96

Closed tobsehc closed 6 years ago

tobsehc commented 6 years ago

Hi,

I want to include a filter for the page path in my api request but it doesn't work.

I'm using the filters parameter with

get_ga(profileId = "pID", start.date = start, end.date = end, metrics = "ga:entrances", dimensions = "ga:deviceCategory", filters = "ga:landingPagePath == ~^/foren")

or

get_ga(profileId = "pID", start.date = start, end.date = end, metrics = "ga:entrances", dimensions = "ga:deviceCategory", filters = "ga:landingPagePath != ~^/foren")