• Resolved Rhand

    (@rhand)


    How do you add tiqets.com widgets? Do you load jS from CDN or locally? Latter would be preferred. Currently we load the widgets locally but the JS code is loaded from a CDN and it is slow. Causing it to slow in JS execution. We are working on optimizing of the general widget load – see https://gist.github.com/jasperf/a1a9498831b088adb2be8af8389f4e53 where we load it when needed with IntersectObserver – but if this plugin works well with tiqet.com widgets and works faster then in post

    <tr>
    <td>
    <h3>Ttile:</h3>
    <div data-tiqets-widget="availability" data-layout="full" data-orientation="vertical" data-product-id="xxxxxxx" data-language="nl" data-currency="EUR" data-partner="partner-title"></div>
    <script defer src="https://widgets.tiqets.com/loader.js"></script></td>
    </tr>

    that would be amazing.

    • This topic was modified 2 months, 3 weeks ago by Rhand.
    • This topic was modified 2 months, 3 weeks ago by Rhand.
Viewing 1 replies (of 1 total)
  • Plugin Author Travelpayouts

    (@travelpayouts)

    Hello,

    Thank you for reaching out!

    Tiqets widgets on the Travelpayouts platform function in the same way since they are provided by the Tiqets brand. The script code calls https://widgets.tiqets.com/loader.js, which then loads the remaining JavaScript from cdn.tiqets.com.

    If you have any further questions, please feel free to ask.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.