Skip to content

docs: add Scarf telemetry pixel and route pulls through Scarf gateway - #337

Merged
mefellows merged 5 commits into
masterfrom
feat/scarf-telemetry
Jun 25, 2026
Merged

docs: add Scarf telemetry pixel and route pulls through Scarf gateway#337
mefellows merged 5 commits into
masterfrom
feat/scarf-telemetry

Conversation

@Ilia

@Ilia Ilia commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Routes the docker run commands in the README through the Scarf Docker gateway at docker.pactflow.io/pactfoundation/pact-broker, so image pulls from the documented examples are counted by default. The canonical docker pull pactfoundation/pact-broker is now the documented opt-out, mirroring the swagger-ui anonymized-analytics pattern.
  • Adds a Scarf README pixel (HTML <img> form with referrerpolicy="no-referrer-when-downgrade") using pixel UUID f0adca49-1631-4f0b-8914-366ea390b5c8.
  • Adds an ## Anonymized analytics section disclosing what's collected and how to opt out.
  • CHANGELOG entry under Unreleased.

No application, image, or CI changes. Pact-Foundation maintainers' Scarf account owns the gateway and pixel.

Part of PACT-6978 under epic PACT-6977 (Scarf rollout across the Pact Broker repos).

Test plan

  • Confirm the rendered README on github.com shows the analytics section and the pixel (invisible 1x1).
  • Confirm Docker Hub README impressions register on the Scarf dashboard.
  • Confirm pulls via docker run --rm -it --entrypoint /bin/sh docker.pactflow.io/pactfoundation/pact-broker:latest -c 'uname -sm' complete successfully and appear on the Scarf Docker Package.
  • Confirm the canonical docker pull pactfoundation/pact-broker continues to work unchanged for users who opt out.

Ilia added 5 commits June 25, 2026 10:38
…disclosure

Switches the documented `docker run` commands from the canonical
`pactfoundation/pact-broker` to the Scarf Docker gateway URL
`docker.pactflow.io/pactfoundation/pact-broker`, so installs are
counted by default. Canonical `docker pull pactfoundation/pact-broker`
is now the documented opt-out, mirroring the swagger-ui
anonymized-analytics section style.

Adds a Scarf README pixel (HTML <img> form recommended by Scarf for
GitHub READMEs, pixel UUID f0adca49-1631-4f0b-8914-366ea390b5c8) and an
"Anonymized analytics" section disclosing what's collected and how to
opt out.

Part of PACT-6978.

No application, image, or CI changes.
Per Scarf's GitHub obfuscation guidance
(https://docs.scarf.sh/web-traffic/#obfuscation-on-github), GitHub's
camo image proxy rewrites image URLs to camo.githubusercontent.com,
which both strips the referrer and obscures which page is being
viewed. Adding the `page=README.md` query param tags the pixel
impression with its source page so it still attributes correctly.
…ssions

Replaces the vague "anonymized download analytics" line with Scarf's
documented categories — system and OS statistics, company information,
and downloads by versions/tags — plus the explicit "no IP storage, no
cookies, no PII" reassurance from Scarf's privacy policy. Links to the
authoritative Scarf docs pages for both mechanisms (Docker Package and
web-traffic pixel) so the disclosure stays accurate as their policy
evolves.
Adds a "For more information" pointer to the Pact Foundation's central
telemetry page from the Anonymized analytics section, so readers can
find the canonical Pact-wide telemetry policy without having to chase
Scarf's docs in isolation.
Reverts the enumerated Scarf-categories paragraph back to the tighter
"anonymized download analytics" wording that mirrors swagger-ui's
style. The data-categories detail belongs on docs.pact.io/telemetry,
which is already linked from this section.
@Ilia
Ilia requested a review from mefellows June 25, 2026 01:39
@mefellows
mefellows merged commit 3d23b22 into master Jun 25, 2026
1 check passed
@mefellows
mefellows deleted the feat/scarf-telemetry branch June 25, 2026 01:40
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