Package: googleAnalyticsR 1.2.0

Erik Grönroos

googleAnalyticsR: Google Analytics API into R

Interact with the Google Analytics APIs <https://developers.google.com/analytics/>, including the Core Reporting API (v3 and v4), Management API, User Activity API GA4's Data API and Admin API and Multi-Channel Funnel API.

Authors:Mark Edmondson [aut], Erik Grönroos [cre], Artem Klevtsov [ctb], Johann deBoer [ctb], David Watkins [ctb], Olivia Brode-Roger [ctb], Jas Sohi [ctb], Zoran Selinger [ctb], Octavian Corlade [ctb], Maegan Whytock [ctb], Masaki Terashi [ctb]

googleAnalyticsR_1.2.0.tar.gz
googleAnalyticsR_1.2.0.zip(r-4.5)googleAnalyticsR_1.2.0.zip(r-4.4)googleAnalyticsR_1.2.0.zip(r-4.3)
googleAnalyticsR_1.2.0.tgz(r-4.4-any)googleAnalyticsR_1.2.0.tgz(r-4.3-any)
googleAnalyticsR_1.2.0.tar.gz(r-4.5-noble)googleAnalyticsR_1.2.0.tar.gz(r-4.4-noble)
googleAnalyticsR_1.2.0.tgz(r-4.4-emscripten)googleAnalyticsR_1.2.0.tgz(r-4.3-emscripten)
googleAnalyticsR.pdf |googleAnalyticsR.html
googleAnalyticsR/json (API)
NEWS

# Install 'googleAnalyticsR' in R:
install.packages('googleAnalyticsR', repos = c('https://8-bit-sheep.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/8-bit-sheep/googleanalyticsr/issues

Datasets:
  • meta - Google Analytics API metadata
  • meta4 - Google Analytics API metadata

On CRAN:

analyticsapigooglegoogleanalyticsrgoogleauthr

10.65 score 259 stars 1 packages 664 scripts 21k downloads 104 exports 53 dependencies

Last updated 3 months agofrom:322325570d. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 04 2024
R-4.5-winOKNov 04 2024
R-4.5-linuxOKNov 04 2024
R-4.4-winOKNov 04 2024
R-4.4-macOKNov 04 2024
R-4.3-winOKNov 04 2024
R-4.3-macOKNov 04 2024

Exports:accountPickeraccountPickerUIauthDropdownauthDropdownUIdim_filterfilter_clause_ga4ga_account_listga_accountsga_adwordsga_adwords_add_linkidga_adwords_delete_linkidga_adwords_listga_aggregatega_allowed_metric_dimga_authga_auth_setupga_cache_callga_clientid_activityga_clientid_activity_unnestga_clientid_deletionga_clientid_hashga_custom_datasourcega_custom_uploadga_custom_upload_deletega_custom_upload_filega_custom_upload_listga_custom_varsga_custom_vars_createga_custom_vars_listga_custom_vars_patchga_dataga_data_aggregationsga_data_filterga_data_orderga_experimentga_experiment_listga_filterga_filter_addga_filter_apply_to_viewga_filter_deletega_filter_listga_filter_updatega_filter_update_filter_linkga_filter_viewga_filter_view_listga_goalga_goal_addga_goal_listga_goal_updatega_metaga_modelga_model_editga_model_examplega_model_loadga_model_makega_model_refreshga_model_savega_model_shinyga_model_shiny_loadga_model_shiny_templatega_model_writega_mp_cidga_mp_connectionga_mp_eventga_mp_event_itemga_mp_sendga_remarketing_buildga_remarketing_createga_remarketing_estimatega_remarketing_getga_remarketing_listga_segment_listga_trackmega_trackme_eventga_unsampledga_unsampled_downloadga_unsampled_listga_users_addga_users_deletega_users_delete_linkidga_users_listga_users_updatega_viewga_view_listga_webpropertyga_webproperty_listgoogle_analyticsgoogle_analytics_3google_analytics_4make_cohort_groupmet_filtermetricDimensionSelectmetricDimensionSelectUImulti_selectmulti_selectUIorder_typepivot_ga4segment_definesegment_elementsegment_ga4segment_vector_sequencesegment_vector_simplesegmentBuildersegmentBuilderUI

Dependencies:askpassassertthatcachemclicliprcpp11crayoncredentialscurldescdigestdplyrfansifastmapfsgarglegenericsgertghgitcredsgluegoogleAuthRhttrhttr2inijsonlitelifecyclemagrittrmeasurementProtocolmemoisemimeopensslpillarpkgconfigpurrrR6rappdirsrlangrprojrootrstudioapistringistringrsystibbletidyrtidyselectusethisutf8vctrswhiskerwithryamlzip

Readme and manuals

Help Manual

Help pageTopics
accountPicker UI Shiny Module - pick GA4 accounts/webProperties in ShinyaccountPicker accountPickerUI
authDropdown Shiny ModuleauthDropdown
authDropdown UI Shiny ModuleauthDropdownUI
Make a dimension filter objectdim_filter
Make a dimension or metric filter clause objectfilter_clause_ga4
Account summary for all accounts available to your userga_account_list
List account metadataga_accounts
Get AdWords Link meta dataga_adwords
Creates a Google Analytics webProperty-Google Ads linkga_adwords_add_linkid
Deletes a Google Analytics webProperty-Google Ads linkga_adwords_delete_linkid
List AdWordsga_adwords_list
Aggregate a Google Analytics dataframe over inputted columnsga_aggregate
Create named list of allowed GA metrics/dimensionsga_allowed_metric_dim
Authenticate with Google Analytics OAuth2ga_auth
Setup wizard for authentication optionsga_auth_setup
Setup caching of API callsga_cache_call
User Activity Requestga_clientid_activity
Unnest user activity columnsga_clientid_activity_unnest
Create or update a user deletion requestga_clientid_deletion
Get hashed version of client id (also known as hashClientId, hashedClientId, or BigQuery's fullVisitorId)ga_clientid_hash
List Custom Data Sourcesga_custom_datasource
Custom Data Source Upload Statusga_custom_upload
Deletes custom upload files for a given ids vectorga_custom_upload_delete
Upload data to Google Analyticsga_custom_upload_file
List Custom Data Source Uploadsga_custom_upload_list
Get Custom Dimensions or Metricsga_custom_vars
Create a custom dimensionga_custom_vars_create
List Custom Dimensions or Metricsga_custom_vars_list
Modify a custom dimensionga_custom_vars_patch
Google Analytics Data for GA4 (App+Web)ga_data
Extract metric aggregations from a ga_data resultga_data_aggregations
Filter DSL for GA4 filtersga_data_filter
Order DSL for GA4 OrderByga_data_order
Experiments Meta dataga_experiment
List Experimentsga_experiment_list
Get specific filter for accountga_filter
Create a new filter and add it to the view (optional).ga_filter_add
Apply an existing filter to view.ga_filter_apply_to_view
Delete a filter from account or remove from view.ga_filter_delete
List filters for accountga_filter_list
Updates an existing filter.ga_filter_update
Update an existing profile filter link. Patch semantics supportedga_filter_update_filter_link
Get specific filter for view (profile)ga_filter_view
List filters for view (profile)ga_filter_view_list
Get goalga_goal
Create a new goal.ga_goal_add
List goalsga_goal_list
Updates an existing goal.ga_goal_update
Get current dimensions and metrics available in GA API.ga_meta
Use a modelga_model
Edit a created ga_modelga_model_edit
Load an example modelga_model_example
Load a created modelga_model_load
Modelling function factory for Google Analytics dataga_model_make
Refresh a modelga_model_refresh
Save a created modelga_model_save
Create a Shiny app from a ga_model filega_model_shiny
Load one model into a Shiny templatega_model_shiny_load
Get a Shiny template filega_model_shiny_template
Write the ga_model functions to a filega_model_write
Generate a random client_idga_mp_cid
Create a Measurement Protocol Eventga_mp_event
Create an Measurement Protocol Item Property for an Eventga_mp_event_item
Make a Measurement Protocol v2 requestga_mp_connection ga_mp_send
Create a remarketing audience for creationga_remarketing_build
Create a new remarketing audiencega_remarketing_create
Estimate number of users added to the segment yesterdayga_remarketing_estimate
Get a remarketing audiencega_remarketing_get
List remarketing audiencesga_remarketing_list
Get segments user has access toga_segment_list
Opt in or out of googleAnalyticsR usage trackingga_trackme ga_trackme_event
Get Unsampled Report Meta Dataga_unsampled
Download Unsampled Report from Google Drive. You must be authenticated with the same account that you setup the unsampled report. This means service account authentication is not supported.ga_unsampled_download
List Unsampled Reportsga_unsampled_list
Create or update user access to Google Analyticsga_users_add
Delete all user access for an emailga_users_delete
Delete users access from account, webproperty or view levelga_users_delete_linkid
List Usersga_users_list
Update a user access in Google Analyticsga_users_update
Get single View (Profile)ga_view
List View (Profile)ga_view_list
Get a web propertyga_webproperty
List web propertiesga_webproperty_list
Get Google Analytics v4 datagoogle_analytics google_analytics_4
Get Google Analytics v3 data (formerly google_analytics())google_analytics_3
Create a cohort groupmake_cohort_group
Make a metric filter objectmet_filter
Google Analytics API metadatameta
Google Analytics API metadatameta4
metricDimensionSelectUI - GA4 Shiny ModulemetricDimensionSelect metricDimensionSelectUI
multi_select Shiny Modulemulti_select
multi_select UI Shiny Modulemulti_selectUI
Make an OrderType objectorder_type
Make a pivot objectpivot_ga4
Make a segment definitionsegment_define
Make a segment elementsegment_element
Make a segment object for usesegment_ga4
Make sequenceSegmentsegment_vector_sequence
Make a simple segment vectorsegment_vector_simple
Create a GAv4 Segment BuildersegmentBuilder
Create a GAv4 Segment BuildersegmentBuilderUI