Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-6496

HappyPoint: add option for Hubspot form embed

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Should have Should have
    • 2.72.0
    • None
    • 3
    • Block: Happy Point, Integrations
    • Sprint #175, Sprint #176, Sprint #177, Sprint #178
    • pluto

      Full background in this Slack thread

      Many NROs as they transition to Hubspot, they want a quick way of embedding a Hubspot form in the Happy Point block, similar to what they currently do with Engaging Networks.

      Usnig the form url as the iframe src url works but doesn't look very nice, because Hubspot adds a default background to the whole form (and if the cookies bar is turned on, it shows up twice). But Hubspot offers an embed code snippet for each form that works well in P4.

      Tasks

      • add the following options to both 'Planet 4 > Defaults Content' and the happy point block editor.
        • add a toggle to switch between embed and iframe url (default can be iframe url)
        • add a textarea field called 'embed code' that allows html, css, and js code, so editors can add a code snippet
      • If the embed code option is selected, render the embed code in the frontend, instead of using an iframe.

            fhernand Florent Hernandez (Inactive)
            nroussos Nikos Roussos
            Nikos Roussos Nikos Roussos
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: