インタラクティブメールテンプレート
チケット確認テンプレート
動的なチケット情報と参加者向けの案内を、メール内に表示します。
参加に必要な情報と次のステップを、1通の確認メールでお届けします。
受信トレイのプレビュー
メール本文の静的なHTML表示です。ライブのAMP版をテスト用の受信トレイに送る前に、レイアウトの確認にご利用ください。
Gmail · メイン
Mailneo demo <hello@mailneo.co>
10:42(2分前)
チケット確認テンプレート
自分宛て · インタラクティブメール
コードスニペット
<!doctype html>
<html amp4email>
<head>
<meta charset="utf-8" />
<script async src="https://cdn.ampproject.org/v0.js"></script>
<script async custom-element="amp-list" src="https://cdn.ampproject.org/v0/amp-list-0.1.js"></script>
<script async custom-template="amp-mustache" src="https://cdn.ampproject.org/v0/amp-mustache-0.2.js"></script>
<script async custom-element="amp-fit-text" src="https://cdn.ampproject.org/v0/amp-fit-text-0.1.js"></script>
<script async custom-element="amp-accordion" src="https://cdn.ampproject.org/v0/amp-accordion-0.1.js"></script>
<style amp4email-boilerplate>
body {
visibility: hidden;
}
</style>
<style amp-custom>
body {
margin: 0;
padding: 20px;
background: #f8fafc;
font-family: Arial, Helvetica, sans-serif;
color: #1f2937;
}
.email-card {
max-width: 640px;
margin: 0 auto;
background: #ffffff;
border: 1px solid #e2e8f0;
border-radius: 14px;
overflow: hidden;
}
.header {
background: #fff7ed;
border-bottom: 1px solid #fed7aa;
padding: 20px 24px;
}
.header h1 {
margin: 0;
font-size: 22px;
line-height: 1.3;
color: #9a3412;
}
.header p {
margin: 8px 0 0;
font-size: 14px;
line-height: 1.5;
color: #7c2d12;
}
.section {
padding: 20px 24px;
}
label {
display: block;
margin: 0 0 6px;
font-size: 13px;
line-height: 18px;
font-weight: 700;
color: #334155;
}
input,
textarea,
select {
width: 100%;
box-sizing: border-box;
margin: 0 0 12px;
padding: 10px 12px;
border: 1px solid #cbd5e1;
border-radius: 8px;
font-size: 14px;
color: #1f2937;
background: #ffffff;
}
textarea {
min-height: 90px;
resize: vertical;
}
.inline-checkbox {
width: auto;
margin: 0 8px 0 0;
vertical-align: middle;
}
.button {
display: inline-block;
border: 0;
border-radius: 8px;
background: #f97316;
color: #ffffff;
text-decoration: none;
font-size: 14px;
font-weight: 700;
line-height: 1;
padding: 12px 16px;
cursor: pointer;
}
.button.alt {
background: #ea580c;
}
.button.ghost {
background: #ffffff;
color: #9a3412;
border: 1px solid #fdba74;
}
.muted {
margin: 10px 0 0;
font-size: 12px;
line-height: 18px;
color: #64748b;
}
.chip {
display: inline-block;
border: 1px solid #fdba74;
border-radius: 999px;
padding: 8px 12px;
margin: 0 8px 8px 0;
font-size: 13px;
line-height: 1;
color: #9a3412;
background: #fff7ed;
}
amp-selector [option][selected] {
background: #f97316;
color: #ffffff;
border-color: #f97316;
}
.score-grid [option] {
min-width: 40px;
text-align: center;
}
.step-nav {
margin-bottom: 14px;
}
.step-pill {
display: inline-block;
width: 28px;
height: 28px;
border-radius: 999px;
border: 1px solid #cbd5e1;
color: #475569;
text-align: center;
line-height: 28px;
font-size: 12px;
margin-right: 8px;
}
.step-pill.active {
border-color: #f97316;
background: #f97316;
color: #ffffff;
}
.note-box {
border: 1px dashed #fdba74;
border-radius: 10px;
padding: 10px 12px;
margin: 12px 0;
background: #fff7ed;
font-size: 13px;
line-height: 1.5;
color: #7c2d12;
}
.session-card {
border: 1px solid #e2e8f0;
border-radius: 10px;
padding: 14px;
background: #ffffff;
}
</style>
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1" />
<title>Ticket confirmation</title>
</head>
<body>
<div class="email-card">
<div class="header">
<h1>Your ticket is confirmed</h1>
<p>Keep this email for entry and pre-event instructions.</p>
</div>
<div class="section">
<amp-list
width="auto"
height="150"
layout="fixed-height"
src="https://example.com/api/ticket-details"
>
<template type="amp-mustache">
<div class="note-box">
Name: {{name}}<br />
Ticket type: {{ticket_type}}<br />
Pass ID: {{pass_id}}<br />
Gate opens: {{gate_time}}
</div>
</template>
</amp-list>
<amp-fit-text width="560" height="44" layout="fixed" max-font-size="24">
Ticket code: EVT-2026-4581
</amp-fit-text>
<amp-accordion disable-session-states>
<section>
<h4 class="chip" style="cursor: pointer; margin: 10px 0 8px;">Venue and check-in notes</h4>
<div>
<p class="muted">Bring a valid photo ID and arrive 30 minutes before first session.</p>
</div>
</section>
</amp-accordion>
</div>
</div>
</body>
</html>使用しているAMPコンポーネント
amp-listamp-mustacheamp-fit-textamp-accordion
活用例
有料カンファレンス
パスの詳細とチェックイン方法を1か所にまとめて届けられます。
業種: イベント
ワークショップ
登録後に、会場情報や事前準備のメモを共有できます。
業種: 教育
注意点
APIの信頼性
APIのレスポンスが遅れると、動的なチケットブロックが表示されません。
オフラインでの利用
ダウンロードできるPDFのバックアップが必要な参加者もいます。
コンバージョン向上データ
このテンプレートには、まだコンバージョンのベンチマークが紐づけられていません。