Clay

In Clay, PublicWWW plugs in through Clay's HTTP API with your token: check each company's site for a piece of code, or build a table of companies from one search. The API needs a paid plan.

Does this company's site use it?

An enrichment column that asks, for every row, whether the company's site contains a code fragment - a tag manager or analytics script, a chat widget, a CMS plugin. Add an HTTP API column:

SettingValue
MethodPOST
Endpointhttps://api.publicwww.com/v1/search
HeadersAuthorization: Bearer YOUR_TOKEN
Content-Type: application/json
Bodythe JSON below, with the row's domain column inserted where it says DOMAIN
{ "query": "site:DOMAIN \"googletagmanager.com/gtm.js\"", "per_page": 1 }

Read total from the response: 0 - the code is not on the site, more than 0 - it is, and results shows the page it was found on. site: with a domain searches the pages of that one site; the rest of the query is the usual query syntax.

A table of companies from one search

The other way round: start from the code and get the companies. One request returns up to your plan's rows per query:

{ "query": "\"static.hotjar.com\" site:de", "per_page": 1000 }

Each item of results is one site - domain, url and rank (1 is the most popular; empty for a site without a rank). Turn the list into rows, then enrich them with Clay's other sources as usual.

Searches and speed

Next The old export urls