# Email alerts for completed goals

Get an email every time a visitor completes a goal, with who they are, where they came from and their device, in a subject and body you write with variables.

Get an email every time a visitor completes a goal: "New signup from Germany", with who they are, where they came from and their device.

**1. Click New Alert in Settings → Alerts**

Email alerts are on unless you switch them off there (switching them off keeps your alerts but sends none). Pick one or more goals (up to 10) and name the alert.

**2. Write the email**

Edit the subject and body with variables; the preview shows the email as it will arrive. The body takes `**bold**` and `- ` bullet lists.

**3. Send a test**

**Test** on the alert sends it to you with sample values.

## Variables

| Variable | Value |
| --- | --- |
| `{{goal.name}}` | The goal's name |
| `{{goal.params}}` | The goal's properties, one per line |
| `{{visitor.name}}` | The visitor's name, or their alias |
| `{{visitor.email}}` | The visitor's email |
| `{{visitor.country}}` | Country |
| `{{visitor.city}}` | City |
| `{{visitor.referrer}}` | Where they came from |
| `{{visitor.device}}` | Device type |
| `{{visitor.os}}` | Operating system |
| `{{visitor.browser}}` | Browser |
| `{{visitor.page}}` | The page where it happened |
| `{{website.domain}}` | Your website's domain |

## Who gets them

- The owner and everyone on the team, except people who turned emails off in their account settings.
- Custom goals send alerts (from the browser or the API); page-visit goals don't.
- Each alert sends up to 1,000 emails a month; the usage is on the Alerts page.

---

This page on the web: https://supranalytics.app/docs/alerts
Every documentation page: https://supranalytics.app/docs.md
