Install Chartsy in 2 minutes
One script tag in the head of every page. It records where each visitor came from - the first thing every Chartsy report is built on. Pick your platform.
Frameworks
Add the script once, in the layout every page shares.
The snippet#
Every guide uses the same tag. Copy yours from Growth Attribution in the Chartsy sidebar: step 1 of Set up tracking has it with your site's public key (ch_pk_...), which is safe in the browser:
<script async src="https://chartsy.fra1.digitaloceanspaces.com/production/static/track.js"
data-key="ch_pk_..."
data-api="https://dashboard.chartsy.app/api/attribution"></script>It must be on every page, including your app where people sign up, and only once per page. If your marketing site and app are on different domains, install it on both and register both under Settings → Domains.
Not your platform? The snippet is plain JavaScript and works anywhere a <script> tag runs - see Set up website tracking for the full reference, including script attributes and multi-domain setups.
Test on your live site#
Chartsy ignores localhost, private IP addresses and automated browsers (Playwright, Puppeteer, Selenium, headless Chrome), so local test visits won't appear. Deploy first, then open the live site in a normal browser.
Next: track signups#
With the script in place, Chartsy knows where visitors come from. Tell it who signed up, and it can show which channels bring customers.
Signup tracking guides

