30 days free. No credit card. Full access from the moment you connect your site.

Start free trial

MailerPress Get Contact Stats

mailerpress/get-contact-stats returns rolled-up engagement for a contact: total opens, total clicks, total unsubscribes, attributed WooCommerce revenue and the last-activity timestamp.

An optional campaign ID narrows it to one campaign.

At a glance

Abilitymailerpress/get-contact-stats
ToolsetMailerPress — toolset/mailerpress
GroupMailerPress › Contacts
RequiresAcrossAI Pro, plus MailerPress active on the site
Capabilitymanage_options
SafetyRead-only — changes nothing
RepeatableIdempotent — running it twice leaves the same result
Ships inAcrossAI Pro 0.9.16 and later

How it works

The last-activity timestamp is the most operationally useful field. It is the single number that distinguishes an engaged contact from a dormant one, and it is what a re-engagement segment is usually built on.

Attributed revenue is the one that carries weight in a commercial conversation and the one to treat carefully. It attributes a WooCommerce purchase to a click in an email, which is one model of attribution among several — a customer who would have bought anyway is counted the same as one persuaded.

It also requires the WooCommerce integration and tracking to have been on at send time. Zero revenue on a site without those is a configuration fact rather than a performance one.

Narrowing to one campaign turns this into a per-campaign per-contact view, which is how you check whether one specific send reached and moved one specific person.

Input

NameTypeRequiredWhat it is
contact_idintegerYesThe contact.
campaign_idintegerNoNarrow to one campaign.

What comes back

NameTypeWhat it is
statsobjectTotal opens, clicks, unsubscribes, attributed revenue and last activity.
successbooleanWhether the call completed.
messagestringA one-line summary of what happened, suitable for showing a human.
error_codestringPresent only on failure — a stable machine-readable reason, such as a missing field, a wrong field type or an unmet confirmation.

Example

Ask your assistant:

How engaged is this contact?

It resolves to one call:

{
  "ability": "mailerpress/get-contact-stats",
  "parameters": {
    "contact_id": 118
  }
}

Worth knowing

  • Last activity is the field that separates engaged from dormant.
  • Revenue attribution credits a click, which is one model among several.
  • Zero revenue without WooCommerce and tracking is configuration, not performance.
  • Read-only.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading