kopairDocumentation
Dashboard ↗
Documentation / Website platforms

Install on Shopify

Where to place the kopair tag in Shopify. 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. In the admin open Online Store → Themes. Duplicate the theme as a backup before editing.
  2. Open the theme actions menu → Edit code → layout/theme.liquid. Find </head> and paste the kopair tag immediately before it; save.
  3. If you edited a draft theme, preview it first and publish that theme when ready. When replacing a theme, check the installation again.
Practical example

On /products/… compare a product-page CTA. Measure its click separately from a purchase. The theme tag covers the storefront; it does not automatically cover checkout, thank-you pages or customer accounts.

How to verify

Verify a published product page. Shopify custom pixels run in a sandbox; do not assume they can access the storefront window.kopair or edit its DOM. A confirmed purchase requires a separately verified integration.

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 ↗