views:

54

answers:

1

I've got a greasemonkey script and I'd like to get an idea of how many regular users I have, what I'd really like is to use Google analytics inside the script. But I'm not sure how to do it if it's even posible.

Also, the site the GM script is running on also has Analytics so would this clash prevent me from doing it?

A: 

You can dynamically insert the Google Analytics Tracker with Dojo after the page has loaded http://ajaxian.com/archives/google-analytics-after-onload-and-documentwrite-for-xhtml but I don't think using analytics with userscripts is a good idea.

antimatter15