# Finding Embed code for landing page

**URL:** <https://community.hubspot.com/t/finding-embed-code-for-landing-page/84542>\
**Category:** APIs & Integrations\
**Tags:** free\
**Created:** [July 2, 2023, 11:03pm UTC](https://community.hubspot.com/t/finding-embed-code-for-landing-page/84542 "2023-07-02T23:03:02Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![EKnechtges](https://avatars.discourse-cdn.com/v4/letter/e/8e8cbc/32.png) [@EKnechtges](https://community.hubspot.com/u/EKnechtges)\
**Post date:** [October 17, 2023, 8:34pm UTC](https://community.hubspot.com/t/finding-embed-code-for-landing-page/84542/3 "2023-10-17T20:34:57Z")

</div>

Pauric,  
Thank you for this! Do you know of any way to get the height value from the hubspot page itself? I can embed with an iframe, but if the height of the iframe element and the height of the hubspot page don’t match, there will either be a scrollbar or a long margin at the bottom. I can’t seem to figure out a way to read the height of the iframe dynamically.

---

_[View the full topic](https://community.hubspot.com/t/finding-embed-code-for-landing-page/84542)._
