Tracking method for QGIS Plugin Usage

64 Views Asked by At

I have a QGIS3 python plugin that I would like to track its users' usage. Is it possible to add a http request to the headers? How can I do it?

1

There are 1 best solutions below

0
On

The biggest obstacle is that an http request package should be installed (like requests). This easy to do in the osgeo4w shell for a particular installation of QGIS, but it can't be done from within a plugin (as far as I can tell).

However, there's nothing to stop you from inserting requests.post(path,headers,data) into your plugin script files.