Description Usage Arguments Value Examples
This function allows you to get weekly data from 'AT Internet' using set perdiod, with a start date and an end date. METRICS are visits, visitors, conversions visits, conversions rate, visits with sales, time spent per pages, bounce rate
1 2 3 |
ATuser |
Your 'AT Internet' user login |
ATpassword |
Your 'AT Internet' password login |
space |
Analysis space |
start_date |
Start date YYYY-MM |
end_date |
End date YYYY-MM |
dim_source |
Optional - DIMENSION Trafic Source : Direct+traffic, Search+engines, "Referrer+sites", "Social+Campaigns" |
dim_device |
Optional - DIMENSION Device Type |
dim_level2 |
Optional - DIMENSION Sub-set of your site |
segment |
Optional - SEGMENT applied to the result set |
pagination |
By defaut the pagination is set to 1. This allows you to get 10,000 rows of data. If you need more, you must make multiple calls to the API using the pagination feature. |
week_set extract the data you need from 'AT Internet' database, according to parameters you entered and then provides a dataset.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run:
ATuser <- "user_email_adress"
ATpassword <- "my_password"
space <- 113736
start_date <- "2018-11"
end_date <- "2018-11"
dim_source <- "Search+engines"
dim_device <- "Desktop"
dim_level2 <- "MyLevel2"
segment <- 204529097
pagination <- 1
dataset <- week_set(ATuser, ATpassword, space, start_date, end_date, dim_source, dim_device, dim_level2, segment, pagination)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.