Description Usage Arguments Value
View source: R/pullGoogleAnalytics.R
Given a view ID and dateRange this function will pull the number of 'users', 'newUsers', 'sessions', and 'pageviews' by month.
1 | getUserSessionData(viewId, dateRange)
|
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. |
The view ID that corrosponds with the provided webPropertyName
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.