How to get plugin statistics?

Since Adobe does not provide even the basic data of how many users have installed the plugin, I thought it might be a good thing to track some stats myself. So a couple of questions:

  • Is it allowed to collect at least some stats straight in a plugin?
  • If so, how? Could we add some Google Analytics script or something? Would that work because of some cookie limitations and what not? Is there some example maybe?
1 Like

Hi @Karmalakas ,

Generally speaking, it is allowed to gather analytics data in your plugins (many developers, including myself in some of my plugins) do this.

Typically, it isn’t as easy as just integrating a Google Analytics script into a website, since the lifecycle of a plugin is different (you don’t really want to count “page visits”.

Depending on what analytics provider (Google Analytics/ Matomo/ …), you’ll need to (a) include a library to “ping” (for lack of a better term) the provider and (b) call the functions from this library whenever an event you’d like to track occurs.

Apart from the technical side, the “judicial” side can be more challenging:

Since you’re probably distributing your plugins to both businesses and consumers all around the world, compliance with the various privacy laws can be more challenging than the technical side of things (but also the technical side of things, like gathering consent from your users, plays into this). So I suggest looking out for that when implementing such a solution (unless you like to “live dangerously”). Personally, I (to make it easier for me) created my own analytics solution for plugins to make it gather as few bits of data as possible (to make that judicial side of things easier on myself).

Therefore, overall, it’s definitely possible and “allowed” to gather analytics yourself, but at least if you want to be safe from a judicial point of view, it can definitely be challenging to implement this in a “clean” way.

I hope this helps,
Best,
Pablo

1 Like

I wouldn’t need much. In fact I’d love for Adobe to just provide install count (at least for now). I wonder why they are not providing such a crucial info. One could track installs of paid plugins, but there’s no way for free ones. Also some might need much more - like how many times panel gets open or some command executed and so on. Adobe has huge Analytics product - I just don’t get it why this is still not implemented (or just hidden from developers?)

It’s like developing plugins and releasing them to the void without any idea if someone uses them :frowning: Well… At least I know I use my plugins :smiley:

4 Likes