@thspian/circuul-react
React helpers for web Circuul flows — typically recording visits or helping hand off referral codes on the brand landing page.
Install
npm install @thspian/circuul-react @thspian/circuul-coreTypical use
- Initialize with your app token and API base URL from the Thspian campaign.
- On the branded landing / web-visit page, confirm the visit so CPA can accrue for web campaigns.
- When users arrive from a creator share link, keep the referral code from the URL so Circuul can attribute correctly.
Exact exports and hooks are documented on the npm package page; keep @thspian/circuul-core aligned to the same major version.