We want to include some basic usage analytics in our extension. I know mozilla is big on privacy which I love, but I think basic usage analytics is still ethical.
We followed the blog post Using Google Analytics in Extensions and it worked for three weeks and then following an update it stopped working in a very peculiar way. We’ve poured over the code and haven’t figured out the problem.
In case you’re curious here is the yet unanswered stack overflow question that explains the whole thing.
Paste the following snippet into the
</head>tags on the page that you want to track.
Thank you in advance!
UPDATE: I found an option to use mixpanel from a node package (rolled up into the extension with a build tool) instead of loading a content script. I think this method should be okay with the reviewers but not 100% positive.