# Email Popup

A time-delayed modal that captures email addresses. DRIFT Studio adds a logo image slot and an optional discount code reveal on success.

## How to access

In the customizer, edit the **Email Popup** section in the footer group.

## Popup settings

### Enable email capture popup

Master switch.

### Delay before showing (seconds)

Range from 1 to 30. How long after page load the popup appears.

### Don't show again for (days)

Range from 1 to 90. After a visitor dismisses the popup, it won't reappear for this many days. Visitors who subscribe won't see the popup again for one year.

## Logo (Studio only)

### Logo image

Optional image displayed above the heading.

### Logo max height

Range from 20 to 100 pixels.

## Content

### Heading

Main popup heading. Default: `Stay in the loop`.

### Subtext

Description below the heading.

### Button text

Submit button label. Default: `Subscribe`.

## Success state

### Success heading

Heading shown after the visitor subscribes. Default: `You're in`.

### Success message

Message shown after subscription. Default: `Thanks for subscribing. Keep an eye on your inbox.`

## Discount code (Studio only)

### Show discount code after signup

Reveals a discount code on the success screen after a visitor subscribes.

### Discount code

The exact code the customer will use at checkout. You must create the corresponding discount in **Shopify Admin → Discounts**.

### Code label

Text shown above the code. Default: `Your exclusive code`.

## How submissions are handled

The popup uses Shopify's native customer form. Submissions create a customer record tagged `newsletter,popup`, which can sync to email tools that read Shopify customers.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.webexp.dev/drift/drift-studio/sections-and-features/email-popup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
