Another reason for this is that GA visuals do not actually provide detailed information. It is also possible to obtain more comprehensive graphs within GA, but it is not possible to transfer these graphs outside of GA. In such cases, we can use R's freely available visualization packages.
In this article, we will discuss "Visualizing Google Analytics Data with R to Measure SEO Success (ggplot and plotly packages)".
R and GA Data for Beginners
Before you start using the ggplot plotly packages, you can use business owner database this content to get started with R and access GA data via the API . If you don’t have an Analytics account, don’t worry, this content gives you access to a demo account provided by Google. You don’t need a website to start looking at data. Even if you have a website, you may want to use the GA demo account instead of using its data, because any analysis requires a lot of data to reach meaningful results. With these two links, you can do your own analysis with R packages and data from Google Analytics.
Our First ggplot Chart
The best way to understand whether there is a general increase in search engine rankings is to look at organic search traffic. I used the organicSearches metric, which I found directly through Google’s Dimension & Metric Explorer API service. This metric gives slightly different measurements than Session values in GA according to Organic Traffic sources.

However, for the purpose of this article, there is no problem in using this metric. Let’s also add that the website used for this content is a content-based website. First, let’s create a simple graph in R using the ggplot package. Below you can see the codes used to draw the graph:To make the graph a little more attractive; • We can edit the Y axis by dividing it by 100,000. • We can add a title to the graph and center it. • We can add some blur to the areas that appear crowded, and • We can change the colors of the points. If we were to redraw the graph of our content site's organic traffic:The next step we will take is to examine the yearly SEO success. Here we want to see the change in the performance of our Content-Based website over the years. Here we will use the plotly package.