Set up a Scarf Organization for your project. You will see each Organization you belong by clicking on “Organizations” in the top nav or under the dropdown menu at the top right.
Track downloads with Scarf Packages:
WHAT IS A PACKAGE: Packages sit in front of downloads creating a redirect (new URL) through the Scarf Gateway to track information about Docker containers, files, npm packages, or Python packages.
Embed the Pixel in the HTML for the pages you want analytics for (whether on your site or on third-party sites).
Check that the Pixel is loading by opening the page you’ve embedded it on and seeing that it shows up in your Scarf Dashboard.
Link tracking and social monitoring:
Create a new URL in the Scarf Gateway as a redirect/link shortener to your website, YouTube, Hacker News, or other sites.
When posting links on social media, use the new Scarf URL instead of the main link. Usage data will then be available in the Scarf Dashboard.
Basic call home functionality:
Create a basic URL in Scarf Gateway that will act as an endpoint for your applications to ping.
Point the Scarf URL to any page you want to track.
In your software, issue an async web call/ping/or page load using (your favorite tool/library/or command, i.e., curl/libcurl, etc.). Note: You can call this on start, daily, every time something runs, up to you. You can throw away the result; the mere background call to open the URL is enough.
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.
Protip: Update your documentation and tutorials to point to your custom Scarf URL.