Lightweight, Cookie-Free Analytics for SaaS Marketing Sites
Your marketing site has one job: turn visits into trials. BYOViral tells you which campaigns and sources bring those visits, with a script small enough that it does not get in the way of the page.
Measure the marketing site, not the product
BYOViral is built for public pages: the homepage, pricing, docs and blog. It answers where visitors come from and which pages lead to a signup. It is not a product analytics tool for tracking what users do inside your logged-in app, and it does not join visits to user accounts.
What you can track
Sending a custom event
After the tracking script is on the page, call pa.track with a name. The event shows up in the Events report.
<button onclick="pa.track({name: 'Start trial'})">Start your trial</button>
Single-page apps are covered too: the script records a pageview whenever the URL changes through the History API.
Script weight and cookies
The tracking script is about 650 bytes, roughly 435 bytes compressed, and loads with async and defer. It sets no cookies and uses no browser storage, so it adds no cookie entries to your consent setup. Whether your site needs a banner still depends on your other tags, such as ad pixels, chat widgets and session recorders.
SaaS questions
Can it attribute signups to campaigns?
It shows which campaigns and sources bring visitors to your signup page, and with goals on Premium, how many of them reach it. It does not see what happens after signup inside your app.
Does it work with Next.js, Nuxt or other single-page apps?
Yes. The script listens for History API changes and records a pageview on each route change.
Is there an API?
Yes, on the Ultra plan.
Does it slow down landing pages?
The script is about 650 bytes and loads with async and defer, so it adds very little work for the browser.