Send Google Analytics events from Firefox extension background page
===

I'm trying to send Google Analytics events from Firefox extension background page. As there is no window object in the background page, I can't use the ga.js library. Is there a way to work around it in Javascript other than sending events from the content scripts?

Thanks, Noam