Docs / Settings reference

Advanced settings

Every Advanced setting of GeneratePerf: what each option does.

Settings of the Advanced group, in Settings → GeneratePerf. Each section matches a tab of the settings screen.

Custom code

Integrate 3rd party scripts, tags, and meta tags optimally.

SettingWhat it does
High-priority tagsAdd custom tags to the <head> section of your site : meta tags, resource hints & CMP scripts
Low-priority tagsAdd custom tags before the </body> tag on your site : analytics scripts, chat widgets, marketing tags, etc.
Smart delayAutomatically optimize the loading of low-priority JavaScripts to reduce Blocking Time and improve INP

WordPress tweaks

Enable, disable, or modify the behavior of certain native WordPress features.

SettingWhat it does
Maintenance ModeEnable maintenance mode for the site. Unlogged users won’t be able to access it. Search engines will be served a 503 http code
Disable commentsCompletely disable comments site-wide
Relative datesDisplay dates in a relative format (e.g., "2 days ago")
Clean uninstallDelete all GeneratePerf data when the plugin is uninstalled: settings, license, caches, view counters, ratings, subtitles, taxonomy images, menu icons and user profile fields. Irreversible.

Manage some settings of your site’s public search engine.

SettingWhat it does
Search exclusionPrevent specific pages from appearing in search results by adding their slugs (one per line)
Custom Search EngineEnter your Google Custom Search Engine ID to replace the default WordPress search

Make your site GDPR compliant using a lightweight native CMP.

SettingWhat it does
Native Cookie BannerImprove user privacy by displaying a native consent banner (not compliant with CCPA/CPRA, DMA and TCF 2.2)
Consent change buttonDisplay a discreet button to allow visitors to change their cookie preferences

Condition your script calls by replacing the src attribute with data-behind-cmp. Then use the second area of the Custom code tab to integrate your scripts.