Partner links

Cookies and consent

What Intrio stores in the browser, how long the attribution cookie lasts, and how to handle UK GDPR and PECR consent on your site.

What the script stores#

NameTypeContentsLifetime
pp_attrFirst-party cookie{ ref, click, at }: partner code, click id, timedata-days, default 90 days
intrio_seensessionStorage1 once the install check-in is sentThe browser tab
intrio_cartsessionStorage (Shopify only)The partner code last copied to the cartThe browser tab

There are no third-party cookies and no fingerprinting. The cookie is only set when the visitor arrives with a partner code.

Under PECR, storing information on a device needs consent unless it is strictly necessary for a service the user asked for. Affiliate tracking cookies are not usually treated as strictly necessary, so the cautious approach in the UK and EU is to load the script only after the visitor accepts the relevant cookie category. This is guidance, not legal advice; check with your own adviser.

Load after consent
function loadIntrio() {
  if (document.getElementById("intrio-sdk")) return;
  const s = document.createElement("script");
  s.id = "intrio-sdk";
  s.async = true;
  s.src = "https://intrio.co/sdk.js";
  s.setAttribute("data-key", "pk_…");
  document.head.appendChild(s);
}
// Call loadIntrio() from your consent banner's "accept" handler,
// and on page load if consent was given earlier.

Attribution without cookies#

If the visitor declines, you can still credit the partner by carrying the code through the visit instead of storing it on the device for later:

  • Read via or pp_ref from the landing URL and keep it for the current tab (in memory or sessionStorage).
  • Add it to your sign-up form as a hidden field, or to links into your app as ?via=<code>.
  • Send it as ref from your server with the Conversions API, or save it on the customer in Stripe metadata.

This credits partners whose visitors convert in the same visit. Visitors who come back days later without the cookie can't be matched.

Last updated 20 November 2026. Building with an AI assistant? Point it at /docs/llms-full.txt.