manifest / performance / wp-performance-partytown
WP Performance Partytown
Partytown in your WordPress
★ 6stars
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/wpperformance/wp-performance-partytown/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Partytown in your WordPress
🚨 Be careful, the proxy php is a experimental code. You can use it, but i'm not responsible of the security of your website
This plugin add Partytown available for your website
If you use proxy, set the cache lifetime to max 8h for avoid nonce bug.
For use Proxy PHP, add this line in your wp-config.php.
☝🏻 use it only if you know what you do
define('PR_PROXY', true);
The proxy is only necessary when service don't have Access-Control-Allow-Origin: * in response.
For example, Google Analytics, has this CORS headers.
More informations, here
Define proxy key for connected users. In your wp-config.php
define('PR_PROXY_KEY', 'key of your choice');
Debug => In your wp-config.php
define('PR_DEBUG', true);
Add script for partytown
Juste add type "text/partytown" in ```