Skip to content

Auto auth, custom uploads, remarketing lists, users, aggregation

Compare
Choose a tag to compare
@MarkEdmondson1234 MarkEdmondson1234 released this 01 Apr 16:23
· 929 commits to master since this release

Added

  • Deprecate google_analytics_account_list for ga_account_list to be in line with other functions

  • Add custom data uploads via ga_custom_upload_file()

  • Cleaned up documentation a bit

  • Added auto-authentication if you specify environment var GA_AUTH_FILE

  • Add Remarketing Audience functions - ga_remarketing_get and ga_remarketing_list

  • Add aggregateGAData which will aggregate over GA dimensions

  • Add antiSampleWorked TRUE/FALSE attribute to tables when anti-sampling attempted

  • Add a slow_fetch flag to google_analytics_4 that will avoid batching for big complicated fetches

  • Add ga_users_list for listing users on account, webProperty or View level

  • Documentation updates

  • Set default Google Project API permissions to:

    • "https://www.googleapis.com/auth/analytics"
    • "https://www.googleapis.com/auth/analytics.readonly"
    • "https://www.googleapis.com/auth/analytics.manage.users.readonly"
    • "https://www.googleapis.com/auth/analytics.edit"
    • "https://www.googleapis.com/auth/analytics.manage.users"

Fixed

  • Use aggregateGAData to solve issue with anti_sampling repeating rows (#49)
  • Fix bug with anti-sample when periods included 0-row data (#42)
  • Fix google_analytics_account_list() parsing bug if only one view available (#52, #41)
  • Fix segments not being able to be used in Cohort reports (#63)
  • Fix bug with anti-sample when querying over 1000 days (#66 - thanks @olivia-icivics)