Install guide
Install Tapestry on WordPress
Use a header-code plugin, or add it to your theme.
The snippet
Replace SITE_KEY with your site's key, or open this guide from your site's page in Tapestry to see it filled in.
<script src="https://cdn.patchwork.run/s/SITE_KEY.js"></script>
Steps
- Install and activate the free WPCode plugin (Plugins → Add New → search “WPCode”).
- Go to Code Snippets → Header & Footer and paste the snippet into the Header box, which outputs in <head>.
- Save changes.
- If you use a caching or optimization plugin (WP Rocket, Autoptimize, LiteSpeed), exclude cdn.patchwork.run from “delay JavaScript” and “defer JavaScript”, then clear the cache.
Theme alternative: add the snippet in a child theme's header.php right after <head>, so a theme update doesn't remove it.
Check it worked
Load any page of your site. Within a minute your site's page in Tapestry switches from “Waiting for install” to “Installed”, and you can start your first experiment.