Pro add-on · Digital

Download Analytics for WordPress

Logs every digital download and reports counts, unique customers and daily trends.

$199/yr or $549 once — all 35 add-ons Same admin as the free core Enable or disable without losing data
What it does

Download Analytics, in practice.

Listens to the core ambikly_download_served action and inserts a row into its own ambikly_download_log table for every file served: order, customer and product ids, file name, byte count, a SHA-256 hash of the IP salted with AUTH_SALT, a truncated user agent and a site-local timestamp. GET /ambikly-pro/v1/download-analytics, readable by anyone with the view-store capability, returns the top 100 files by download count with unique customers, plus a per-day series for the requested date range, defaulting to the last 30 days. A daily WP-Cron job deletes rows older than the retention setting, and uninstalling clears the schedule.

CapabilitiesDigital
  • Logs every download the core serves
  • Own ambikly_download_log table, indexed by product, customer and date
  • IP stored only as a salted SHA-256 hash
  • Per-file report: downloads and unique customers, top 100
  • Per-day series over any from/to range
  • Default range is the last 30 days
  • Daily prune to the retention window; 0 keeps forever
  • Report readable by view-store roles such as Support Agent
Where it shows up

Storefront, admin and settings.

In the admin

  • Download report endpoint with per-file table and daily series
  • from and to query parameters to set the date range

Settings you control

  • Retention in days (default 365; 0 keeps rows forever)
For developers

Routes and hooks.

Built on the same Addon SDK as every other Pro add-on — extend it instead of replacing it.

REST routes

  • GET /ambikly-pro/v1/download-analytics

Core hooks it listens to

  • ambikly_download_served
  • ambikly_pro_download_log_prune
  • rest_api_init
When it earns its place

Three stores that want Download Analytics.

1

Course sellers checking engagement

A store selling video courses as multiple downloadable files wants to know which lessons customers actually fetch. The per-file report shows counts and unique customers, revealing modules that are downloaded once and never revisited, which guides where to improve.

2

Spotting shared download links

A stock-asset store notices one file with far more downloads than unique customers. That ratio in the report prompts a check of the order behind it, and pairs well with PDF Stamping so any copy that surfaces can be traced.

3

Planning bandwidth after a launch

A store releasing a large software bundle watches the daily series in the weeks after launch. The curve shows when download traffic settles, informing hosting and CDN decisions with real numbers rather than guesses about demand.

Setup

From toggle to live in a few minutes.

  1. Enable it

    Ambikly → Add-ons → Download Analytics → toggle on. Pro must be active; nothing else to install.

  2. Set it up

    Open its settings panel and set: retention in days (default 365; 0 keeps rows forever).

  3. Find it in use

    The storefront surfaces, admin screens and settings it adds are listed under “Where it shows up” above; nothing needs placing by hand unless a shortcode is named there.

  4. Turn it off without losing anything

    Disable the add-on from the same screen. Its settings and data stay in place, and a lapsed license pauses it the same way — the store keeps running.

Where it fits

Part of the digital downloads story.

Expiring, tokenized download links with per-customer limits ship free. Add buyer-stamped PDFs and per-file analytics with Pro, and sell files alongside physical goods and subscriptions in one checkout.

  • Secure expiring links in Free
  • Download limits and IP logging in Free
  • No transaction fees
FAQ

About Download Analytics.

Does Download Analytics store personal data?

Only ids that already exist in your orders table, the file name, a truncated user-agent string and a SHA-256 hash of the IP address salted with your site's AUTH_SALT. The raw IP is never written, so a log row cannot be traced back to an address.

How long is download history kept?

For the number of days in the Retention setting, 365 by default. A WP-Cron event runs daily and deletes older rows. Setting retention to 0 disables pruning and keeps every row until you clear the table yourself.

Who can view the download report?

Anyone with the ambikly_view_store capability or manage_options, which covers Administrators, Store Managers and the Support Agent role. The endpoint is read-only; nothing in the add-on lets a request modify or delete log rows.

Can I see which files are downloaded most?

Yes. The report groups the log by product and file name, returning the download count and distinct customers for the top 100 files in the date range, sorted by downloads. A second series gives daily totals for charting trends.

Get Download Analytics with every other add-on.

Pro is $199 a year or $549 once, for all 35 add-ons. Enable this one from the same admin the day you need it.