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

Wasson?

Work is currently focused on quashing bugs and updating the BigQuery parser.

If you find any bugs please log any problems here in the issues tracker.

Install

You also need the version > 0.3.0 of googleAuthR

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

Development version off github

devtools::install_github("MarkEdmondson1234/googleAnalyticsR")

Copy Link

Version

Install

install.packages('googleAnalyticsR')

Monthly Downloads

9,726

Version

0.3.0

License

MIT + file LICENSE

Maintainer

Mark Edmondson

Last Published

August 11th, 2016

Functions in googleAnalyticsR (0.3.0)

checkPrefix

check it starts with ga: and if not puts it on
expect_list_of_class

Test S3 Class in a list
expect_list_of_this

Testthat in a list
dimension_ga4

Make a dimension object
dynamicSegment

Dynamic Segment v4 object
fetch_google_analytics_4

Fetch multiple GAv4 requests
dim_filter

Make a dimension filter object
expect_null_or_type

Expect NULL or type
expect_null_or_s3_class

Expect NULL or class (s3)
error.message

Get the error message
expect_list_of_type

Test Type in a list
ga_custom_vars_list

List Custom Dimensions or Metrics
ga_custom_vars

Get Custom Dimensions or Metrics
ga_adwords_list

List AdWords
filter_clause_ga4

Make a dimension or metric filter clause object
ga_custom_upload_list

List Custom Data Uploads
ga_adwords

Get AdWords Link meta data
ga_custom_datasource

List Custom Data Sources
ga_custom_upload

Get Custom Data Upload Meta data
ga_accounts

Get account list
ga_auth

Authentication with Google Analytics
ga_filter_list

List filters for account
ga_filter_view_list

List filters for view (profile)
ga_experiment

Experiments Meta data
ga_goal_list

List goals
ga_experiment_list

List Experiments
ga_filter

Get specific filter for account
ga_goal

Get goal
ga_filter_view

Get specific filter for view (profile)
ga_segment_list

Get segments user has access to
ga_unsampled_list

List Unsampled Reports
ga_view

Get single View (Profile)
ga_view_list

List View (Profile)
google_analytics_4_parse

ga v4 data parsing
google_analytics_account_list

Get account summary list data including web property and View Id
ga_unsampled

Get Unsampled Report Meta Data
google_analytics_bq_asynch

Asynch fetch
ga_webproperty_list

List web properties
google_analytics_4

GAv4 single request
ga_webproperty

Get web property
google_analytics_4_parse_batch

ga v4 parse batching
is.error

Is this a try error?
is.NullOb

A helper function that tests whether an object is either NULL _or_ a list of NULLs
google_analytics

Get Google Analytics v3 data
hourly_anti_sample

hourly get request with anti-sampling
google_analytics_bq

google_analytics_bq
idempotency

Idempotency
google_analytics_meta

Get current dimensions and metrics available in GA API.
metric_ga4

Make a metric object
multi_select

multi_select
pivot_ga4_parse

pivot data parsing
parse_ga_account_summary

New parse GA account summary
segmentBuilder

Create a GAv4 Segment Builder
segment_define

Make a segment definition
segmentBuilderUI

Create a GAv4 Segment Builder
segmentChain

segmentChain
rmNullObs

Recursively step down into list, removing all such objects
segmentChainUI

segmentChain UI
segmentObj_ga4

Segment objects
segmentSequenceStep

segmentSequenceStep
multi_selectUI

multi_select UI
myMessage

Customer message log level
order_type

Make an OrderType object
segment_vector_simple

Make a simple segment vector
segment_vector_sequence

Make sequenceSegment
orFiltersForSegment

orFiltersForSegment
cohortGroup

Cohort Group object
date_ga4

Make a date object
authDropdown

authDropdown
authDropdownUI

authDropdown UI
cohort

Cohort object
cohort_metric_check

Check the request has cohort metrics
googleAnalyticsR

Library for getting Google Analytics data into R
makePivotNames

Make pivot column names
segmentDefinition

Segment Definition
segmentDimensionFilter

segmentDimensionFilter
sequenceSegment

sequenceSegment
makePivotData

Make pivot data rows
allowed_metric_dim

Create named list of allowed GA metrics/dimensions
simpleSegment

Simple Segment
anti_sample

Get a GA request with anti-sampling
listNameToDFCol

Add name of list entry of dataframe to dataframe colum
make_cohort_group

Create a cohort group
pivot_ga4

Make a pivot object
make_ga_4_req

Google Analytics v4 API fetch
reexports

Objects exported from other packages
makeOrFilters

Make orFiltersForSegment
unitToList

Allow unit lists
met_filter

Make a metric filter object
cohort_dimension_check

Check the request has cohort dimensions
meta

Google Analytics API metadata
segment_element

Make a segment element
segment_ga4

Make a segment object for use
segmentMetricFilter

segmentMetricFilter
segmentFilter

Segment Filter
segmentElementUI

A GAv4 segment element row
segmentFilterClause

segmentFilterClause