Example: tracking a widget change

A cluster is a snapshot, so two snapshots taken either side of a PublicWWW update can be compared. This walks through finding the sites that took up one share widget and dropped another - eight steps, with the screens they happen on.

The same shape works for any "who changed from A to B" question: two searches, two clusters, repeat after an update, subtract, intersect. Through the API these are /v1/clusters and /v1/clusters/combine with diff and and.

  1. Take a line from each widget's install code. ShareThis loads sharethis.com/button, AddToAny loads addtoany.com/menu/page.js.
  2. Search for "sharethis.com/button" and press Cluster above the results to store the domains: Search results for sharethis.com/button with the Cluster button Search results for sharethis.com/button with the Cluster button
  3. Do the same for "addtoany.com/menu/page.js", into a second cluster.
  4. Wait for a PublicWWW update, repeat both searches and store each into a new cluster. A cluster can be renamed on the clusters page - "before" and "after" in the name keep them apart.
  5. On the clusters page tick the two ShareThis clusters and press New - Old: the sites that have the code now and did not before. The clusters page with the two ShareThis clusters ticked The clusters page with the two ShareThis clusters ticked
  6. Tick the two AddToAny clusters and press Old - New: the sites that had the code and dropped it.
  7. Each operation says how many domains the new cluster holds and marks its row. Tick the two results and press AND: the sites that installed ShareThis and removed AddToAny. A new cluster marked after New - Old, and the two results ticked for AND A new cluster marked after New - Old, and the two results ticked for AND
  8. Open the result to see its sites, download it, extract from it or keep it for other operations: The resulting cluster with its domains and the row of actions The resulting cluster with its domains and the row of actions

Steps 2 and 3 must happen before the update you measure: the index as it was cannot be searched, so store a cluster whenever you run a query worth comparing later.

Next Example: extracting phones and emails