Partner links

Cross-subdomain attribution

Keep partner attribution when visitors move from your marketing site to your app on another subdomain, with a shared first-party cookie.

By default the pp_attr cookie belongs to the exact host that set it. If partners link to example.com but people sign up on app.example.com, add data-domain on both sites:

HTML
<script src="https://intrio.co/sdk.js" data-key="pk_…" data-domain="example.com" async></script>
  • The cookie is then set with Domain=example.com and is readable on every subdomain.
  • The value must be a registrable domain that the current page is on. If the page's host isn't example.com or a subdomain of it, the setting is ignored and a host-only cookie is used.
  • A leading dot is allowed and removed.
  • Add both hosts (or just example.com, which covers subdomains) to the allowed domains under Tracking.

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