Questions tagged [google-analytics-r]

3 questions
0
votes
0 answers

Google Analytics Authentication in R Using googleAnalyticsR

I am building a flexdashboard to highlight data from Google Analytics. Using the googleAnalyticsR package. I followed the directions on this Posit post: https://posit.co/blog/google-analytics-part1/ to the letter. Here is the code I'm executing: ##…
Steve
  • 575
  • 4
  • 18
0
votes
0 answers

publisherAdClicks in googleAnalyticsR

I am using the code below to find the ad clicks using the R Package but it shows 0 Google Ads clicks, although I can see in the GA4 property that the clicks are there. ga_data( property_id, metrics = c("publisherAdClicks"), dimensions =…
0
votes
1 answer

Set client_id and client_secret in production scripts - R

While using googleAnalyticsR api, I was authenticating using "ga_auth(token = "my token.httr-oauth") and running scripts in my computer and server perfectly fine. When I ran this scripts in production mode (using CRON), I've started to get this…
licmantia
  • 3
  • 1