Google Analytics is a powerful analytics solution that gives you really detailed insights into how your online content is performing. However, besides a tabular format and a data visualization tool, no other instruments are available to model your data and gain more powerful insights.
This is where R comes to help, and this is why the
RGoogleAnalytics package was developed: to provide a convenient way to extract data from Google Analytics into an R environment.
As an example, we will import data from Google Analytics into R regarding the daily bounce rate for a website in a given time range.
As a preliminary step, we are going to install and load the