Skip to content

Instantly share code, notes, and snippets.

@dustinlarimer
Last active August 29, 2015 13:57
Show Gist options
  • Save dustinlarimer/9877785 to your computer and use it in GitHub Desktop.
Save dustinlarimer/9877785 to your computer and use it in GitHub Desktop.
Sample redirect badge and image beacon for tracking Github repo visits

Badge (redirect)

Example: DO NOT USE :)

[![RepoStats](https://api.keen.io/3.0/projects/<your_project_id>/events/visit?api_key=<your_write_key>&data=<base64_encoded_data>&redirect=http://img.shields.io/badge/Stats-Keen%20IO-blue.svg)](https://github.com/<your_repo_slug>)

Beacon (pixel)

[![RepoStats](https://api.keen.io/3.0/projects/<your_project_id>/events/visit?api_key=<your_write_key>&data=<base64_encoded_data>&pixel)](https://github.com/<your_repo_slug>)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment