Use puppetstats puppet module

Use the puppetstats puppet module within the module you want to track statistics for. Update your metadata.json and add kschu91-puppetstats as a dependency.

"dependencies": [
        "name": "kschu91-puppetstats",
        "version_requirement": ">=0.4.0"

The simplest way to start tracking statistics is to include the puppetstats class somewhere in your module.

puppetstats { 'username-modulename': }

For more details go to the puppetforge page and have a look at the module documentation.

Register your module at puppetstats

Your module is now ready to track statistics. However, you need to register your module at puppetstats to finally activate it. Just search for your module and follow the steps. It´s easy.