Announcement

Collapse
No announcement yet.

WordPress Custom Embed Block Query String

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • WordPress Custom Embed Block Query String

    Hi,

    I reached out through one of your contact forms and was told to post here. Our company is in the process of building a simpler way to embed Click & Pledge forms within the WordPress block editor, also known as Gutenberg. We're using the sample embed code below to build out the system:

    <script class="CnP_formloader" src="https://resources.connect.clickandpl...67342888242758" data-guid="9de102ty-75be-4c2c-a8pe-cc3dd7b43a44"></script>
    <div id="CnP_inlineform"></div>

    We're curious what the purpose of the query string is after "iframe-1.0.0.min.js?" that reads "636967342888242758". Is that a random string for cache busting that we can replace with any other string, or is it connected directly to one specific form? At this point we've replaced it with a timestamp, which does appear to be working.

    Thanks a lot for taking a look. Happy New Year!

    Jonathan

  • #2
    Good day @wiredimpact

    Yes, it is a random string for cache busting, you can replace it with any number.
    Regards,
    Click & Pledge Support Department

    On Salesforce? Help us by rating our app: Click & Pledge Donor Management on AppExchange

    Join us @ the educational webinars: https://clickandpledge.com/webinars/
    Live Support available Join between 3:00 - 3:30 p.m. ET Monday - Thursday: https://clickandpledge.com/webinars/
    Are you on Salesforce? Join us at the Power of Us Hub: https://powerofus.force.com/0F980000000CjpC

    Comment


    • #3
      That's great to hear. Thanks so much.

      Comment


      • #4
        wiredimpact

        Just want to make sure you are aware of our WordPress plugin for our forms. It has a lot of features such as dated forms where forms show and hide based on dates. It also fully integrates pledgeTV.

        Any reason you are developing your own app instead of using our app?
        Regards,
        Click & Pledge Support Department

        On Salesforce? Help us by rating our app: Click & Pledge Donor Management on AppExchange

        Join us @ the educational webinars: https://clickandpledge.com/webinars/
        Live Support available Join between 3:00 - 3:30 p.m. ET Monday - Thursday: https://clickandpledge.com/webinars/
        Are you on Salesforce? Join us at the Power of Us Hub: https://powerofus.force.com/0F980000000CjpC

        Comment


        • #5
          Thanks for noting the WordPress plugin. At this point we're looking for very simple embed support, so any new plugin would be overkill. Since we're on WordPress multisite, administrators can't use the HTML block to embed your forms because the JavaScript is removed for security reasons. We're building another way to offer that simple level of support.

          Thanks again for the help. Take care.

          Comment

          Working...
          X