kopairDocumentation
Dashboard ↗
Documentation / Website platforms

Install on WordPress / WooCommerce

Where to place the kopair tag in WordPress / WooCommerce. Use the tag from your own site's installation dialog.

Reviewed: 25.10.2026 · Based on current product behavior
● ● ●   index.html<head>
  …
  <script src="…/agent/YOUR_CLIENT_ID.js"></script>
</head>
↑ The kopair tag goes before the closing </head>, once, without async/defer. Placement diagram, not a complete installation tag.

Step by step

  1. Install and activate the WPCode plugin if you administer plugins. On WordPress.com check that your plan and hosting features allow scripts/plugins.
  2. Open Code Snippets → Header & Footer. Paste the kopair tag into Header and Save Changes.
  3. Clear page, hosting and CDN caches. Exclude the kopair agent from JavaScript delay, async or defer rewrites in optimization plugins.
Practical example

WooCommerce: compare product-page copy and track an add-to-cart click as a micro-conversion. An order goal must fire only after confirmed success; a click on “Place order” is not payment confirmation.

How to verify

Open a logged-out public page after clearing caches. If your form plugin uses AJAX, connect a custom event to its documented success callback rather than to the submit-button click.

Official platform instructions

The insertion steps are based on these sources. These are not end-to-end compatibility certifications. Platform interfaces and plan access can change.

Official guide 1 ↗Official guide 2 ↗