<?php $first_name = $_POST['first_name']; $last_name = $_POST['last_name']; $email = $_POST['email']; $company = $_POST['company']; $phone = $_POST['phone']; $zip = $_POST['zip']; echo '<iframe src="http://www2.site.com/l/123/2009-04-28/ABCDE?first_name='.$first_name.'&last_name='.$last_name.'&email='.$email.'&company='.$company.'&phone='.$phone.'&zip='.$zip.'" width="1" height="1"></iframe>'; ?>
[iframe src] 属性はフォームハンドラーのフォーム投稿と同じ URL ですが (これは [フォームハンドラーコードを表示] をクリックすると確認できます)、サイトのお礼ページのみで呼び出されます。高さと幅が 1 ピクセルであるため、プロスペクトにはほとんど見えません。非表示の iframe で src URL に追加されるパラメーターには、フォームハンドラーのフォーム項目マッピングセクションで使われるのと同じ外部項目名を使用する必要があります。
<iframe src="http://www2.site.com/l/123/2009-04-28/ABCDE?first_name=John&last_name=Smith&email=john_smith@xyz.com&company=XYZ&phone=1234567890&zip=12345" width="1" height="1"></iframe>
この 1×1 iframe には、フォームハンドラーの [成功した場所]、[エラー発生場所] 項目で、[参照元 URL] ではなく [特定の URL] を選択する必要があります。その後、フォームのお礼ページ以外の任意の URL を入れることができます。自分のホームページやその他のページを自由に使用できます。この URL のページは iframe に読み込まれますが、表示されません。さらに、必須項目が存在する場合に Account Engagement iframe の作成のみを行う別の Javascript やサーバー側のスクリプトを追加することもできます。必須項目が存在しない場合は iframe は読み込まれません。
000381972

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.