# Tools

This guide explains the Tools available in Easy Digital Downloads, where you can recount stats, manage API keys, view logs, import and export data, and troubleshoot your store. You&#039;ll find them under **Downloads** » **Tools**.

The **Tools** page is divided into eight tabs.

1. [General](#general)
2. [API Keys](#api)
3. [Event Logging](#event-logging)
4. [Scheduled Actions](#scheduled-actions)
5. [System Info](#system-info)
6. [Debug Log](#debug-log)
7. [Import/Export](#import-export)
8. [Labs](#labs)



---

General
-------

The General tab holds: **Recount Stats** and **Restart the Setup Wizard**.

![The Easy Digital Downloads Tools dashboard.](https://easydigitaldownloads.com/wp-content/uploads/2022/01/easy-digital-downloads-tools-general.png)**Recount Stats** is a set of tools to recount or reset your store&#039;s stats. Stats like earnings and sales are cached for the sake of speed. Occasionally those stats get out of sync with the actual totals and need to be reset.

![The EDD Tools General tab.](https://easydigitaldownloads.com/wp-content/uploads/2022/01/edd-tools-general-recount-stats-options.png)Choose an option from the dropdown and click **Submit**:

- **Recount Store Earnings and Sales:** Recalculates your total store earnings and sales.
- **Recount Earnings and Sales for a Download:** Recalculates the stats for one specific product.
- **Recount Earnings and Sales for All Downloads:** Recalculates the stats for every product.
- **Recount Customer Stats:** Recalculates the lifetime value and purchase counts for all customers.
- **Reset Store:** Deletes all payment records, customers, and related log entries.

⚠️ **NOTE:** Reset Store really deletes ALL of your store transaction data. You&#039;ll keep your products, but all sales, customers, and related logs are removed. This action is irreversible, so use it with care.

**Restart the Setup Wizard:** Once you&#039;ve completed or exited the onboarding wizard, the General tab also contains a restart button you can use to run through it again at any time.

See our full guide on [completing the Setup Wizard](https://easydigitaldownloads.com/docs/setup-wizard/).

---

API Keys
--------

Each user can have API keys for interacting with EDD&#039;s REST API.

To create a set, choose a user from the **Select a User** dropdown and click **Generate New API Keys**. Each user gets a Public Key, Token, and Secret Key.

![Generating an API Key under EDD Tools.](https://easydigitaldownloads.com/wp-content/uploads/2022/01/edd-user-api-key-generated.png)The table lists each user&#039;s keys along with the last time they were used. Whether non-admin users can generate their own keys is controlled by the [Allow User Keys setting](https://easydigitaldownloads.com/docs/general-settings/#api) under **Downloads** » **Settings** » **General** » **API**.

For details on using the API, see the [REST API documentation](https://easydigitaldownloads.com/docs/edd-api-reference/).

EDD also offers an [iOS app](https://apps.apple.com/us/app/easy-digital-downloads-2/id1169488828) that connects to your store with these API keys so you can check your stats on the go. See the [iOS app guide](https://easydigitaldownloads.com/docs/ios-app/) for setup.

---

Event Logging
-------------

The **Event Logging** tab records store activity and lets you control how long logs are kept. It has four sub-tabs:

- **File Downloads:** A log of files downloaded by customers (Log ID, Download, Customer, Order Number, File, IP Address, User Agent, Date). Filter by date range or by a specific download.
- **Payment Errors:** Gateway and payment error logs.
- **API Requests:** REST API request logs.
- **Settings:** Log retention settings (below).

![The Event Logging File Downloads tab in Easy Digital Downloads tools.](https://easydigitaldownloads.com/wp-content/uploads/2022/01/edd-tools-settings-event-logging-file-downloads-800x218.png)**Log Retention Settings**

Under the **Event Logging** » **Settings** sub-tab, you can keep your database clean by automatically pruning old logs.

![The Event Logging Log Retention Settings dashboard in Easy Digital Downloads.](https://easydigitaldownloads.com/wp-content/uploads/2022/01/edd-tools-event-logging-settings.png)**Enable Automatic Pruning:** Toggle this on to run pruning once daily. Logs older than the number of days you set are automatically deleted.

**Batch Size:** How many records are processed per pruning run. The default is 250.

The **Registered Log Types** table lets you configure retention per log type (File Downloads, Payment Errors, API Requests, Email Logs). For each, you can see the record count and database storage, toggle pruning on or off, set the days to keep, and run a one-time cleanup with **Prune Now**.

---

Scheduled Actions
-----------------

The **Scheduled Actions** tab displays the background tasks EDD has scheduled (its cron events), such as session cleanup and abandoned cart maintenance.

For each action, you&#039;ll see the Hook, Status, Scheduled Date, Recurrence, and Arguments.

![EDD Scheduled Actions in the Tools dashboard.](https://easydigitaldownloads.com/wp-content/uploads/2022/01/edd-tools-scheduled-actions-800x375.png)This view is mainly useful for troubleshooting, so you can confirm a scheduled task is running as expected.

---

System Info
-----------

The **System Info** tab takes you to the WordPress Site Health Info page, which shows detailed information about your site&#039;s configuration.

![The WordPress Site Health Info screen.](https://easydigitaldownloads.com/wp-content/uploads/2022/01/Markup-on-2025-03-21-at-100447-800x402.png)When you&#039;re working with the EDD support team, click **Copy site info to clipboard** and paste it into your support request. This information is very useful for debugging, and support may ask you for it.

---

Debug Log
---------

The **Debug Log** is where you turn on debug logging and view the results.

![The Debug Log in EDD Tools.](https://easydigitaldownloads.com/wp-content/uploads/2022/01/edd-tools-debug-log-settings.png)Enable the toggle at the top to record important information to the debug log while troubleshooting. When it&#039;s on, EDD logs specific information here that can help diagnose issues. Some situations may log information even without this enabled.

You can view the log on this screen, download it with **Download Debug Log File**, or **Copy to Clipboard** to share it with support. The log file&#039;s location on your server is shown below the log.

---

Import/Export
-------------

The **Import/Export** tab lets you move data into and out of your store.

- **Import Orders:** Import a CSV file of orders.
- **Import Download Products:** Import a CSV file of products.
- **Export Settings:** Export your EDD settings for this site as a `.json` file, which you can then import into another site to copy your configuration. This is separate from your store data. To export shop data like purchases and customers, visit the [**Reports**](https://easydigitaldownloads.com/docs/reports/) page.

![The Import/Export settings tab in Easy Digital Downloads Tools area.](https://easydigitaldownloads.com/wp-content/uploads/2022/01/edd-tools-import-export-tab-1-800x503.png)---

Labs
----

The **Labs** tab holds experimental features you can opt into. These are advanced and may change, so enable them only if you understand the trade-offs.

![Easy Digital Downloads Labs screen under Tools.](https://easydigitaldownloads.com/wp-content/uploads/2022/01/edd-tools-labs-tab-800x235.png)**Cart Performance Profiler:** Enables performance profiling for cart operations, logging data to a custom log file.

**Cart Caching (Experimental):** Enables an experimental caching layer for cart operations, which may improve performance on high-traffic sites.