MarkEdmondson1234 / markedmondson.me-hugo

Files for the website
0 stars 2 forks source link

googleanalyticsr-100-release/ #14

Open utterances-bot opened 1 year ago

utterances-bot commented 1 year ago

googleAnalyticsR v1.0.0 - GA4 API, Automatic Shiny Dashboarding, Improved UI · Mark Edmondson

The code bit of the blog

https://code.markedmondson.me/googleanalyticsr-100-release/

ffammpfc commented 1 year ago

Hi Mark,

I am new on GA4/R universe and I am trying to use googleAnalyticsR package to import GA4 data into R. However I am having troubles using ga_data() function and I couldn't understand the problem so far. Could you please help me?

I am getting the following error:

Error in if (grepl("^#", mm)) { : the condition has length > 1 In addition: Warning message: In pq$concurrentRequests < 10 || verbose : 'length(x) = 2 > 1' in coercion to 'logical(1)' Error: API Data failed to parse.
Wrote diagnostic object to 'gar_parse_error.rds', use0 >googleAuthR::gar_debug_parsing('gar_parse_error.rds') to debug the data_parse_function.

Thank you so much

MarkEdmondson1234 commented 1 year ago

There was a bug with CRAN version of googleAnalyticsR v1.0.1 when fetching GA4 data but it’s now fixed - please see https://lnkd.in/e23vy3Yv for details!

andrzejeob commented 1 year ago

Hello, for function ga_users_add(c("the_email@company.com", "another_email@company.com"), permissions = "EDIT", accountId = 47480439)

is there any option go give permission only on specific "propertyId" in GA4?