Learn R Programming

⚠️There's a newer version (1.2.0) of this package.Take me there.

googleAnalyticsR

Get more examples and tutorials at the googleAnalyticsR website

Install

You also need googleAuthR

install.packages("googleAuthR")
install.packages("googleAnalyticsR")

Development version off github

remotes::install_github("MarkEdmondson1234/googleAnalyticsR")

Copy Link

Version

Install

install.packages('googleAnalyticsR')

Monthly Downloads

9,460

Version

0.6.0

License

MIT + file LICENSE

Maintainer

Mark Edmondson

Last Published

December 21st, 2018

Functions in googleAnalyticsR (0.6.0)

aggregateGAData

Aggregate a Google Analytics dataframe over inputted columns
fetch_google_analytics_4

Fetch multiple GAv4 requests
allowed_metric_dim

Create named list of allowed GA metrics/dimensions
.filter_clauses_ga4-class

`.filter_clauses_ga4` class.
google_analytics_account_list

Account summary for all accounts available to your user
ga_clientid_hash

Get hashed version of client id (also known as hashClientId, hashedClientId, or BigQuery's fullVisitorId)
ga_cache_call

Setup caching of API calls
ga_clientid_deletion

Create or update a user deletion request
ga_filter_add

Create a new filter and add it to the view (optional).
ga_custom_datasource

List Custom Data Sources
ga_experiment_list

List Experiments
ga_filter

Get specific filter for account
ga_filter_apply_to_view

Apply an existing filter to view.
cohort

Cohort object
ga_filter_update

Updates an existing filter.
cohortGroup

Cohort Group object
ga_unsampled

Get Unsampled Report Meta Data
ga_unsampled_download

Download Unsampled Report from Google Drive
dimension_ga4

Make a dimension object
ga_users_delete

Delete all user access for an email
dynamicSegment

Dynamic Segment v4 object
ga_users_delete_linkid

Delete users access from account, webproperty or view level
ga_filter_update_filter_link

Update an existing profile filter link. Patch semantics supported
ga_unsampled_list

List Unsampled Reports
ga_adwords_list

List AdWords
ga_users_add

Create or update user access to Google Analytics
cohort_dimension_check

Check the request has cohort dimensions
cohort_metric_check

Check the request has cohort metrics
fetch_google_analytics_4_slow

Fetch GAv4 requests one at a time
filter_clause_ga4

Make a dimension or metric filter clause object
google_analytics_3

Get Google Analytics v3 data (formerly google_analytics())
ga_custom_upload

Custom Data Source Upload Status
google_analytics_4_parse

ga v4 data parsing
met_ga4-class

`met_ga4` class.
meta

Google Analytics API metadata
metric_ga4

Make a metric object
multi_select

multi_select [Shiny Module]
segmentBuilderUI

Create a GAv4 Segment Builder
order_type_ga4-class

`order_type_ga4` class.
ga_auth

Authenticate with Google Analytics OAuth2
parse_ga_account_summary

New parse GA account summary
ga_custom_vars_create

Create a custom dimension
ga_custom_vars_list

List Custom Dimensions or Metrics
segmentChain

segmentChain
ga_custom_upload_file

Upload data to Google Analytics
segmentFilter_ga4-class

`segmentFilter_ga4` class.
segmentMetricFilter

segmentMetricFilter
segment_ga4

Make a segment object for use
segmentElementUI

A GAv4 segment element row
segment_vector_sequence

Make sequenceSegment
authDropdown

authDropdown [Shiny Module]
authDropdownUI

authDropdown UI [Shiny Module]
segmentFilter

Segment Filter
ga_filter_delete

Delete a filter from account or remove from view.
ga_filter_view

Get specific filter for view (profile)
ga_filter_view_list

List filters for view (profile)
dim_filter

Make a dimension filter object
dim_ga4-class

`dim_ga4` class.
googleAnalyticsR

Library for getting Google Analytics data into R
ga_filter_list

List filters for account
ga_remarketing_build

Create a remarketing audience for creation
ga_view

Get single View (Profile)
ga_remarketing_create

Create a new remarketing audience
ga_adwords

Get AdWords Link meta data
ga_accounts

List account metadata
google_analytics

Get Google Analytics v4 data
ga_custom_upload_list

List Custom Data Source Uploads
make_cohort_group

Create a cohort group
ga_view_list

List View (Profile)
google_analytics_bq

Get Google Analytics 360 BigQuery data
ga_custom_vars

Get Custom Dimensions or Metrics
ga_goal

Get goal
google_analytics_bq_asynch

Asynch fetch
make_ga_4_req

Make a Google Analytics v4 API fetch
multi_selectUI

multi_select UI [Shiny Module]
ga_goal_add

Create a new goal.
orFiltersForSegment

orFiltersForSegment
pivot_ga4

Make a pivot object
pivot_ga4_parse

pivot data parsing
segment_element

Make a segment element
met_filter

Make a metric filter object
met_fil_ga4-class

`met_fil_ga4` class.
segmentDefinition

Segment Definition
segmentDimensionFilter

segmentDimensionFilter
segment_ga4-class

`segment_ga4` class.
ga_remarketing_estimate

Estimate number of users added to the segment yesterday
ga_remarketing_get

Get a remarketing audience
ga_users_list

List Users
ga_users_update

Update a user access in Google Analytics
makePivotData

Make pivot data rows
makePivotNames

Make pivot column names
orFiltersForSegment_ga4-class

`orFiltersForSegment_ga4` class.
order_type

Make an OrderType object
date_ga4

Make a date object
segmentChainUI

segmentChain UI
segmentSequenceStep_ga4-class

`segmentSequenceStep_ga4` class.
segment_define

Make a segment definition
segmentDef_ga4-class

`segmentDef_ga4` class.
dim_fil_ga4-class

`dim_fil_ga4` class.
simpleSegment_ga4-class

`simpleSegment_ga4` class.
ga_custom_vars_patch

Modify a custom dimension
segmentFilterClause

segmentFilterClause
ga_experiment

Experiments Meta data
ga_goal_list

List goals
segment_vector_simple

Make a simple segment vector
segmentFilterClause_ga4-class

`segmentFilterClause_ga4` class.
sequenceSegment

sequenceSegment
ga_goal_update

Updates an existing goal.
ga_remarketing_list

List remarketing audiences
ga_segment_list

Get segments user has access to
ga_webproperty

Get a web property
ga_webproperty_list

List web properties
google_analytics_meta

Get current dimensions and metrics available in GA API.
makeOrFilters

Make orFiltersForSegment
reexports

Objects exported from other packages
segmentBuilder

Create a GAv4 Segment Builder
segmentObj_ga4

Segment objects
segmentSequenceStep

segmentSequenceStep
sequenceSegment_ga4-class

`sequenceSegment_ga4` class.
simpleSegment

Simple Segment
dynamicSegment_ga4-class

`dynamicSegment_ga4` class.