> For the complete documentation index, see [llms.txt](https://wpcloudplugins.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wpcloudplugins.gitbook.io/docs/global-options/statistics.md). Agents can also search and read this documentation through its [MCP server](https://wpcloudplugins.gitbook.io/docs/~gitbook/mcp).

# Statistics

Enable event logging, configure email summaries, and integrate with Google Analytics for in-depth insight into plugin usage.

| Setting                          | Description                                                                                                                                                                                              |
| -------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Log Events**                   | Register all plugin events.                                                                                                                                                                              |
| — Retention Period               | Please select for which period the events should be stored.                                                                                                                                              |
| — Summary Email                  | Email a summary of all the events that are logged with the plugin.                                                                                                                                       |
| —— Interval                      | Please select the interval the summary needs to be send.                                                                                                                                                 |
| —— Recipients                    | Set to which email address(es) the summary should be send.                                                                                                                                               |
| — Use Webhook                    | Send automated messages (JSON data) to another application for every event logged by the plugin.                                                                                                         |
| —— Webhook Endpoint URL          | The listener URL where the JSON data will be send to.                                                                                                                                                    |
| —— Webhook Secret                | The events send to your endpoint will include a signature. You can use this secret to verify that the events were sent by this plugin, not by a third party. See the documentation for more information. |
|                                  |                                                                                                                                                                                                          |
| **Use Google Analytics tracker** | The plugin will send its events to Google Analytics if your Google tracker has been added to your site.                                                                                                  |
