> ## Documentation Index
> Fetch the complete documentation index at: https://docs.allgoodhq.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How Marketing Consent works

> How allGood decides whether someone has said yes to marketing email, which rule applies in each country, and what double opt-in does.

Some countries require more than "hasn't unsubscribed" before you send marketing email. Marketing Consent lets you set the minimum for each country, and checks it before every send. This article explains what allGood records, which rule applies to whom, and how double opt-in works. To turn it on, see [Set up Marketing Consent](https://docs.allgoodhq.com/mk/settings/marketing-consent/set-up-marketing-consent.md).

## Consent and subscription are separate

Two different things can stop a marketing email:

* **Subscription** is whether the person has opted out. The [Subscription Center](https://docs.allgoodhq.com/mk/settings/email/how-the-subscription-center-works.md) records it, and unsubscribing always stops the email.
* **Consent** is whether the person has said yes. Forms, a double opt-in link, and your CRM record it.

Ticking or unticking a box on the Subscription Center never records consent. Withdrawing consent is an unsubscribe.

## What allGood records

allGood works out a person's consent from what they did, from weakest to strongest:

| Consent | How someone gets it |
| :- | :- |
| **Denied** | Your CRM says they refused consent. No rule allows marketing email to them, not even opt-out. |
| **None** | There's no consent on record, or your CRM says it was taken back. |
| **Implicit** | A relationship that counts as consent, set up for your account. |
| **Explicit** | They opted in themselves, for example by ticking a form's consent box. |
| **Confirmed** | They opted in, then clicked the double opt-in link. |

A later form opt-in or confirmation overrides a **Denied** status. If your CRM holds a consent field, the most recent change wins, by when it happened in the CRM. A withdrawal that syncs late still counts.

## Rules

A rule is the lowest consent you accept before sending marketing email.

| Rule | Who can receive marketing email |
| :- | :- |
| **Opt-out** | Anyone who hasn't unsubscribed and wasn't denied |
| **Implicit consent** | People with implicit consent or better |
| **Explicit opt-in** | People who opted in themselves, or confirmed |
| **Double opt-in** | Only people who confirmed |

## Which rule applies to a person

The rule follows the person's country:

* **Germany and Austria** use double opt-in. This is the same for every account.
* **Every other country**, and anyone whose country isn't known, uses your default rule. Every account starts at opt-out. Set it to the law of your main market.

allGood takes the country from the newest answer on a form or the Subscription Center. Without one, it uses the country on the person's CRM record. Typed answers like "Deutschland" are turned into a country code for you.

## Report first, then enforce

Marketing Consent starts in report-only mode. A send that falls short of its rule still goes out, and it's listed under **Would have been blocked** so you can check the rules against your data. When you turn on enforcement, those sends are blocked and recorded with the reason, for example "Skipped: the recipient's consent (none) doesn't meet the double opt-in rule in DE."

## How double opt-in works

1. **The person opts in on a form** while their country is Germany or Austria.
2. **allGood sends your confirmation email**, once for that opt-in.
3. **They click the link in it.** Their consent becomes **Confirmed**.

Until they click, marketing email to them falls short of the rule. A few details:

* **Only a form's country starts it.** A CRM country marks someone as needing consent but sends no email.
* **Only new opt-ins are asked.** Someone who opted in before double opt-in went live isn't sent a confirmation.
* **A scanner can't confirm anyone.** The link confirms only when the person clicks, and only for the address the email went to.
* **The confirmation email is transactional.** It skips unsubscribes and categories, and needs no unsubscribe link.

Double opt-in runs from an Email Consent plan in your account. Your allGood contact can confirm it's on.

## What Marketing Consent doesn't do

* **It doesn't tell you what the law requires.** Ask your legal team which rule each country needs. This article isn't legal advice.
* **It doesn't apply to transactional emails.** See [Set an email's category](https://docs.allgoodhq.com/mk/content/email/emails/set-an-emails-category.md#mark-an-email-as-transactional).

## Consent in Salesforce

allGood can write a person's consent to Salesforce. A policy writes the consent to a field on the person, and your Salesforce sync sends that field to the Salesforce field you choose. Your allGood contact can set this up.

If a send was blocked and you can't tell why, contact [support@allgoodhq.com](mailto:support@allgoodhq.com).

## Related articles

* [Set up Marketing Consent](https://docs.allgoodhq.com/mk/settings/marketing-consent/set-up-marketing-consent.md)
* [How the Subscription Center works](https://docs.allgoodhq.com/mk/settings/email/how-the-subscription-center-works.md)
* [How unsubscribes work](https://docs.allgoodhq.com/mk/content/email/emails/how-unsubscribes-work.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.