Try for free

Blog ·

How to track sign-ups, clicks and downloads without cookies

Visitor numbers tell you people arrived. Events tell you whether they did what you hoped. How to count the actions that matter with one line of code, and why it makes your AI insights sharper.

A pageview tells you someone arrived. It doesn't tell you whether they booked the call, downloaded the brochure or signed up. For most websites, that second part is the whole point.

That's what events are for. An event is a count of something a visitor did: a button clicked, a form sent, a file downloaded. You decide what counts, and your dashboard shows how often it happens next to your traffic.

What's worth counting

Start with the one or two actions that mean your website is doing its job. For most sites, that's a short list:

  • A sign-up or enquiry: a contact form sent, a trial started, a newsletter joined.
  • A booking or purchase: a table booked, a basket checked out, a consultation requested.
  • A download: a price list, a menu, a brochure or a case study.
  • A click to leave: a "call us" link, an email link, or a button that hands people to a booking system on another site.

Resist the urge to count everything. Ten events nobody looks at are less useful than one you check every week.

Some events are counted automatically

Once ClearView's snippet is on your site, a few common actions are counted without you doing anything:

  • Email and phone links being clicked. Never the address or number itself.
  • Downloads of files such as PDFs, spreadsheets and zips, labelled with the file's name.
  • Links to other websites, labelled with the website's name.

Don't want some of them? Untick them in the dashboard's snippet panel, and copy the snippet it gives you.

Adding your own takes one attribute, no code

For anything else, add data-clearview-event with a name to the button, link or form you want to count. For example, on a "Book a call" button:

<a href="/book" data-clearview-event="book_call">Book a call</a>

Or on a form, which counts when it's sent (never what's typed into it):

<form data-clearview-event="enquiry">

That's it. The next time someone books a call or sends the form, it appears under Events on your dashboard, for whichever period you're looking at. Most website builders let you add attributes like this to a button in their settings.

Prefer JavaScript? clearview("book_call") does the same from anywhere on the page.

Labels: which button, which file

Often you want to know more than "someone signed up". A label adds that detail without creating a new event for every variation:

<a href="/signup" data-clearview-event="signup" data-clearview-label="pricing-page">Sign up</a>
<a href="/signup" data-clearview-event="signup" data-clearview-label="homepage-hero">Sign up</a>

From JavaScript, it's clearview("signup", { label: "pricing-page" }).

Your dashboard shows the total for each event, broken down by label. So you can see that 40 people signed up this month, and that most of them came from the button on your pricing page rather than the one at the top of your home page.

A few tips for names

  • Keep them short and plain, like signup, enquiry or download. You'll read them on the dashboard, so make them obvious.
  • Pick one style and stick to it. book_call and Book Call are counted as two different events.
  • Use labels for the variations, not new event names. One download event with ten labels is easier to read than ten download events.
  • Never put personal details in a name or label. No email addresses, names or order numbers. Events are for counting what happened, not who did it. Labels that look like an email address or phone number are removed automatically, and your dashboard will warn you.
  • Don't use pageview or leave as names. ClearView keeps those for visits, so they aren't counted, and your dashboard will tell you.

Still no cookies

Events work exactly like the rest of ClearView. Nothing is stored on your visitor's device, no cookie is set and no IP address is kept. An event is simply a count, with the page it happened on, so it fits the same statistics-only approach that lets ClearView work without a consent banner in the UK. (We explain the rules in Do you still need a cookie banner?)

Why events make your AI insights better

This is the part most people miss. ClearView's AI insights read your events along with your traffic. One of the five headline cards is a conversion signal, and without events it can only guess at buying intent from things like pricing page visits.

With events, it can tell you what actually happened:

Enquiries are up to 23 this week from 15, and 14 of them came from the button on your pricing page. Pricing page views also rose after Tuesday's LinkedIn post, so the two are probably linked. Try next: give your services page, your second most-visited page, the same button.

That's an example from made-up numbers, but it shows the difference. Instead of "traffic is up", you get "more people did the thing you care about, and here's where they came from". The more clearly your events describe what matters, the more useful the advice.

Start small

Add one event today, for the single action that matters most on your site. Leave it a week, then see what your dashboard and your AI summary make of it. You can always add more later. The best analytics setup is the one you actually look at.

See your visitors clearly

ClearView counts your visitors without cookies and explains your numbers in plain English. Try it free for 14 days, no card needed.

Start your free trial