Installing the Keak Tracking Pixel
Last updated
Last updated
The Keak Tracking Pixel is a small JavaScript snippet that enables Keak to display variations to your visitors and record conversion events. You only need to install it once per website, and it will power all current and future tests on that domain​
How to install the pixel: After you launch your first test in Keak, you’ll be provided with a unique script tag (your tracking pixel). Include this script on your website’s pages, ideally by pasting it into the global <head>
section of your site’s HTML​. This ensures the script loads early on every page for reliable tracking. Most developers will add the pixel code to a site-wide header or template so it’s included on all pages. (For example, on Shopify you would paste the code into your theme.liquid header, or on WordPress into the global header.)
Once added, the pixel will asynchronously load a tiny library of functions that listen for visitor actions and enable Keak to swap in content variations when a test is running​
The script is lightweight and optimized for speed, so it won’t bog down your page load times. Placing it in the <head>
ensures maximum compatibility and that visitors are tracked even if they leave the page quickly​.
Note: If you need help installing the pixel on popular platforms, refer to our integration guides for step-by-step instructions (e.g., how to add the script to Shopify or Webflow). Once the pixel is in place, you do not need to reinstall or change it for each new test​ - it remains the same and will work for all tests on that domain.
Shopify Guide
Framer Guide
Webflow Guide
Wordpress Guide
Squarespace Guide