インタラクティブメールテンプレート
株価ティッカーダイジェスト
選んだ銘柄コードと、開封時点の値動きを表示します。
AMPの金融アラートなら、余計なクリックなしで市場に関心のある購読者の関心を保てます。
受信トレイのプレビュー
メール本文の静的な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-element="amp-fit-text" src="https://cdn.ampproject.org/v0/amp-fit-text-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>Stock ticker digest</title>
</head>
<body>
<section class="card">
<h1>Today's ticker watchlist</h1>
<p class="muted">Quotes refresh from your market data endpoint.</p>
<amp-list width="auto" height="240" layout="fixed-height" src="https://amp.mailneo.co/demo/stocks">
<template type="amp-mustache">
<div class="item" style="display:flex;justify-content:space-between;align-items:center;">
<span><strong>{{symbol}}</strong> {{name}}</span>
<span>{{price}} ({{change}})</span>
</div>
</template>
<div placeholder class="muted">Loading market data...</div>
</amp-list>
<amp-fit-text width="360" height="48" layout="fixed">Data delayed by up to 15 minutes.</amp-fit-text>
</section>
</body>
</html>使用しているAMPコンポーネント
amp-listamp-fit-text
活用例
投資家向けアップデート
終値のサマリーを毎日送り、寄り付き前の注目点も添えられます。
業種: フィンテック
トレーダーコミュニティ
キャンペーンのテーマに合わせて厳選した銘柄リストを共有できます。
注意点
データに関する免責事項
各相場モジュールに、遅延がある旨と投資助言ではない旨の文言を入れてください。
リクエストの制御
API費用を抑えるため、相場フィードへのリクエストをスロットリングしてください。
コンバージョン向上データ
このテンプレートには、まだコンバージョンのベンチマークが紐づけられていません。