Site script, Pages report and browser extension

November 18, 2026

Optional. Your links work without it, but with it every click also records the page, the spot on the page and the ad that first brought the visitor.

Install

Copy the line from Site script and paste it before </body> on every page. It loads from your own domain if you've connected one, which ad blockers rarely block.

Name the spots (optional)

Wrap part of a page with data-spot, for example <div data-spot="comparison-table">…</div>, to compare a table with a button. Without it we still record the page and the link text.

Check it works

  1. Open your page with a test value, such as yoursite.com/review?utm_source=test.
  2. Click one of your tracked links.
  3. On that link's page, the latest click shows t_page, t_text and utm_source=test.

Nothing showing? Check the script line is on the page (view the page source), that the link you clicked is a Hoplytic link, and that a caching plugin isn't serving an old copy of the page.

What it records

When someone arrives from an ad, the ad's click IDs and campaign values from the address bar, kept in your site's own browser storage for 7 days. When they click a tracked link: the page, spot, link text, where they first came from, and those values. No cookies, no personal data, no fingerprinting. Links to other sites are never touched. Only your network's sub-ID values go on to the merchant.

Pages report

Pages shows which pages of your sites send clicks and earn money, across all links and networks, for 7, 30 or 90 days. Without the site script, clicks only show the referring site, not the page.

Browser extension

From Extension, connect the browser extension to make a tracked link from any page (click the icon or right-click a link), see each link's people, sales and commission on your own pages, and check all links on a page for dead links, home-page landings and untracked affiliate links. The on-page numbers need the site script.

More in Clicks and data