GeneratePerf

Docs / Guides

Smart Delay

Load low-priority third-party scripts after the page, one by one, without touching your theme.

What it does

Smart Delay applies to the scripts you paste in the Low-priority tags field of Custom code. It does not delay the other scripts of your site.

For each of these tags, GeneratePerf:

  1. changes its type to smart/delay, so the browser does not run it while the page loads;
  2. preloads its file at low priority;
  3. runs the scripts one by one, starting one second after the page has loaded, spaced according to the memory of the device.

Good candidates

Chat widgets, heat maps, social embeds, advertising or analytics tags that are not needed to display the page. Keep tags that must run before any interaction (consent tools, A/B testing) in the high-priority area instead.