getUserSessionData: Given a view ID and dateRange this function will pull the...

Description Usage Arguments Value

View source: R/pullGoogleAnalytics.R

Description

Given a view ID and dateRange this function will pull the number of 'users', 'newUsers', 'sessions', and 'pageviews' by month.

Usage

1
getUserSessionData(viewId, dateRange)

Arguments

viewId

a Google Analytics 'viewId'.

dateRange

A vector of two dates in yyyy-mm-dd format. Can be strings or date objects. Order doesn't matter, the max and min will be used.

Value

The view ID that corrosponds with the provided webPropertyName


FredHutch/coopMetrics documentation built on June 7, 2021, 7:45 a.m.