Description Usage Arguments Value Examples
View source: R/ga_get_sessions_by_campaign.R
Cleans all source inputs from GA API.
1 2 | ga_get_sessions_by_campaign(view_id, start_date, final_date,
imp_and_clicks = F, language = "en")
|
language |
Choose a language for your sources column outputs. Available languages: en, es, fr. More to add in the near future. |
data |
a data frame from GA API. It must contain the column: ga:sourceMedium, as the package works with this column to generate the ouputs. |
The function returns the data frame with a new sources column with correct output ready to plot.
1 | ga_clean_data(my_data, language="es")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.