Google Analytics is one free option, but it is not geared towards extensions. Maybe someone had a better experience with a different tool and could share their story?
Most traditional web analytics tools’ JavaScript snippets are actually just wrappers for creating complex image beacons, which means you can use code to send the information you need without using the traditional JS snippet in a fashion a little closer to a straightforward GET call.
What does your extension do? The kinds of calls you’d want to create are different depending on whether your extension is, say, a Honey clone or a pop-up language dictionary.
Feel free to shout (email is in profile) - I do unconventional analytics in my day job.
I have GA setup to track which extension features are invoked to get some insight how the extension is being used. It felt a bit hacky setting up the analytics and making custom dashboards though. That's why I wondering if someone has found a better tool...
Unless your extension has some really unusual usage patterns based on what it does, I'd say you did the best thing already.
As far as free tools for usage analysis go, GA is kind of a gold standard. It's not at all crazy that you're tracking an extension rather than a website. Plenty of stuff gets similar tracking out in the wild: most mobile apps, set-top boxes, game consoles, the list goes on.
Just out of curiosity, what feels so hacky/odd to you about it?
The hacky part for me is cross-site loading and using older version of GA library. For some reason I could not get it to work with the latest GA library.
Hey, whatever works!