To know whether a campaign drives sales, whether a piece of content produces leads, or which channel is wasting budget, you first need the data. Tracking is the umbrella term for the technologies and methods that collect it. This page covers how tracking works, where the cookie debate stands as of November 2026, and which metrics are worth tracking.
What does tracking mean?
Tracking is the process of systematically collecting, measuring and analyzing data about how people interact with a website, app or digital marketing campaign. The aim is to turn anonymous clicks and visits into user journeys and behavior patterns you can understand, so the business can base marketing decisions on data rather than assumptions.
Why track?
- Understanding user behavior: seeing which pages visitors browse, where they get stuck and what they look for helps you shape the product and the pages around their needs.
- Measuring campaign performance: seeing which ad or campaign works and which one wastes budget lets you shift spend to more efficient channels.
- Tracking conversions: knowing who completes your most valuable actions (a purchase, a form fill, a demo request), when, and through which channel is the basis of any growth plan.
- Calculating return: working out the return on marketing spend (ROI / ROAS) separates profitable channels from loss-making ones.
How is tracking done?
Tracking relies on several technologies, each with a different job.
What are tracking codes and pixels?
Tracking codes and pixels are small JavaScript snippets added to your website's code.
- Analytics code (e.g. Google Analytics): measures overall behavior on your site, such as page visits, time on site and bounce rate.
- Ad pixels (e.g. Meta Pixel, the Google Ads tag): track what people do on your site after seeing or clicking your ad, which is how you measure a campaign's conversion impact.
- Tag management: instead of adding these snippets one by one, a tag management system such as Google Tag Manager simplifies the work and lets you control from one place which tag fires when.
What is the difference between first-party and third-party cookies?
Cookies are small text files stored in the browser to recognize a user.
- First-party cookies: set by the site you are visiting (examplesite.com). They power functions such as keeping you signed in or saving your cart.
- Third-party cookies: set by a different domain, for example an ad network embedded in the page. According to MDN Web Docs, these cookies can be combined across many sites to build a detailed profile of a person's browsing history, and in that role they are called tracking cookies.
What are UTM parameters for?
UTM parameters are tags added to the end of a URL that tell your analytics tool where the traffic came from. Google Analytics Help says every campaign URL should include utm_source (the source, e.g. linkedin), utm_medium (the medium, e.g. email) and utm_campaign (the campaign name); parameters such as utm_term and utm_content add detail. To tag links consistently, you can use our UTM builder.
What is event-based tracking?
Current analytics tools such as Google Analytics 4 build measurement around events. Google Analytics Help defines an event as something that lets you measure a specific interaction or occurrence on your website or app. Any meaningful interaction, such as a button click, a video play, a file download or a form submission, can be tracked as an event.
Are third-party cookies gone? Where does Chrome stand?
Regulations such as GDPR and Turkey's KVKK, along with browser privacy settings, have changed the rules of tracking. The picture across browsers, however, is less uniform than often assumed:
- Safari: in March 2020, the WebKit team announced that cookies for cross-site resources are blocked by default (Intelligent Tracking Prevention).
- Firefox: in June 2022, Mozilla made Total Cookie Protection the default for all desktop users. It creates a separate cookie jar for each site, which prevents cross-site tracking.
- Chrome: on April 22, 2025, Google said it would not roll out a standalone prompt for third-party cookies and that users would keep choosing in Chrome's Privacy and Security settings. According to MDN Web Docs, Chrome blocks third-party cookies by default only in Incognito mode or when users turn them off in settings.
In its October 17, 2025 Privacy Sandbox update, Google said it had decided to retire a range of Privacy Sandbox technologies, including Topics, Protected Audience, Attribution Reporting, IP Protection and Related Website Sets, while continuing to support CHIPS, FedCM and Private State Tokens. The Privacy Sandbox feature status page (last updated August 14, 2026) still lists Topics, Protected Audience, Attribution Reporting and Related Website Sets as "deprecate and remove," and IP Protection as "discontinue." As of November 2026, building a measurement plan on Privacy Sandbox ad APIs is therefore not a sound choice.
What can you do about cookie restrictions?
- Server-side tracking: instead of going straight from the browser to ad and analytics platforms, data first reaches a server you manage, where you control what goes where. For the setup steps, see our guide to setting up server-side tracking. Roicool sets up server-side Google Tag Manager.
- Conversions APIs (CAPI): platforms such as Meta accept server-to-server data alongside the browser pixel.
- Consent Mode: makes Google tags behave according to the user's consent choice; when a user declines, the tags don't store cookies.
- First-party data: data collected directly from users with their consent (email lists, form responses, CRM records) is less affected by cookie restrictions.
Which metrics should you track?
- B2B and lead-focused sites: form submissions, cost per lead, qualified lead rate, number of leads that become sales opportunities.
- SaaS (software as a service): trial signup rate, activation rate (the share of users who use a key feature), churn rate.
- Content sites / blogs: time on site, pages per session, new vs. returning users, newsletter signup rate.
- E-commerce: conversion rate, average order value, customer lifetime value (LTV), return on ad spend (ROAS).
Frequently asked questions
What is a tracker, and how is it different from tracking?
A tracker is the tool that does the tracking: a pixel, analytics tag, script or third-party cookie that collects data on a page. Tracking is the name for the process of collecting, measuring and analyzing that data. In short, the tracker is the part doing the work and tracking is the work itself. Browser tracking protections, such as Firefox's Enhanced Tracking Protection, which is on by default, target these tools.
Last updated:












