| 开发者 | pragmasoftwares |
|---|---|
| 更新时间 | 2026年9月3日 18:11 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
postMessage between the Pardot iframe and the parent page, two pages you already control, carrying nothing more than a height in pixels and a form ID parsed from the form's own URL.
/wp-content/plugins/.https://go.example.com).A page cannot see into an iframe from a different domain, as per the browser's own same-origin policy, and this is not a limitation of Pardot or WordPress. The Pardot-side code is what tells the parent page how tall the form actually is, and this plugin is what listens for that and resizes the iframe. Both halves are genuinely required for this to work.
This is the domain your Pardot forms load from in the browser address bar when you open a form directly, typically your Pardot account's own tracker domain, for example https://go.yourcompany.com.
Yes. Each form reports its own height along with an ID parsed from its own URL, and the plugin matches that ID against the src of each iframe on the page. If only one matching iframe is present and no ID is available, that single iframe is used.
No, it does not. Please see the Privacy section above.
The plugin's settings screen shows a warning while auto-height is enabled but not yet confirmed. Nothing breaks in the meantime, forms simply keep their default height until the Pardot-side code is actually added.
Kindly tick Enable debug logging on the settings screen, save, then open a page that has an embedded form on it and check your browser console. There is no need to wait around or keep refreshing, since this gives an instant answer either way:
received height= line in the console, everything is working as expected.By default, nothing. Deleting the plugin leaves your saved settings in place, so if you install it again later, everything comes back exactly as it was. If you would genuinely like every setting removed for good, kindly tick Delete all plugin data on uninstall on the settings screen first, this is off by default and needs to be turned on deliberately.