View source: R/google-analytics.R
clean_ga_metrics | R Documentation |
These functions are to clean metric and dimension data from Google Analytics 'get_ga_stats()' function.
clean_ga_metrics(metrics = NULL, type = NULL)
metrics |
a metrics object from 'get_ga_stats()' function |
type |
If type == "pages" then treat the data frame for in the instance that the dimensions of the subpages were collected |
a data frame of cleaned metrics from Google Analytics
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.