https://github.com/quadule/trackmarks
A Javascript library for detecting bookmarklet usage
https://github.com/quadule/trackmarks
Last synced: about 1 year ago
JSON representation
A Javascript library for detecting bookmarklet usage
- Host: GitHub
- URL: https://github.com/quadule/trackmarks
- Owner: quadule
- License: mit
- Created: 2011-09-14T09:20:21.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2012-04-20T05:38:44.000Z (about 14 years ago)
- Last Synced: 2023-04-15T11:26:24.460Z (about 3 years ago)
- Language: JavaScript
- Homepage:
- Size: 112 KB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
- License: LICENSE.txt
Awesome Lists containing this project
README
# Trackmarks
Trackmarks is a Javascript library that tracks the bookmarklets run on a page. As an example, you could use it to log an event in your analytics when someone uses Instapaper on your blog post.
## Supported services
* Delicious
* Facebook
* Instapaper
* Pinterest
* Read it Later
* Readability
* Tumblr
* Twitter
* Wordpress
## Usage
new Trackmarks(function(name, data) {
alert(name + " bookmarklet used!");
});