chevron_right
chevron_right
Using the Script Delay Debugger Tool
How-To/Instructional

Using the Script Delay Debugger Tool

Last Updated over a month ago
Article Navigation
Introduction
Steps
Troubleshooting
Need Further Assistance?

Introduction

Welcome to our guide on using the Script Delay Debugger Tool within Ezoic's Leap. This powerful tool is designed to help you optimize your site's performance by experimenting with Leap's Script Delay settings in a preview environment. In this article, we'll explain the purpose of the Script Delay Debugger, demonstrate how to access and use it, and provide tips on interpreting its suggestions to ensure your site runs smoothly and efficiently. Whether you're looking to enhance page load speeds or troubleshoot script-related issues, this guide will equip you with the knowledge to make informed adjustments easily and effectively.

Steps

The Leap Preview Script Debugger is a tool for Leap’s Script Delay setting. It allows you to experiment with Leap's Script Delay setting on your site in a Leap preview, and to quickly see the results of script delay changes. Using this tool means you can easily see these changes, instead of needing manually find a script, turn delay on or off for that script, then check the page again to view changes. You can now do this from a toolbox on the Leap preview page instead of a separate page.

The Script Delay Debugger tool can be accessed through this button, which can be found in Leap's regular settings preview step and also inside the Leap Setup Wizard:

 



The debugger parses the scripts found on the current URL and displays them in a table within a modal:




The tool will automatically suggest scripts to delay based on their interaction with the page. We would recommend following the suggestions to ensure the page runs as quickly and smoothly as possible.

The scripts can be filtered by type with the "External" and "Inline" buttons. Each script in the table has a corresponding toggle button that shows the current exclusion status of that script. The toggle buttons update whether or not a specific script should be delayed in the current Leap preview. After changes have been made, click the "Refresh Page" button to see the effects on the page. This allows you to test delaying scripts on different URLs of your site and to see the results quickly.

The changes are made to the current settings draft, so make sure to return to Leap to either activate this setting’s draft so it publishes to the live site or cancel it if you don’t want to implement the change.

Troubleshooting

If users encounter issues with scripts being delayed, here are some troubleshooting steps to follow:

  1. Debugger Not Loading:
    • Ensure that you are selecting "Script Delay Debugger" rather than "Go to preview" in the preview section of your Leap optimization settings.
    • Confirm that you are on a page within the Leap preview environment and not on the live site.
  2. Scripts Not Displayed:
    • Refresh the current URL to ensure the debugger parses the scripts correctly.
    • Check if the scripts are categorized correctly under "External" or "Inline". Use the respective buttons to filter them.
  3. Toggle Buttons Not Responding:
    • Ensure you are clicking the correct toggle button for the script you want to delay.
    • Refresh the page to see if the toggle status updates reflect properly.
  4. Changes Not Applying:
    • After making changes using the toggle buttons, click the "Refresh Page" button to see the effects on the page.
    • Verify that you return to Leap to either activate the setting’s draft or cancel it if you decide not to implement the changes.
  5. Script Delay Suggestions Not Appearing:
    • The tool automatically suggests scripts to delay based on their interaction with the page. If no suggestions are appearing, confirm that the scripts are properly loaded and categorized.
  6. General Performance Issues:
    • Ensure your internet connection is stable while using the Leap Preview Script Debugger.
    • Close other unnecessary tabs and applications to optimize performance.

These steps should help resolve common issues users might encounter while using the Leap Preview Script Debugger.

Need Further Assistance?

If you need further assistance with the Script Delay Debugger, please log in via https://support.ezoic.com/ to make use of our dedicated resources for support. We're here to help!

× Enlarged Image

Loading ...