Skip to content

Write · stage 1 of 6

Topics and preference centre

Let readers choose what they get instead of leaving entirely. Subscription topics split your mail into streams, and a hosted preference page lets each reader opt in or out of each one.

Topics for each stream

Create a topic per newsletter or kind of announcement. A broadcast sent for a topic skips everyone who opted out of it, and contacts with no preference are included.

A page readers manage themselves

The preference page lists the audience’s topics and an “unsubscribe from all”, from a personal link in every email. No account, no login, and it works without JavaScript.

Your look, their language

Each audience sets its logo and colour. The page speaks English, Danish or German from the visitor’s browser, with a switcher at the bottom.

Create a topic and send for it

typescript
const { topic } = await poststack.subscriptionTopics.create({
  name: 'Product updates',
  description: 'New features, about once a month.',
});

const broadcast = await poststack.broadcasts.create({
  segment_id: 'seg_r4t7y1u5i9o3p6a2s8d0f4g7',
  topic_id: topic.publicId,
  from: 'Acme <news@yourdomain.com>',
  subject: 'New in December',
  html: '<p>Hi {{first_name}}…</p><p><a href="{{preferences_url}}">Email preferences</a></p>',
});

Use cases

Several newsletters

A weekly digest and a monthly product letter as two topics: a reader tired of the weekly keeps the monthly.

Events and offers

Event invitations and discounts as separate topics, so people who want one are not lost over the other.

Fewer unsubscribes

The unsubscribe page links to the preference page, where a reader can leave one topic instead of everything.

How it works

Topics are an opt-out model: a contact receives a topic’s broadcasts until they leave it. Signup forms and imports can opt contacts into a topic explicitly, and the topic lists its subscribers.

Every change on the preference page is recorded. Leaving a topic is stored on the contact, unsubscribing from all marks the contact unsubscribed and fires contact.unsubscribed, and ticking it again re-subscribes them, records their consent and fires contact.subscribed.

The unsubscribe link in every broadcast and workflow email is a button on a page rather than a plain link, so security scanners that open links cannot unsubscribe anyone. One-click unsubscribe headers let Gmail, Yahoo and Outlook show their own button as well.

Every parameter, limit and example is in the documentation.

Frequently asked questions

What is the difference between leaving a topic and unsubscribing?

Leaving a topic stops only broadcasts sent for that topic; the contact keeps getting your other mail. Unsubscribing stops all of that audience’s marketing mail, and with the default unsubscribe scope its transactional mail too.

How do readers reach the preference page?

From the unsubscribe page and from {{preferences_url}} in your templates. The link is personal, so no login is needed.

Can the preference page carry my brand?

Yes. Each audience, and each brand within a team, sets its own logo and colour. The page is in English, Danish or German depending on the visitor’s browser.

Keep reading

Send your first email in the next five minutes

3,000 emails a month free, forever. No credit card, and hosted in the EU from the first send.