
Lundy
Hi, there is a gadget I would like to have on my iGoogle page.
When I click on it I get a code, which I don't know where to paste?
It's this one: http://www.google.com/ig/directory?synd=open&num=24&url=http://quotes4all.net/quotes.xml&output=html
Answer
Those gadgets are for external websites, not for your igoogle homepage.
To add gadgets to your igoogle homepage, you need to add them from this directory...
http://www.google.com/ig/directory?root=/ig&dpos=top
Those gadgets are for external websites, not for your igoogle homepage.
To add gadgets to your igoogle homepage, you need to add them from this directory...
http://www.google.com/ig/directory?root=/ig&dpos=top
How do I know if anyone is using my gadget on igoogle?

TheAmerica
I made one and published it to the directory, but I don't know if anyone added it to their homepage...
Answer
When you write the gadget you can track it using a plethora of different methods. You can create some HTML (if it is an HTML gadget) that tracks page views like any ordinary page, if you are using a server side language like PHP or ASP you could have it simply call a javascript function and pass that info to a PHP page for collection (AJAX style), I believe you can even use cookies.
It is up to you, just put the code in your gadget and when people use it on their homepage, the gadget loads your code and executes, recording their hit.
The HTML style with PHP recording the hit I find most useful myself.
When you write the gadget you can track it using a plethora of different methods. You can create some HTML (if it is an HTML gadget) that tracks page views like any ordinary page, if you are using a server side language like PHP or ASP you could have it simply call a javascript function and pass that info to a PHP page for collection (AJAX style), I believe you can even use cookies.
It is up to you, just put the code in your gadget and when people use it on their homepage, the gadget loads your code and executes, recording their hit.
The HTML style with PHP recording the hit I find most useful myself.
Powered by Yahoo! Answers
0 comments:
Post a Comment