intellij-dlanguage icon indicating copy to clipboard operation
intellij-dlanguage copied to clipboard

anonymous feedback usage data

Open SingingBush opened this issue 7 years ago • 6 comments

The total downloads on https://plugins.jetbrains.com/plugin/8115 is the only metric we have about usage.

As well as reporting bugs via the errorHandler it would be helpful to have the plugin post some anonymous data about it's configuration whenever a D project is opened.

Of course the user should be able to control such a setting and it should default to being off. I've looked at a way to prompt the user to make a decision to enable feedback if they've not already been asked.

Essentially it would need a project component so that we can hook into the projectOpened() method to post some generic data to a webapp.

    <project-components>
        <component>
            <interface-class>io.github.intellij.dlanguage.PluginUsageFeedback</interface-class>
            <implementation-class>io.github.intellij.dlanguage.PluginUsageFeedbackImpl</implementation-class>
        </component>
    </project-components>

At a minimum it would be helpful to get an idea of how many active users there are (suspect it's a small number) but it'd also be good to know things like:

  • how many users actually configure D Tools
  • what systems are the most used
  • are most of our users on CLion or IDEA
  • what are the most common non-english locales used

dlang-plugin-usage-data-mockupmockup

Any objections/support for this then please post here. I wait for a few opinions before putting more time into it.

SingingBush avatar Jul 19 '18 14:07 SingingBush

Also created an issue for it in the Jetbrains bug tracker https://youtrack.jetbrains.com/issue/MP-1754

Makes a lot more sense for them to provide this kind of data

SingingBush avatar Jul 19 '18 20:07 SingingBush

Going in this direction, it would be good to make make some noise in https://forum.dlang.org/group/announce while releasing new versions of the plugin.

andre2007 avatar Jul 20 '18 18:07 andre2007

Turns out Jetbrains do more in the way of stats then I first realised. Here's a breakdown of our downloads:

dlanguage-downloads-unique-by-month

dlanguage-downloads-unique-by-ide

I'll keep this issue open in case we want to have additional functionality but this is fine for now. I'll put reports in our Slack channel from time to time.

SingingBush avatar Aug 04 '18 11:08 SingingBush

Do downloads include updates?

pirocks avatar Aug 05 '18 01:08 pirocks

I believe so, although I had selected the unique option. It doesn't state how they consider the download to be unique though. I've also been deleting old plugin versions so there's a possibility we may lose the associated download count for those.

SingingBush avatar Aug 05 '18 20:08 SingingBush

Thought I'd post up to date figures. Seems there was a surge of downloads in January.

dlang-plugin-downloads

Most downloads are Intellij (IC & IU) but there are some CLion and for some reason other IDE's such as PyCharm and Webstorm. Which is weird as they should not marked as supported products.

SingingBush avatar Mar 03 '19 15:03 SingingBush