calling ga_goal from the googleanalyticsr package
问题 Hi I am trying to call find goals but cant get the right style I am currently being returned Error: API returned: invalid webPropertyId: 79885916. Im sure that this isn't wrong as my analytics url contains a48372046w79885916p82626620/ library(googleAnalyticsR) library(ggplot2) ga_auth() my_accounts <- ga_account_list() account <- ga_goal(48372046, 79885916, 82626620, 4) write.csv (account, "r.csv", row.names = TRUE) 回答1: It may need the web property UA code, which is in the form UA-33333-1