So i have this correct... you created a custom function for other people to download... you want to track how many people are using it on their websites?
well the best you can do is track how many times its downloaded, or include some kind of code in that function that will "call home" to your server and tell you its being used