Skip to content

fix(leads): treat social and link-in-bio URLs as no website - #4

Merged
DariusDev16 merged 1 commit into
mainfrom
fix/no-website-social-links
Nov 9, 2026
Merged

DariusDev16 merged 1 commit into
mainfrom
fix/no-website-social-links

Conversation

@DariusDev16

Copy link
Copy Markdown
Owner

Why

Many businesses put an Instagram, Facebook or Linktree page in Google's website field. Those leads have no site of their own, but they were counted as having one, so they were missing from the No website filter.

What changes

  • New contacts.has_real_website and contacts.is_social_url, backed by a list of social and link-in-bio hosts. Subdomains and URLs without a scheme match; lookalike domains such as netflix.com and myfacebook.com do not.
  • The Has website and No website panel filters use the new rule. Bulk send follows, because it sends to the filtered list.
  • The search option Only leads with a website, --require-website and the with website count use the new rule too.
  • Cards for these leads drop the Website chip. The link stays, and its button reads Social.
  • The stat tile text changes from "with a URL" to "with a site".

Behaviour to review

  • With Only leads with a website on, a search can return fewer leads than before.
  • Link shorteners, site builders (Carrd, Wix, Google Sites) and delivery pages (iFood, Goomer) still count as websites.
  • The {site} message placeholder still inserts the raw link, including social links.

Testing

  • Sample leads through the panel filters, apply_filters and summarize: results as expected.
  • 12 link-in-bio URLs and 5 lookalikes through has_real_website: all classified correctly.
  • --selftest passes offscreen, but its demo data has no social links, so its filter counts do not exercise this case. It only adds two direct checks of has_real_website.
  • Not tested: the rendered screen, a real search, or a built AppImage.

🤖 Generated with Claude Code

Many businesses put an Instagram, Facebook or Linktree page in Google's
website field. Those leads are the ones without a site of their own, but
they were counted as having one.

The rule lives in contacts.has_real_website and now backs the Has/No
website panel filters, the Website chip, the search option and
--require-website, and the "with website" count. The card keeps the link
and labels its button "Social".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@DariusDev16
DariusDev16 merged commit ab7d037 into main Nov 9, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants