Every SaaS landing page has one. That floating bubble in the bottom-right corner, usually blue or purple, pulsing gently to get your attention. Intercom, Drift, Crisp, Tawk.to, Zendesk, HubSpot, Tidio - the chat widget has become as standard as a footer. Screenshots come back with the bubble covering content. Competitor tech stack audits? The widget reveals which tools a company uses. Layout testing gets unpredictable DOM elements thrown in that shift your baseline.
ScreenshotRun already has a block_chats parameter that removes chat widgets from screenshots. But blocking and detecting are different tasks. Blocking hides the widget so your capture looks clean. Detecting tells you which chat provider a site uses, where the widget renders, how much viewport space it occupies, whether it loads an iframe or injects shadow DOM. This post covers the detecting side - using the Page Analysis API to identify chat widgets on any URL programmatically.
Chat widget DOM signatures
Each chat provider leaves a distinct footprint in the DOM. Some inject an iframe. Others append a div tree with branded class names. A few use shadow DOM to isolate their styles. Here are the signatures we check for across the ten most common providers:
Intercom creates a container with #intercom-container and loads its messenger inside a nested iframe. The launcher button sits in #intercom-lightweight-app-launcher or inside the container as .intercom-launcher. Older installations use #intercom-frame.
Drift injects elements with IDs starting with drift-. The main widget lives in #drift-widget, the frame in #drift-frame-controller, the chat button in #drift-frame-chat. All are iframes loaded from js.driftt.com.
Crisp uses a class-based pattern: .crisp-client wraps everything. The chat box renders inside [data-crisp-loaded] elements, and the script loads from client.crisp.chat.
Tawk.to and Zendesk take different approaches. Tawk.to matches [class*="tawk-"] broadly - the main container is an iframe from embed.tawk.to, wrapped in a div with dynamic class names that always contain the "tawk" substring. Zendesk uses #launcher or [data-product="web_widget"] for its Web Widget (older installations use #webWidget, and the script loads from static.zdassets.com).
HubSpot injects #hubspot-messages-iframe-container containing an iframe from app.hubspot.com. The launcher bubble sits inside this container. LiveChat is similar - it creates #chat-widget-container with iframes from cdn.livechatinc.com, though some installations use [data-lc-version] attributes instead.
Tidio appends #tidio-chat as its main container, with the iframe loading from widget-v4.tidiochat.com. Chatwoot uses .woot-widget-holder as the wrapper - self-hosted installations may use custom domains but keep the same class names, with the bubble itself in .woot-widget-bubble. And HelpScout (Beacon) injects an iframe with #BeaconFabricFrame as the launcher; the full widget opens in a separate iframe identified by Beacon-related attributes.
Detecting chat widgets with Page Analysis
Send the URL to the /v1/analyze endpoint and filter the response for chat provider patterns. Request the interactive category since chat widgets contain clickable launcher buttons, iframes, input fields, embedded scripts.
import httpx, re
API_KEY = "YOUR_API_KEY"
resp = httpx.post(
"https://api.screenshotrun.com/v1/analyze",
headers={"Authorization": f"Bearer {API_KEY}"},
json={
"url": "https://saas-company.example.com",
"include": ["interactive"],
"delay": 3,
},
timeout=30,
)
data = resp.json()
CHAT_SIGNATURES = {
"Intercom": ["intercom-container", "intercom-launcher", "intercom-frame",
"intercom-lightweight"],
"Drift": ["drift-widget", "drift-frame", "js.driftt.com"],
"Crisp": ["crisp-client", "crisp.chat"],
"Tawk.to": ["tawk-", "embed.tawk.to"],
"Zendesk": ["zdassets.com", "web_widget", "webWidget"],
"HubSpot": ["hubspot-messages", "app.hubspot.com"],
"LiveChat": ["chat-widget-container", "livechatinc.com"],
"Tidio": ["tidio-chat", "tidiochat.com"],
"Chatwoot": ["woot-widget", "chatwoot"],
"HelpScout": ["BeaconFab", "helpscout.net"],
}
detected = {}
for el in data.get("interactive", []):
el_str = " ".join([
el.get("id", ""),
el.get("class", ""),
el.get("src", ""),
el.get("href", ""),
]).lower()
for provider, signatures in CHAT_SIGNATURES.items():
for sig in signatures:
if sig.lower() in el_str:
if provider not in detected:
detected[provider] = []
detected[provider].append({
"tag": el.get("tag"),
"rect": el.get("rect"),
"match": sig,
})
if detected:
for provider, elements in detected.items():
print(f"{provider}: {len(elements)} element(s)")
for el in elements:
r = el["rect"]
if r:
print(f" {el['tag']} at ({r[0]},{r[1]}) "
f"{r[2]}x{r[3]}px — matched '{el['match']}'")
else:
print("No chat widget detected")
Setting delay: 3 matters here. Chat widgets typically load after the main page content - Intercom's script initializes 1-2 seconds after DOMContentLoaded, Drift actually waits for window.onload, Tidio defers its iframe injection. Without the delay, you'll probably scan the DOM before the widget exists. We missed that the first time around - the scan came back empty and we thought the site had no chat at all.
When the metadata matters more than a clean capture
Setting block_chats=true already removes chat widgets from screenshots. Set it and the capture comes back clean. But what if you need to know which provider is running, not just hide it? That's where detecting comes in:
Sales teams qualify leads by identifying what tools a prospect already uses. If a company runs Intercom, that tells you something different than if they run Tawk.to (free tier vs paid, support maturity, budget range). Competitive intelligence teams track which chat providers competitors adopt, switch between, reconfigure, or drop entirely - weekly scans across 50-100 competitor URLs, logged over time, build a clear picture.
Chat bubbles also cover content. On mobile, an Intercom launcher can obscure a CTA button or overlap a form field. Bounding rectangles from the API tell you exactly what the widget covers and how many pixels it steals. GDPR requires disclosure when chat conversations are recorded, so compliance teams need to verify that chat widgets on regulated pages include recording notices. And QA teams catch configuration problems early - a chat widget loading unexpectedly on a checkout page or error page shouldn't happen, but it does.
For popup detection on the same pages, see our popup detection guide. For ad detection, see the ad detection walkthrough.
How much screen space does the widget eat?
Chat widgets typically occupy a small area - the launcher bubble is around 60x60 pixels. But when open, the chat panel expands to 350-400px wide and 500-600px tall, covering 15-25% of the mobile viewport. That's enough to hide a CTA or bury a form. Calculate the coverage from bounding rectangles:
MOBILE_WIDTH = 390
MOBILE_HEIGHT = 844
viewport_area = MOBILE_WIDTH * MOBILE_HEIGHT
for provider, elements in detected.items():
total_area = 0
for el in elements:
r = el["rect"]
if r:
# Clamp to viewport
ox = max(0, min(r[0] + r[2], MOBILE_WIDTH) - max(r[0], 0))
oy = max(0, min(r[1] + r[3], MOBILE_HEIGHT) - max(r[1], 0))
total_area += ox * oy
pct = total_area / viewport_area * 100
print(f"{provider}: {pct:.1f}% of mobile viewport")
A closed Intercom bubble covers about 1% of a mobile viewport. An open Drift chat panel? 15-25%. For UX audits, knowing these numbers before the page goes live prevents support widgets from accidentally hiding conversion elements. 60x60 pixels doesn't sound like much until it lands right on your primary CTA.
Batch scanning for tech stack intelligence
Scanning a single URL is useful for debugging. The real value comes from scanning at scale - mapping chat widget usage across competitor sets, industry verticals, prospect lists, partner directories.
import httpx, json, csv
API_KEY = "YOUR_API_KEY"
urls = json.load(open("prospect-list.json"))
results = []
for entry in urls:
url = entry["url"]
try:
resp = httpx.post(
"https://api.screenshotrun.com/v1/analyze",
headers={"Authorization": f"Bearer {API_KEY}"},
json={"url": url, "include": ["interactive"], "delay": 3},
timeout=30,
)
data = resp.json()
providers = detect_chat_providers(data) # reuse function above
results.append({
"company": entry.get("company", ""),
"url": url,
"chat_provider": ", ".join(providers) if providers else "none",
"widget_count": sum(len(v) for v in providers.values()) if providers else 0,
})
except Exception as e:
results.append({"company": entry.get("company", ""), "url": url,
"chat_provider": f"error: {e}", "widget_count": -1})
with open("chat-stack-report.csv", "w", newline="") as f:
writer = csv.DictWriter(f, fieldnames=["company", "url", "chat_provider", "widget_count"])
writer.writeheader()
writer.writerows(results)
print(f"Scanned {len(results)} sites → chat-stack-report.csv")
Sales teams at chat software companies use exactly this approach to identify prospects running competitor products. We ran this across a list of 200 SaaS homepages last month - 68% had one of these ten providers. If 30 companies on your list use Tawk.to (free) and your product is a paid upgrade, that's a qualified lead list built from public data.
Where DOM-based scanning breaks down
Some chat providers (newer Intercom builds, some Zendesk configurations) render their widget inside shadow DOM. Standard DOM queries can't reach elements inside a shadow root. Page Analysis traverses the light DOM tree - shadow DOM elements may not appear in the response. For these cases, checking for the parent container (#intercom-container, [data-product="web_widget"]) still works even when the internal structure is hidden.
Many sites only load chat widgets on specific pages - pricing, support, dashboard - but not on the blog or marketing pages. If you scan the homepage and find nothing, that doesn't mean the site has no chat widget. Scan 3-5 pages including /pricing and /contact for reliable results. But what about widgets that only show for returning visitors? Some implementations gate the chat behind cookies or login state. First visits get no widget. Since the API makes a fresh request each time (no stored cookies), you'll miss these unless you use the cookie injection parameter to pass session cookies.
Companies that build their own chat (not using a third-party provider) won't match any known signatures. These show up as generic iframe or div elements without branded identifiers. You can still spot them by looking for elements positioned in the bottom-right corner with small dimensions (the chat bubble pattern), but false positive rates go up.
Detect first, then capture clean
The workflow we use most: find out what chat widget a page has, log it, then capture a clean screenshot with the widget removed. Two API calls per URL - one to analyze, one to capture.
# Step 1: Detect
curl -X POST https://api.screenshotrun.com/v1/analyze \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com", "include": ["interactive"], "delay": 3}'
# Step 2: Capture clean
curl -G "https://api.screenshotrun.com/v1/screenshots/capture" \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "url=https://example.com" \
--data-urlencode "block_chats=true" \
--data-urlencode "block_cookies=true" \
--data-urlencode "format=png" \
--data-urlencode "full_page=true"
If you only need clean screenshots without caring which widget was present, skip the analysis call and just use block_chats=true directly. The analyze call is for when metadata matters - tech stack reports, compliance audits, UX reviews, sales prospecting.
Coverage and blind spots
DOM-based scanning reliably identifies the ten major chat providers that account for the vast majority of the market. Intercom alone powers chat on roughly 1.3 million websites. Tawk.to claims over 4 million. Between the ten providers listed above, you cover an estimated 85-90% of sites that have live chat.
What it misses: custom-built chat systems with no third-party signatures, chat widgets loaded only for logged-in users (cookie-gated), widgets inside shadow DOM that don't expose container-level identifiers, chatbots embedded as page content rather than floating overlays (like FAQ bots rendered inline). For the standard floating-bubble chat widget that most SaaS sites deploy, the approach above catches it reliably.
Two hundred free API calls per month on the free plan is enough to scan a prospect list of 60-70 companies (analyzing 3 pages each for reliable results). You probably don't need to scan every page on every site. For larger-scale tech stack research, the Starter plan handles thousands of scans monthly.
FAQ#
The API detects the ten most common chat widget providers through their DOM signatures: Intercom, Drift, Crisp, Tawk.to, Zendesk, HubSpot, LiveChat, Tidio, Chatwoot, HelpScout (Beacon). Each provider leaves identifiable patterns in element IDs, class names, iframe sources, or script domains. These ten cover an estimated 85-90% of sites running live chat.
The block_chats parameter removes chat widgets from screenshots so your capture looks clean. Detection tells you which chat provider a site uses, where the widget renders on the page, how much viewport space it occupies. Use block_chats when you want clean screenshots. Use detection when you need the metadata - tech stack analysis, competitive intelligence, UX audits, compliance checks.
Chat widgets load after the main page content. Intercom initializes 1-2 seconds after DOMContentLoaded. Drift waits for window.onload. Tidio defers its iframe injection. A delay of 3 seconds gives these scripts time to execute and inject their DOM elements before the analysis runs. Without it, you might scan the page before the widget exists.
Custom-built chat systems that do not use a third-party provider will not match known DOM signatures. They appear as generic iframe or div elements without branded identifiers. You can look for elements positioned in the bottom-right corner with small dimensions (the typical chat bubble pattern), but false positive rates go up. The signature-based approach works reliably for the ten major providers.
The Page Analysis API returns bounding rectangles for each detected element. Calculate the overlap between the widget rectangle and your target viewport dimensions. A closed Intercom bubble covers about 1% of a mobile viewport. An open Drift chat panel can cover 15-25%. The code examples in this post show the exact calculation.
Many sites load chat widgets on pricing, support, or dashboard pages but not on the blog or marketing pages. Scanning just the homepage might miss the widget entirely. For reliable detection, scan 3-5 pages per site including /pricing and /contact. Some sites also gate widgets behind cookies - only returning visitors see the chat bubble.