Set up a Scarf Organization for your project. You will see each Organization you belong by clicking on “Organizations” in the navbar or under the drop-down menu at the top right.
Track artifact downloads with Scarf Gateway, which sits in front of artifact downloads through a custom domain and redirect to track information about Docker containers, files, npm packages, or Python packages that are downloaded.
Set up a new package URL via the Scarf Gateway within your Scarf Dashboard, and configure your package to redirect to wherever your artifacts are currently hosted.
Update installation and setup documentation to direct users to use the gateway.
Update installation scripts, helm charts, docker compose files, etc to fetch resources through your Scarf Gateway endpoint.
Check that the Package is set up properly by the artifact and seeing that it shows up in your Scarf Dashboard.
Documentation and/or website tracking with a Scarf Pixel:
Use dependencies like scarf-js to automatically add postInstall telemetry to your npm packages.
After testing the various methods you can use to measure downloads, views, and access with Scarf, build a plan for what you want to track and what sort of data you want to see.
Roll out Scarf tracking to all your projects/sites.