| 开发者 | seyfettinkahveci |
|---|---|
| 更新时间 | 2026年10月20日 21:39 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
header.php, and there is no build step.
Free dashboard for every account
Every Oorly account, including the free plan, comes with the dashboard at dash.oorly.com:
wp_enqueue_script() and the defer strategy, so it never blocks rendering and can be dequeued by its oorly-widget handle.[A-Za-z0-9_-] before it is saved, and only users with manage_options can change it.https://widget.oorly.com/widget.js on every front-end page, with that code as the c query parameter. Like any file request, this tells Oorly the visitor's IP address, user agent and the page they are on. Once running, the widget sends anonymous usage measurements to Oorly (page views and which controls are used) to produce the visitor and usage statistics shown in your dashboard. The plugin does not host or modify the script and makes no server-side calls to Oorly. What the widget does once it runs is handled on Oorly's side and tied to your site code. Clearing the site code stops the script from loading.
oorly folder to /wp-content/plugins/ yourself.widget.oorly.com.
If your site sends a Content Security Policy, allow widget.oorly.com in it.Oorly gives you what you need to get there: the widget for your visitors and a free WCAG report that lists every issue on your site with the exact fix. Compliance depends on your site's HTML, so the issues the report finds have to be fixed in your theme or content. Scheduled scans then warn you if something breaks again. Oorly does not guarantee 100% compliance. Automated testing cannot detect every WCAG issue, so a manual audit is still recommended if you need full assurance.
Oorly is free for sites with up to 5,000 pageviews a month, and no credit card is needed to sign up. Busier sites need a paid plan; see https://oorly.com for current pricing.
No. The script is added through the standard wp_enqueue_scripts hook, so it works with any properly built theme and survives theme updates and theme switches.
The script loads with defer, so the browser keeps building the page while it downloads. It is served from Oorly's CDN and loads only on the front end, never in wp-admin.
The widget sets no cookies. Each visitor's choices are kept in their own browser. To produce the statistics in your dashboard, the widget sends anonymous usage measurements to Oorly; see the External services section above for details.
The widget can follow the language of the page or be pinned to a language you choose in the Oorly dashboard. The plugin's settings screen follows your WordPress language.
Yes. Dequeue the oorly-widget handle wherever you don't want it:
add_action( 'wp_enqueue_scripts', function () { if ( is_page( 'checkout' ) ) { wp_dequeue_script( 'oorly-widget' ); } }, 20 );
Clear the site code field and save. No script is added while the field is empty.
Purge your page cache (WP Rocket, LiteSpeed, Varnish, Cloudflare and so on). The script tag is part of the HTML, so cached pages keep the old code until the cache is cleared.
Only letters, digits, hyphens and underscores are accepted. Make sure you copied the code exactly. If it still doesn't work, contact Oorly support.
Nothing. uninstall.php deletes the single oorly_site_code option. Deactivating the plugin keeps the code, so you can switch it back on later.
Yes. Each site stores its own code. Network activation is safe, but you need to enter the code once on each site.
oorly.wp_enqueue_script() and the defer loading strategy instead of being printed by hand on wp_head. Other plugins can now dequeue it by the oorly-widget handle.defer loading strategy arrived.oorly_ prefix.oorly_integration_client_code to oorly_site_code.load_plugin_textdomain() call; WordPress loads the bundled translations on its own.wp_head with the defer attribute.