WordPress
Clearlook on a WordPress site.
- Plugin: https://app.clearlook.dev/downloads/wordpress.zip, installed from Plugins › Add New › Upload, then the write key pasted in Settings › Clearlook. It adds the tag to every page and skips signed-in admins.
- Without the plugin: a header-scripts plugin, or the theme's
header.phpbefore</head>(a child theme, so updates keep it). - Caching plugins (WP Rocket, LiteSpeed) sometimes delay or combine scripts:
w.jsis excluded from delay and combine. - WooCommerce: an order event goes on the thank-you page:
platform.capture('Order completed', { revenue: 49.0, currency: 'EUR' }).