How to delay the loading of Web SDK?
- Getting Started
- Bot Building
- Smart Agent Chat
- Conversation Design
-
Developer Guides
Code Step Integration Static Step Integration Shopify Integration SETU Integration Exotel Integration CIBIL integration Freshdesk KMS Integration PayU Integration Zendesk Guide Integration Twilio Integration Razorpay Integration LeadSquared Integration USU(Unymira) Integration Helo(VivaConnect) Integration Salesforce KMS Integration Stripe Integration PayPal Integration CleverTap Integration Fynd Integration HubSpot Integration Magento Integration WooCommerce Integration Microsoft Dynamics 365 Integration
- Deployment
- External Agent Tool Setup
- Analytics & Reporting
- Notifications
- Commerce Plus
- Troubleshooting Guides
- Release Notes
If you want to delay the loading of Web SDK, you can make use of the delay parameter. This parameter will defer the loading of Web SDK till a specified amount of time, which is provided through the delay parameter. This will make sure that your web page is not affected by the loading of Web SDK. In order to use this feature, you can append the delay parameter in the loader URL and accordingly provide a value in milliseconds, as shown below,
<script type="text/javascript" charset="UTF-8" src="https://toolassets.haptikapi.com/platform/javascript-xdk/production/loader.js?delay=2000" > </script>