0
0

Pardot : iframe

Last updated at Posted at 2024-01-28

フォームハンドラーでは、ブラウザー側からの投稿 (通常の投稿方法) またはサーバー側からの投稿を実行できます。

フォームハンドラーの送信がサーバサイドからの送信で実行される場合、ビジターの Cookie が削除されるため、ビジターアクティビティレコードは、関連付けられたプロスペクトレコードに結び付けられません。

以下に非表示の iframe にデータを投稿すると同じようなことが議論されています。

この中で クライアントのブラウザがリクエストを行うため、iframe がより適切に機能するのはこのためです。とあります。確実にクライアントからリクエストを行うためには、この方法が有効みたいです。

I tried a similar approach; I use $.post to POST form values to a PHP file. And there I use CURL (curl_exec) to post everything to the pardot form handler. Everything works fine but the Pardot cookies are not being set. Is the iFrame method a better method?

That's because you are doing a server side post. When you make the request from your server, Pardot sets the tracking cookies on your CURL's request. You want the cookies set on the client's browser. This is why the iframe works better, because the client browser is making the request.

Example of using a hidden iframe to pass data to a Pardot form handler before continuing with normal form submission.

簡単に言うと、フォームは Pardot 内で構築およびスタイル設定され、iFrame 経由で Web サイトに埋め込まれます。一方、フォームハンドラーはネイティブ Web サイトフォームの背後にある影のようなもので、データは Postscript 経由で Pardot に送信されると転送されます。フォームハンドラーを使用すると、フォームの構築とスタイル設定が Pardot の外部で管理されます。フォーム ハンドラーはデータのコピーのみを受信します。

たとえば、ページの URL または UTM パラメータ値を非表示のフォーム フィールドに渡すには Javascript を使用する必要があり、データを iFrame に渡すのが難しい場合があります。このため、JavaScript 要件をサポートできる開発者も必要になる場合があります。

This could be anything. The first thing I would investigate is if you've got duplicate tracking tags running that could cause a double-count. Sometimes this is due to do an iframe embedded form running duplicate tracking script, but ultimately it's a web developer issue.

これは何でも構いません。最初に調査するのは、二重カウントを引き起こす可能性のある重複した追跡タグが実行されていないかどうかです。これは、iframe 埋め込みフォームが重複した追跡スクリプトを実行することが原因である場合もありますが、最終的には Web 開発者の問題です。

サンクスページへのリダイレクト

下記ページに詳細が記載されています。

https://allmeetinghelp.com/how-to-use-zoom-webinar-for-pardot/
フォームを pardot ランディング ページまたは iFrame に埋め込む場合は、 target=“_parent” を追加します。

<form action="your post url" method="POST" name="hidden_form" target="_parent">
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0