Track SEO active pages percentage over time x
What are active pages? and Why would you want to track them?
step 1: Counting active URLs using Search Console data
library(searchConsoleR)
library(googleAuthR)
scr_auth()
# Load
sc_websites <- list_websites()
# and display the list
View(sc_websites)
# pitck the one
hostname <- "https://www.rforseo.com/"
require(lubridate)
# we want data between now and 2 months ago
now <- lubridate::today()-3
month(beforedate) <- month(now) - 2
day(beforedate) <- days_in_month(beforedate)
# we ask for data with dates and pages
gsc_all_queries <- search_analytics(hostname,
beforedate,now,
c("date", "page"), rowLimit = 80000)
Last updated