Phase 8 part 1: links that bring visitors
The daily Plausible import also reads the visitors by referring site, linking page and entry page, with their sign-ups and leads (a new referrer_days table). Search engines, social networks, AI assistants, email and mail filters, work apps, the company's own sites and tagged links are told apart from links on other sites. SEO → Links lists the sites that sent visitors in 90 days, the pages they landed on and the sign-ups they brought, new ones first. A linking page Plausible names in full is kept as a known backlink (a new backlinks table, for parts 2 and 3); browsers mostly send only the site, so most aren't. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -625,6 +625,35 @@ CREATE TABLE page_days (
|
||||
leads INTEGER NOT NULL DEFAULT 0, -- visitors who sent a form (the Lead goal)
|
||||
PRIMARY KEY (site, date, page)
|
||||
);
|
||||
`,
|
||||
// 27: backlinks: who sends visitors (Plausible), the links found
|
||||
// (Plausible, Bing, by hand), and whether each is still there.
|
||||
`
|
||||
CREATE TABLE referrer_days (
|
||||
site TEXT NOT NULL, -- the Plausible site
|
||||
date TEXT NOT NULL, -- YYYY-MM-DD
|
||||
source TEXT NOT NULL, -- the referring site, as Plausible names it
|
||||
referrer TEXT NOT NULL DEFAULT '', -- the linking page, when Plausible has it
|
||||
page TEXT NOT NULL, -- the entry page's path
|
||||
visitors INTEGER NOT NULL DEFAULT 0,
|
||||
signups INTEGER NOT NULL DEFAULT 0,
|
||||
leads INTEGER NOT NULL DEFAULT 0,
|
||||
PRIMARY KEY (site, date, source, referrer, page)
|
||||
);
|
||||
CREATE TABLE backlinks (
|
||||
id INTEGER PRIMARY KEY,
|
||||
site TEXT NOT NULL, -- the website's URL, from the profile
|
||||
source_url TEXT NOT NULL, -- the page that links
|
||||
target TEXT NOT NULL DEFAULT '', -- our page it links to (a path), when known
|
||||
anchor TEXT NOT NULL DEFAULT '',
|
||||
origin TEXT NOT NULL, -- plausible, bing, manual
|
||||
first_seen TEXT NOT NULL,
|
||||
last_seen TEXT NOT NULL,
|
||||
status TEXT NOT NULL DEFAULT 'unchecked', -- unchecked, kept, gone, page-gone, target-404
|
||||
checked_at TEXT,
|
||||
note TEXT NOT NULL DEFAULT '',
|
||||
UNIQUE (site, source_url, target)
|
||||
);
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user