How to track downloads from the Eclipse update site?

I have a plugin that I distribute through the Eclipse update site. I want to track how many times it loads, and preferably by whom.

For regular pages on my site, I can use Google analytics. However, Eclipse does not use HTML files when switching to update sites.

Is there a way to do this when I don't have access to apache hosting?

+3
source share
3 answers

AFAICT, your only option is to work with web server logs. I wrote this article about tracking download site updates using AWStats, but this requires some server-side configuration. However, this is only once. After that, you use AWStats using your "web interface".

+1
source

The cryptic trick you can do is add a dummy function to your site.xml that points to the counting page instead of the .jar file. For example.

<feature url="http://yourcountersite.com/counterpage.php" id="" version=""> 
  <category name="YourCategory"/> 
</feature> 

The update manager will contact the counter page when he tries to install material from your update site, but otherwise ignores this function.

+2
source

- URL eclipse?

, . , ( , HTTP-)

+1
source

Source: https://habr.com/ru/post/1705538/


All Articles