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

# Newsletter popup

> Display a timed popup modal to capture email subscriptions with customizable content, imagery, and delay controls.

The Newsletter popup section creates a modal overlay that appears after a configurable delay to capture email subscriptions. It includes optional imagery, customizable heading and text, an integrated newsletter signup form, and a friendly dismissal option.

This section is essential for building your email list and engaging visitors with special offers, exclusive content, or product updates.

<img src="https://mintcdn.com/digifist/f1RBsPaIse75FlIv/images/theme/sahara/sections/newsletter-popup/newsletter-popup-overview.png?fit=max&auto=format&n=f1RBsPaIse75FlIv&q=85&s=5f9ee9a5add28da9198aa99a1bad228c" alt="Newsletter popup overview" width="3280" height="2186" data-path="images/theme/sahara/sections/newsletter-popup/newsletter-popup-overview.png" />

## What this section controls

This section controls newsletter popup displays with the following capabilities:

* Timed appearance after page load (4-30 seconds)
* Optional image for visual appeal and branding
* Customizable heading and descriptive text
* Integrated email signup form with validation
* Friendly close/dismiss button
* Theme Customizer preview mode
* Session-based dismissal tracking

## How the Newsletter popup works

The Newsletter popup displays as a centered modal overlay:

* Appears automatically after the configured delay
* Shows optional image alongside form content
* Displays heading, supporting text, and email input field
* Users can submit their email or dismiss the popup
* Remembers dismissal for the browsing session (appears once per session)
* Mobile-responsive design adapts layout for small screens

## Getting started

<Steps>
  <Step title="Open Theme Customizer">
    From Shopify admin, access the Theme Customizer.
  </Step>

  <Step title="Add Newsletter popup section">
    Add this section to your global theme sections (not page-specific).
  </Step>

  <Step title="Configure content">
    Set heading, descriptive text, and optional image.
  </Step>

  <Step title="Adjust timing">
    Set the delay to control when the popup appears (10-15 seconds recommended).
  </Step>

  <Step title="Customize close button">
    Update the close button text to match your brand voice.
  </Step>
</Steps>

<img src="https://mintcdn.com/digifist/f1RBsPaIse75FlIv/images/theme/sahara/sections/newsletter-popup/newsletter-popup-location.png?fit=max&auto=format&n=f1RBsPaIse75FlIv&q=85&s=4e7b5d902563342905b13c635e24ea50" alt="Newsletter popup in Theme Customizer" width="3280" height="2186" data-path="images/theme/sahara/sections/newsletter-popup/newsletter-popup-location.png" />

## Section settings

<Tabs>
  <Tab title="Timing">
    ### Delay

    Controls when the popup appears after page load.

    **Range:** 4 – 30 seconds (in 1-second increments)\
    **Default:** 10 seconds

    <AccordionGroup>
      <Accordion title="Delay recommendations" icon="clock">
        **4-7 seconds:**

        * Very early appearance
        * High urgency promotions
        * Risk of interrupting users

        **8-12 seconds:**

        * Balanced timing (recommended)
        * Allows initial page engagement
        * Standard for most stores

        **15-20 seconds:**

        * Patient approach
        * For engaged visitors
        * Lower conversion but better UX

        **25-30 seconds:**

        * Minimal interruption
        * Exit-intent alternative
        * Blog or content-heavy sites
      </Accordion>
    </AccordionGroup>

    <Warning>
      Setting delay too short (\< 8 seconds) may interrupt users before they engage with your content, creating a negative first impression.
    </Warning>

    <Tip>
      A delay of 10-15 seconds balances conversion opportunity with positive user experience. Test different timings to find optimal performance for your audience.
    </Tip>

    <img src="https://mintcdn.com/digifist/f1RBsPaIse75FlIv/images/theme/sahara/sections/newsletter-popup/popup-timing.png?fit=max&auto=format&n=f1RBsPaIse75FlIv&q=85&s=98ca198852469b2dd55dc073d35990eb" alt="Popup timing configuration" width="3280" height="2186" data-path="images/theme/sahara/sections/newsletter-popup/popup-timing.png" />
  </Tab>

  <Tab title="Content">
    ### Image

    Optional image displayed within the popup.

    * Displays on left side (desktop) or above content (mobile)
    * Rendered at 550px width
    * Leave empty to hide image

    <AccordionGroup>
      <Accordion title="Image best practices" icon="image">
        **Recommended subjects:**

        * Brand logo or mascot
        * Product highlights
        * Lifestyle imagery matching your brand
        * Promotional graphics (e.g., "10% off")

        **Technical specs:**

        * Recommended size: 550px × 550px
        * Square or portrait orientation
        * High contrast for visibility
        * Optimized file size for fast loading
      </Accordion>
    </AccordionGroup>

    <Note>
      Image should support your value proposition without overwhelming the signup form.
    </Note>

    ### Heading

    Main heading text for the popup.

    * Inline rich text supported (bold, italic, links)
    * **Default:** "Newsletter heading here"

    <Tip>
      Make heading value-focused and concise: "Get 10% Off", "Join Our VIP List", "Exclusive Access Awaits"
    </Tip>

    ### Heading size

    Controls the size of heading text.

    **Options:** XS, S, M, L, XL\
    **Default:** XL

    ### Text

    Descriptive text displayed below the heading.

    * Rich text editor with formatting support
    * **Default:** "An example subheading for new subscribers."
    * **Supports:**
      * Bold, italic, underline
      * Links
      * Paragraphs

    <Tip>
      Keep text brief (1-2 sentences, 15-25 words) to maintain focus on the signup form. Explain the benefit clearly: "Sign up for exclusive deals and early access to new products."
    </Tip>

    <img src="https://mintcdn.com/digifist/sjcsImgUYFz_TwFP/images/theme/sahara/sections/newsletter-popup/newsletter-text.png?fit=max&auto=format&n=sjcsImgUYFz_TwFP&q=85&s=5ca6c956d342f00325b218e54dce956d" alt="Popup content configuration" width="3280" height="2186" data-path="images/theme/sahara/sections/newsletter-popup/newsletter-text.png" />
  </Tab>

  <Tab title="Settings">
    ### Button close text

    Label for the close/dismiss link.

    * Plain text only
    * **Default:** "No thanks"

    <AccordionGroup>
      <Accordion title="Close button language" icon="xmark">
        Use friendly, non-pushy language:

        **Good examples:**

        * "No thanks"
        * "Maybe later"
        * "Not now"
        * "Skip for now"

        **Avoid:**

        * "Close" (too direct)
        * "I don't want discounts" (guilt-inducing)
        * "Dismiss" (too formal)
      </Accordion>
    </AccordionGroup>

    <Note>
      Friendly dismissal language respects user choice and maintains positive brand perception.
    </Note>

    ### Customizer visible

    Controls whether popup displays immediately in the Theme Customizer.

    **Options:** True / False\
    **Default:** False

    <AccordionGroup>
      <Accordion title="When to use Customizer visible" icon="eye">
        **Enable (True) when:**

        * Designing the popup initially
        * Testing content layout and styling
        * Previewing color scheme changes
        * Checking mobile responsiveness

        **Disable (False) for:**

        * Normal operation (default)
        * Accurate delay testing
        * Live site behavior
        * When popup design is finalized
      </Accordion>
    </AccordionGroup>

    <Tip>
      Enable temporarily to preview popup appearance and styling without waiting for the delay. Remember to disable before publishing.
    </Tip>

    <img src="https://mintcdn.com/digifist/sjcsImgUYFz_TwFP/images/theme/sahara/sections/newsletter-popup/customizer-visible.png?fit=max&auto=format&n=sjcsImgUYFz_TwFP&q=85&s=02136edfc7cd87411e9ee0b2755dc71a" alt="Customizer visible setting" width="3280" height="2186" data-path="images/theme/sahara/sections/newsletter-popup/customizer-visible.png" />
  </Tab>

  <Tab title="Styling">
    ### Color scheme

    Select color scheme for popup background, text, and form elements.

    <Warning>
      Ensure your color scheme provides sufficient contrast between background and text for readability and accessibility compliance.
    </Warning>

    <Note>
      Choose a color scheme that makes the popup distinct from page content without being visually jarring.
    </Note>

    <img src="https://mintcdn.com/digifist/sjcsImgUYFz_TwFP/images/theme/sahara/sections/newsletter-popup/color-scheme.png?fit=max&auto=format&n=sjcsImgUYFz_TwFP&q=85&s=56646fe545ab0eff8daf293cf838f707" alt="Color scheme configuration" width="3280" height="2186" data-path="images/theme/sahara/sections/newsletter-popup/color-scheme.png" />
  </Tab>
</Tabs>

## Newsletter form

The popup includes an integrated email signup form with the following features:

<AccordionGroup>
  <Accordion title="Email input field" icon="envelope">
    Standard email input with built-in validation.

    * Placeholder text from theme translations
    * Browser-level email format validation
    * Required field
  </Accordion>

  <Accordion title="Submit button" icon="paper-plane">
    Call-to-action button to submit the form.

    * Button text from theme translations ("Subscribe")
    * Disabled state during submission
    * Integrates with Shopify customer accounts
  </Accordion>

  <Accordion title="Form handling" icon="check">
    Backend integration with Shopify:

    * Adds email to customer mailing list
    * Sends double opt-in email if enabled
    * Tracks newsletter consent
    * GDPR compliant
  </Accordion>

  <Accordion title="Error messaging" icon="triangle-exclamation">
    Displays validation and server errors:

    * Invalid email format
    * Already subscribed
    * Server connection issues
    * User-friendly error messages
  </Accordion>

  <Accordion title="Success state" icon="circle-check">
    Confirmation after successful submission:

    * Thank you message
    * Auto-dismiss or manual close
    * Session tracking prevents re-display
  </Accordion>
</AccordionGroup>

<img src="https://mintcdn.com/digifist/f1RBsPaIse75FlIv/images/theme/sahara/sections/newsletter-popup/newsletter-form.png?fit=max&auto=format&n=f1RBsPaIse75FlIv&q=85&s=e3b62354caf2b7ffb2fb33ff186ace6c" alt="Newsletter form in popup" width="3280" height="2186" data-path="images/theme/sahara/sections/newsletter-popup/newsletter-form.png" />

## Best practices

<CardGroup cols={2}>
  <Card title="Optimal timing" icon="stopwatch">
    Set delay to 10-15 seconds to allow users to engage with page content first before interruption.
  </Card>

  <Card title="Value-focused heading" icon="bullseye">
    Use clear, benefit-driven headings: "Get 10% Off", "Join Our VIP List", "Exclusive Early Access".
  </Card>

  <Card title="Supporting imagery" icon="image">
    Choose high-quality brand imagery that reinforces your value proposition without overwhelming the form.
  </Card>

  <Card title="Friendly dismissal" icon="hand-wave">
    Use non-pushy close button text like "No thanks" or "Maybe later" to respect user choice.
  </Card>

  <Card title="Preview mode" icon="eye">
    Enable "Customizer visible" temporarily for testing appearance, then disable before publishing.
  </Card>

  <Card title="Avoid short delays" icon="timer">
    Don't set delay below 8 seconds—this interrupts users immediately and creates negative impressions.
  </Card>

  <Card title="Color contrast" icon="palette">
    Ensure color scheme provides strong contrast for text readability and meets accessibility standards.
  </Card>

  <Card title="Concise text" icon="text-size">
    Limit descriptive text to 1-2 sentences (15-25 words) for quick scanning and focus on form.
  </Card>

  <Card title="A/B testing" icon="chart-line">
    Test different delays, headlines, and images to optimize conversion rates for your specific audience.
  </Card>

  <Card title="Mobile optimization" icon="mobile">
    Preview on mobile devices to ensure image and text remain readable on small screens.
  </Card>
</CardGroup>

## Common use cases

<AccordionGroup>
  <Accordion title="Welcome discount offer" icon="percent">
    Set 10-12 second delay. Heading: "Welcome! Get 10% Off Your First Order". Text: "Join our newsletter for exclusive deals and early access." Image: Product highlight or brand logo. Close text: "No thanks".
  </Accordion>

  <Accordion title="VIP list signup" icon="crown">
    Set 15 second delay. Heading: "Join Our VIP List". Text: "Be the first to know about new launches and member-only sales." Image: Lifestyle brand imagery. Close text: "Maybe later".
  </Accordion>

  <Accordion title="Content updates" icon="newspaper">
    Set 20 second delay. Heading: "Stay Inspired". Text: "Get weekly tips, recipes, and exclusive content delivered to your inbox." No image. Close text: "Not now".
  </Accordion>

  <Accordion title="Product launch alert" icon="rocket">
    Set 8 second delay (urgent). Heading: "New Collection Drops Friday". Text: "Sign up now for exclusive early access 24 hours before public launch." Image: New product teaser. Close text: "Skip for now".
  </Accordion>

  <Accordion title="Seasonal campaign" icon="gift">
    Set 12 second delay. Heading: "Holiday Gift Guide Inside". Text: "Subscribe to receive our curated gift guide and holiday shopping tips." Image: Seasonal themed graphic. Close text: "No thanks".
  </Accordion>
</AccordionGroup>

## Related sections

<CardGroup cols={2}>
  <Card title="Newsletter" icon="envelope-open-text" href="/themes/sahara/sections/newsletter">
    Inline newsletter signup forms for pages
  </Card>

  <Card title="Announcement bar" icon="bullhorn" href="/themes/sahara/sections/announcement-bar">
    Persistent top-of-page announcements
  </Card>
</CardGroup>
