Free, independent guides since 2010

Analytics & data

Conversion tracking: measuring what visitors do

How to track conversions on a website: defining goals, form submissions, phone and email clicks, downloads, e-commerce purchases, thank-you pages versus events, and testing your setup.

<guide section="Analytics & data" type="article" read="1 min"/>

Visitor numbers tell you about traffic; conversions tell you about results. Every site should track its main conversions. This builds on key website metrics.

Define your conversions

ConversionHow to track
Contact or quote formThank-you page visit or form submit event
Phone clickClick event on tel: links
Email clickClick event on mailto: links
DownloadFile download event
Newsletter sign-upEvent or confirmation page
PurchaseE-commerce purchase event with value
BookingConfirmation page or integration event

Example: tracking phone clicks

JavaScript
document.addEventListener('click', (e) => {
  const a = e.target.closest('a[href^="tel:"]');
  if (a && window.gtag) gtag('event', 'phone_click', { link_url: a.href });
  // Matomo: _paq.push(['trackEvent', 'Contact', 'Phone click']);
});

E-commerce tracking

Shop platforms and their analytics integrations can send product views, add-to-cart, checkout steps and purchases with values. This enables funnel analysis and revenue per channel (see webshop KPIs).

Test your setup

  1. Use the real-time or debug view of your analytics tool.
  2. Complete each conversion yourself.
  3. Check that it appears once – not twice, not zero.
  4. Repeat after every redesign or form change.

Connect to sources

Conversions become really useful combined with traffic sources: which channel brings enquiries, not just visits? Use UTM links and read marketing attribution.

Frequently asked questions

Thank-you page or event?

A thank-you page is simple and robust. Events are more flexible – for example for forms that do not reload the page, or for clicks on phone numbers.

Can I track phone calls?

You can track clicks on tel: links. Calls from people who type the number themselves need call tracking services or simply asking “how did you find us?”.