Template für interaktive E-Mails

Roulette-Auswahl und Belohnung

Lass Nutzer Rot, Schwarz oder Grün wählen und gib die passende Belohnung direkt in der E-Mail zurück.

Roulette-Aufforderungen sind klar, weil Nutzer zuerst eine sichtbare Wahl treffen.

Postfachvorschau

Statische HTML-Darstellung des E-Mail-Textes. Prüfe damit das Layout, bevor du die AMP-Live-Version an ein Testpostfach sendest.

Gmail · Primär

Mailneo demo <hello@mailneo.co>

10:42 (vor 2 Minuten)

Roulette-Auswahl und Belohnung

an mich · interaktive E-Mail

Place your roulette pick

Select a color, then reveal the payout.

Code-Snippets

<!doctype html>
<html amp4email>
  <head>
    <meta charset="utf-8" />
    <script async src="https://cdn.ampproject.org/v0.js"></script>
    <script async custom-element="amp-selector" src="https://cdn.ampproject.org/v0/amp-selector-0.1.js"></script>
    <script async custom-element="amp-bind" src="https://cdn.ampproject.org/v0/amp-bind-0.1.js"></script>
    <script async custom-element="amp-form" src="https://cdn.ampproject.org/v0/amp-form-0.1.js"></script>
    <script async custom-template="amp-mustache" src="https://cdn.ampproject.org/v0/amp-mustache-0.2.js"></script>
    <style amp4email-boilerplate>body{visibility:hidden}</style>
    <style amp-custom>
      body { margin: 0; padding: 16px; font-family: Arial, Helvetica, sans-serif; background: #fff7ed; color: #1f2937; }
      .card { max-width: 560px; margin: 0 auto; padding: 16px; border: 1px solid #fed7aa; border-radius: 12px; background: #ffffff; }
      h1 { margin: 0 0 8px; font-size: 24px; line-height: 30px; }
      .muted { color: #6b7280; font-size: 13px; line-height: 18px; }
      .btn { display: inline-block; margin-top: 10px; padding: 10px 14px; border: 0; border-radius: 8px; background: #f97316; color: #ffffff; text-decoration: none; font-weight: 700; cursor: pointer; }
      .pill { display: inline-block; margin-right: 8px; margin-bottom: 8px; padding: 4px 9px; border-radius: 999px; border: 1px solid #fdba74; background: #fff7ed; font-size: 12px; }
      .item { padding: 10px; border: 1px solid #fed7aa; border-radius: 10px; margin-top: 8px; }
    </style>
    <title>Roulette choice and reward</title>
  </head>
  <body>
    <section class="card">
  <h1>Choose your roulette color</h1>
  <p class="muted">Pick first, then submit your draw.</p>
  <amp-state id="rouletteState">
    <script type="application/json">
      {"choice": "red"}
    </script>
  </amp-state>
  <amp-selector layout="container" on="select:AMP.setState({rouletteState: {choice: event.targetOption}})">
    <span option="red" class="pill">Red</span>
    <span option="black" class="pill">Black</span>
    <span option="green" class="pill">Green</span>
  </amp-selector>
  <p class="muted">Current pick: <span [text]="rouletteState.choice">red</span></p>
  <form method="post" action-xhr="https://amp.mailneo.co/demo/roulette" target="_top">
    <input type="hidden" name="choice" value="red" [value]="rouletteState.choice" />
    <input type="submit" value="Reveal result" class="btn" />
    <div submit-success>
      <template type="amp-mustache">
        <p><strong>{{result}}</strong></p>
        <p class="muted">Reward: {{reward}}</p>
      </template>
    </div>
  </form>
</section>
  </body>
</html>

Verwendete AMP-Komponenten

amp-selectoramp-bindamp-form

Anwendungsfälle

  • Wochenend-Aktion

    Erziele Klicks mit einer schnellen Auswahl vor dem Checkout.

    Branche: E-Commerce

  • Segment-Challenge

    Teste unterschiedliche Belohnungszuordnungen nach Region oder Treuestufe.

Stolperfallen

  • Faire Ergebnisse

    Speichere Ziehungsergebnisse serverseitig und stelle Audit-Logs für Compliance-Teams bereit.

  • Layout auf kleinen Bildschirmen

    Mach die Auswahloptionen groß genug für Touch-Bedienung in mobilen E-Mail-Clients.

Daten zur Steigerung der Conversion-Rate

Für diese Vorlage wurde noch kein Conversion-Benchmark hinterlegt.

Quellenangaben

Ähnliche Vorlagen