<div class="email-preferences__wrapper early_exclusive__wrapper">
  <script>
    // This script waits for the DOM to be fully loaded before executing any code.
    document.addEventListener("DOMContentLoaded", function() {
      // Adding an event listener for when a specific element enters the viewport.
      // The '.email-preferences__wrapper.early_exclusive__wrapper' element should trigger this event.
      document.onElementViewportIntersect(".email-preferences__wrapper.early_exclusive__wrapper", function() {
        // Once the element is in view, embed a HubSpot form with the specified parameters.
        embedHubspotForm(
          ".email-preferences__wrapper.early_exclusive__wrapper", // The CSS selector for targeting the element where the form is to be embedded.
          "na1", // The region or portal identifier for HubSpot.
          "22630553", // The ID for the specific HubSpot form.
          "9139c298-c8c1-4c22-9c5d-bd8740a9a12d" // The unique identifier for the HubSpot form.
        );
      });
    });
  </script>
</div>
<div class="email-preferences__wrapper early_exclusive__wrapper">
  <script>
    // This script waits for the DOM to be fully loaded before executing any code.
    document.addEventListener("DOMContentLoaded", function() {
      // Adding an event listener for when a specific element enters the viewport.
      // The '.email-preferences__wrapper.early_exclusive__wrapper' element should trigger this event.
      document.onElementViewportIntersect(".email-preferences__wrapper.early_exclusive__wrapper", function() {
        // Once the element is in view, embed a HubSpot form with the specified parameters.
        embedHubspotForm(
          ".email-preferences__wrapper.early_exclusive__wrapper", // The CSS selector for targeting the element where the form is to be embedded.
          "na1", // The region or portal identifier for HubSpot.
          "22630553", // The ID for the specific HubSpot form.
          "9139c298-c8c1-4c22-9c5d-bd8740a9a12d" // The unique identifier for the HubSpot form.
        );
      });
    });
  </script>
</div>
HTML