AttuneMail DocsTroubleshooting
Customer events

Design a useful event catalog

Choose stable event names and properties that make lifecycle automation understandable, testable, and safe.

Updated 2026-08-238 minInspect observed schemas

Name behavior, not UI clicks

A durable event describes a business fact. Prefer trial.started, onboarding.completed, report.exported, or subscription.cancelled over clicked_blue_button.

  • Use lowercase names with a consistent dot-separated vocabulary
  • Keep the meaning stable after launch
  • Create a new name when the business meaning changes
  • Do not place customer data in the event name

Keep properties focused

Properties explain the event and help qualify a journey. Send only values that are useful for segmentation, personalization, debugging, or goals.

PropertyGood useAvoid
planQualify onboarding by purchased planA full billing object
sourceExplain how a signup originatedUnbounded raw URLs with sensitive query data
valueMeasure a completed revenue outcomeFormatted currency strings when a number is available
occurredAtPreserve the source timestampReplacing event time with retry time

Observed schemas

AttuneMail records the observed property contract for each connection and event name. Review it before adding journey conditions. Unexpected type changes often indicate a producer regression.

A minimal track event

POST /v1/track
Copy
cURLNode.jsPython
curl -u 'ame_replace_me:' -H 'Content-Type: application/json' -d '{"messageId":"evt_01J8","userId":"cus_123","event":"onboarding.completed","properties":{"plan":"growth"}}' https://www.attunemail.com/v1/track