Get more examples and tutorials at the googleAnalyticsR website
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.
You also need the version > 0.3.0
of googleAuthR
install.packages("googleAuthR")
install.packages("googleAnalyticsR")
devtools::install_github("MarkEdmondson1234/googleAnalyticsR")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.