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:
@@ -230,6 +230,11 @@ func (s *Server) runTracking(ctx context.Context, source string) error {
|
||||
if _, perr := tracking.ImportPages(ctx, s.DB, c, s.sites(), now); perr != nil && err == nil {
|
||||
err = fmt.Errorf("pages: %w", perr)
|
||||
}
|
||||
if p, _ := profile.Load(s.DB); p != nil {
|
||||
if _, rerr := tracking.ImportReferrers(ctx, s.DB, c, p.Websites, now); rerr != nil && err == nil {
|
||||
err = fmt.Errorf("referring sites: %w", rerr)
|
||||
}
|
||||
}
|
||||
return err
|
||||
case tracking.SourceStripe:
|
||||
c := s.stripe()
|
||||
|
||||
Reference in New Issue
Block a user