All integrations

Analytics

PostHog × MailTier

Personalize messages with product analytics and feature adoption data.

Events you can act on

Turn PostHog activity into timely messages

Each event maps to a real customer moment, so journeys trigger from billing, store, product, or profile changes automatically.

  • feature_used
  • cohort_entered
  • experiment_viewed
API / send
send-email.ts 202 Accepted
await fetch(`${MAILTIER_URL}/api/send`, {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "X-API-Key": process.env.MAILTIER_API_KEY!,
  },
  body: JSON.stringify({
    from: "[email protected]",
    to: user.email,
    subject: "Your order is confirmed",
    html,
  }),
})

Setup

Connected in three simple steps

Step 01

Add destination

Authorize a narrowly scoped connection with clear ownership.

Step 02

Select events

Map identities and events to your shared customer model.

Step 03

Match user IDs

Validate the event stream, then activate the first journey.

Put PostHog data to work.

Connect the first PostHog event, validate customer identity, and launch a working journey with our team.