Description Usage Arguments Value Examples
View source: R/pc_get_backlinks.R
Get referral backlinks to my website.
1 2 3 4 5 6 |
date_range |
A characther vector of length two, providing the first and the last day to include in the data request, e.g. 'c("2020-06-01", "2020-06-30")'. |
sources_to_exclude |
A characther vector of domains to be excluded. By default, a vector of commonly found search engines, social media, and webmail providers. See popularitycheckr::sources_to_exclude |
include_domain |
Logical, defaults to TRUE. Include the base domain in the 'landingPagePath' column for clarity, assuming https protocol. |
ga_id |
A Google Analytics viewId. Defaults to NULL. If not given, it uses the environment variable typically set with 'pc_set_ga_id()'. |
A data frame (a tibble) of five columns: 'date', 'sessions', 'source', "fullReferrer", "landingPagePath",
1 2 3 4 5 6 7 8 9 | ## Not run:
pc_set_ga_id(1234567)
backlinks <- pc_get_backlinks(date_range = c(Sys.Date()-32,
Sys.Date()-1))
backlinks
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.