Cookieless Tracking: How It Works, What It Measures and Which Tool Fits

Cookieless tracking measures activity without a persistent analytics cookie, using approaches such as rotating daily identifiers, referrer-based arrival counts or consent-aware modelling. Each preserves different evidence. Choose the method by the report you need, inspect what it sends and retains, then test the configured journey before replacing your existing measurement.

Jafrin Akter AloLast updated 14 min read
On this page
Pink curtains frame a white measurement strip with lime shapes beside Cookieless Tracking.

A marketing team may only need to know which guides lead to observed bookings. A product team measuring account retention needs a durable account definition. Giving both teams a dashboard labelled “visitors” does not make their evidence interchangeable.

Our analytics and tracking implementation starts by defining the counting unit and the business decisions it must support. Write those choices into the tracking plan before choosing a script or removing a banner.

How does cookieless tracking work?

Cookieless tracking replaces or avoids a persistent browser identifier; it does not describe one collection method. Check the configured mechanism and its identity horizon, meaning how long it can connect activity to the same visitor.

How does cookieless tracking work?
MethodHow activity is countedMain limit
Rotating daily hashRequest information produces a short-lived identifierRepeated days do not establish the same returning person
Referrer-based arrivalsAn external or absent referrer identifies an arrivalArrival counts do not establish individual journeys
Consent-aware pings and modellingObserved signals support eligible aggregate estimatesModelled results are estimates, with eligibility conditions
Server-side collectionA server receives and forwards selected eventsTransport alone does not determine storage or identity
Persistent fingerprintingDevice/request characteristics reconstruct continuityCan recreate the persistent tracking the design was meant to avoid

Plausible's data policy uses a hash of daily salt, website domain, IP address and user agent. The salt rotates and is deleted every 24 hours; raw IP and user-agent values are not stored. PostHog's cookieless mode uses project, daily salt, IP address, user agent and hostname. Its rotation splits people across days; shared inputs can also combine different people.

Simple Analytics instead counts arrivals from the referrer hostname, drops IP addresses without hashing them, and derives country from browser time zone. Its “visitor” is a unique pageview/arrival, not a person followed over time. Country can be wrong where time zones are shared or missing from its mapping.

Ask the vendor and implementation owner:

  • Does the software read or write cookies, local storage, session storage or another device identifier?
  • Which fields leave the browser, including automatically added properties?
  • What makes two events belong together, and for how long?
  • What is stored, joined or forwarded after collection?

A stable account ID sent in every event creates continuity even without a cookie. Replacing a cookie with local storage changes where the identifier lives. It does not remove that continuity.

How should you implement cookieless tracking in order?

  1. Decide which counts must survive: pageviews, arrivals, observed conversions or returning people over a defined period.
  2. Select the method whose identity horizon supports those counts. Separate known-customer reporting when the anonymous mode cannot answer it.
  3. Configure the tool using the PostHog setup below or Plausible's script installation guide. Deploy to the relevant page templates and verify event delivery.
  4. Update consent and objection settings to match the actual storage, collection and purposes of every service on the site. Removing one analytics cookie does not settle the site's other choices.
  5. Compare one representative month against the previous setup before retiring it, where parallel collection is permitted. Use the migration acceptance checks below to explain differences rather than force equal totals.

For Plausible, obtain the site's own snippet from Settings → General → Tracking → Site installation → Review, place it in the page's head, and run the vendor's installation check. Review optional measurements before enabling them. The current script update guide uses a unique snippet per site; do not copy an old generic script with obsolete extension attributes.

Should you choose PostHog, Plausible or Simple Analytics?

Choose PostHog when website measurement belongs beside product analysis, Plausible for focused website reporting with a daily visitor horizon, and Simple Analytics when arrival counts meet the job. The configured anonymous modes cannot establish weekly returning people or account retention by themselves.

PostHog for teams already operating product analytics

  • Best for: an engineering team that wants website and product analysis in one environment, with their identity purposes kept explicit.
  • Pros: configurable cookie/consent paths and a broader product-analysis workflow.
  • Cons: anonymous mode changes feature availability and identity, so a normal product dashboard cannot simply be reused unchanged.
  • Free tier and startup offer: Product Analytics pricing includes one million events monthly; other products have separate meters. Startup eligibility is a separate programme, not a larger universal free tier.
  • Choose it if: the team can own configuration, event definitions and acceptance tests.
  • Weaker fit: a content editor who only needs an uncomplicated traffic report and has no engineering owner.

Plausible for website traffic and conversion reporting

  • Best for: a marketing site whose useful decisions fit daily traffic, campaign and observed-goal reporting.
  • Pros: a focused reporting model without persistent cross-day visitor identifiers.
  • Cons: a monthly unique-person or account-retention report needs different evidence.
  • Free tier and startup offer: the monthly Starter selector shows GBP 9 for 10,000 monthly pageviews, one site and three years of retention in the observed UK pricing view. A 30-day trial is offered. Confirm your currency and selected tier; this is not a converted USD quote or a startup grant.
  • Choose it if: the required reports and paid-tier features match the website's job.
  • Weaker fit: a product team that needs to follow the same account through a renewal cycle.

Plausible stores individual event/session records to calculate its aggregated dashboard. Its data policy also permits configured custom properties and revenue data. Review those fields instead of treating an aggregate interface as proof that only aggregate records exist.

Simple Analytics for arrival-based reporting

  • Best for: a team that accepts arrival counts as its website audience measure.
  • Pros: no persistent visitor identifier or device storage; useful traffic trends without reconstructing people.
  • Cons: aggregate funnel filters do not establish a particular person's path to purchase. The script does not automatically read the consent banner; a tag-manager trigger can still control whether it loads. See collection behaviour.
  • Free tier and startup offer: the hobby plan includes one user, five websites and the latest month of history, with a required badge. The self-serve trial lasts 14 days; the assisted enterprise proof of concept is a separate 30-day offer. No startup grant is assumed here.
  • Choose it if: the audience definition and retention allowance match the report.
  • Weaker fit: a team expecting anonymous arrivals to supply person-level multi-visit attribution.

Which tool fits common small-team scenarios?

Which tool fits common small-team scenarios?
Team and reporting jobFirst choiceRunner-upWhat decides it
Five-person publisher improving content and bookingsPlausibleSimple AnalyticsRequired goals, retention and reporting workflow
Ten-person product team already using PostHogPostHogPlausible for the public siteEngineering ownership and separation of anonymous versus known-user data
Solo hobby publisher reviewing recent arrivalsSimple Analytics hobby planPlausible trialOne-month history and badge acceptability
25-person software company measuring account renewalGoverned product/billing modelWebsite analytics alongside itA website-only anonymous count cannot supply the account outcome

Use other PostHog alternatives by job or GA4 alternatives for website reporting when those choices still do not meet the requirement. Compare the reports you need before comparing dashboard appearance.

How do you enable PostHog cookieless mode?

Enable the project setting and configure the JavaScript software development kit (SDK) together. The configuration reference warns that events are ignored when cookieless mode is configured without the required project setting.

  1. Enable Cookieless server hash mode under Project Settings → Web analytics.
  2. Choose always for collection without cookie/local/session storage, or on_reject for a consent decision before capture.
  3. Use person_profiles: 'never' when identification is out of scope; this makes identify() a no-op. Inspect custom properties and application wrappers too.
  4. Connect the choice interface to get_explicit_consent_status(), opt_in_capturing() and opt_out_capturing() as appropriate.
  5. Verify network requests, storage and expected events for pending, accepted and rejected choices.

In on_reject, pending captures wait; acceptance permits cookie-based measurement, while rejection enables cookieless measurement. Cookieless alias events are dropped. PostHog consent-mode instructions.

The following example assumes the PostHog client is already installed, a US-region project, and an application function named showAnalyticsChoice that renders your reviewed choice interface. Replace the project token and use the host for your actual data region. Its callback is called after the SDK loads.

JavaScript
posthog.init('YOUR_PROJECT_TOKEN', {
  api_host: 'https://us.i.posthog.com',
  cookieless_mode: 'on_reject',
  person_profiles: 'never',
  loaded: (client) => {
    if (client.get_explicit_consent_status() === 'pending') {
      showAnalyticsChoice();
    }
  }
});

function setAnalyticsChoice(choice) {
  if (choice === 'accepted') {
    posthog.opt_in_capturing();
  } else if (choice === 'rejected') {
    posthog.opt_out_capturing();
  } else {
    throw new Error('Expected an explicit analytics choice');
  }
}

Map your consent platform's actual values to those two choices; an absent value must not become acceptance. If the approved design requires all analytics to stop after refusal, this on_reject example does not implement that requirement. Use the reviewed blocking policy instead.

Without cookie consent, PostHog disables session replay and surveys; feature flags can arrive later without cached values. Cookieless limitations. Its storage documentation says cookieless IP stripping precedes GeoIP and IP-based bot detection, so those enrichments do not run. A location dashboard or recorded-session workflow needs an alternative plan.

Compare PostHog pricing by product after identifying the features the chosen mode can actually supply.

What does cookieless measurement mean in GA4?

Google Analytics 4 (GA4) can receive measurements without cookies, while its usual JavaScript implementation uses first-party cookies for user and session continuity. First-party and third-party cookies are different mechanisms. GA4 cookie usage.

Google's Consent Mode overview distinguishes basic mode, which blocks tags before consent, from advanced mode, which loads tags with consent defaults and can send cookieless pings. A denied storage setting therefore does not mean that no request is sent. Use the Consent Mode v2 setup comparison for that implementation decision.

GA4's behavioural modelling requires a compatible implementation and sufficient observed and denied-consent data. Meeting the published prerequisites does not guarantee eligibility. The output estimates unobserved behaviour; it does not identify each person who refused consent.

For a small site, confirm actual modelling availability before promising a missing report will be restored. A valid implementation can have insufficient volume for the model. Use the GA4 troubleshooting guide to trace the reporting and setup conditions.

Name the reporting surface too. An interface report containing modelled data and a raw export can legitimately differ. Keep observed events, modelled estimates and operational signups separate in the reporting contract.

Browser-roadmap headlines are a weak basis for a new design. Google's October 2025 update retained its approach to third-party cookie choice and retired several Privacy Sandbox technologies. Its feature-status page lists Attribution Reporting, Topics and Protected Audience for deprecation/removal. Avoid treating their old launch documentation as a current implementation commitment.

How does a daily identifier change the conversion denominator?

A count of visitor-day identifiers answers a different question from a deduplicated count of people. Consider the same fictional 100 people visiting on Monday and Tuesday, with no collisions or missed visits, and ten people each completing one signup.

How does a daily identifier change the conversion denominator?
Denominator in the fictional datasetCountSignupsCalculated ratio
Daily identifiers across both days200105%
Known people across both days1001010%

An anonymous dataset may not reveal the 100-person denominator. Calling the first ratio “person conversion rate” would change its meaning. The numbers do not show performance halving after a tool migration; they show a changed counting unit.

The reverse can happen when people share the inputs to a daily hash. Counts can combine as well as split. Document the implementation behind “unique visitors,” then compare daily visitor estimates with the same definition, events with the same event, and signups with accepted operational records.

For advertising impact, a recorded visit or conversion still cannot establish what would have happened without the spend. Use the incrementality decision guide when the business question is additional demand.

Does server-side tracking make data cookieless?

Server-side tracking changes where events are processed and forwarded; the event can still contain a persistent identity. Google's server-side tagging introduction describes that processing architecture. Review how server-side tracking routes events before treating the transport as an identity policy.

A browser may send a cookie-derived identifier to a first-party endpoint that forwards it. A backend purchase may carry a stable customer ID without an analytics cookie. Inspect the input, logs and onward requests, not only the final table.

Use the server for a defined purpose, such as validating an outcome or removing unnecessary fields. The server-side GTM setup guide provides the delivery sequence. These controls do not justify recreating an identity a visitor has refused for the relevant purpose.

Hashed emails in enhanced conversions serve advertising matching. Their purpose and continuity differ from an anonymous daily audience count even though the raw address is not sent in plain text.

Inspect transmitted fields, recipients and retention alongside device storage. An empty analytics-cookie list cannot establish what a request contains or how it is later joined.

Review page paths, referrers, query parameters, custom properties and automatically captured text. A URL containing an email address or a sensitive search can undermine the intended design. Remove unnecessary information before sending it to the collector. Review replay tools and consent separately because an anonymous pageview design does not settle recorded-session behaviour.

For health websites and sensitive analytics flows, an identifier combined with page context can create a different risk from a content-performance count. Keep the purpose and permissible data flow explicit.

The UK ICO's statistical-purpose exception has conditions covering service improvement, aggregation, objection and third-party use. A cookieless label alone does not establish eligibility. Providers used under that exception must assist the site's purpose rather than repurpose the data for advertising or profiling.

Use the country-by-country consent guide to scope the assessment and compare consent management platforms against the services and choices they must govern. Avoid covert fingerprinting to repair a deliberately short identity horizon. Govern known-customer measurement as a separate, explicit purpose.

How do you validate a migration against business questions?

Validate each business outcome and its counting rule, then explain differences between the old and new reports. A visually similar chart can hide a missed form event and a duplicate pageview cancelling each other out.

Choose representative landing, navigation, form, payment and next-day-return routes. Include meaningful embeds, cross-domain handoffs and single-page application navigation. Define expected storage, events, identity continuity and recipients for each.

How do you validate a migration against business questions?
Acceptance caseEvidence to inspectPassing condition
Landing and internal navigationNetwork requests and pageview countExpected one-per-navigation policy holds
Accepted or rejected choiceActual storage and outgoing eventsBehaviour matches the reviewed mode and notice
Successful formAccepted submission and corresponding eventNo count from validation errors or button clicks alone
Next-day returnIdentifier and report definitionNo unsupported cross-day person continuity is claimed
Sensitive URL/propertyOutgoing payload and collector recordsProhibited fields do not leave the approved boundary

Plausible's optional-measurement reference says automatic pageviews include supported History API navigation, and manual pageview calls are counted separately. Test a single-page route change before adding another manual trigger that could duplicate the automatic event.

During an approved, time-bounded parallel period, classify differences: identifiers, filters, consent, bot handling, event definitions or delivery failure. Reconcile accepted business outcomes against the system that owns them. Do not add tracking just to make two totals equal.

What should the final measurement contract contain?

The contract should state which decisions remain supported, the evidence behind each count and the questions the selected identity model cannot answer. At Martechdevs, we keep public-site measurement and known-account reporting separate until there is a valid identifier and an approved reason to connect them.

Start with the identity duration the report needs, then inspect what the selected mode stores, sends and retains. Correct failed choice, field or journey tests before using the new counts within their documented limits.

How the workflow fits together
Define the reporting unit and check whether the identity horizon supports it. Separate a known-customer purpose or revise the report when it does not; inspect data handling, repair unapproved configuration or failed journeys, and label observed, modelled and operational results separately.
Read diagram as text
  • Define the business decision and counting unit to The identity horizon supports this report?.
  • The identity horizon supports this report? to Revise the report or separate known-customer measurement: No.
  • Revise the report or separate known-customer measurement to Define the business decision and counting unit.
  • The identity horizon supports this report? to Inspect storage fields recipients and retention: Yes.
  • Inspect storage fields recipients and retention to Configured behaviour matches the approved purpose?.
  • Configured behaviour matches the approved purpose? to Correct collection and choice settings: No.
  • Correct collection and choice settings to Inspect storage fields recipients and retention.
  • Configured behaviour matches the approved purpose? to Journey and count-continuity tests pass?: Yes.
  • Journey and count-continuity tests pass? to Fix delivery or counting and repeat the checks: No.
  • Fix delivery or counting and repeat the checks to Inspect storage fields recipients and retention.
  • Journey and count-continuity tests pass? to Label observed modelled and operational results: Yes
Open full diagram

Checklist

  • The business decision and counting unit are written down.
  • Device storage, outgoing fields, recipients and retention are inspected.
  • Identity duration supports the report being promised.
  • Project and client settings agree.
  • Choice and objection behaviour matches the approved purposes.
  • Unavailable features and modelling eligibility are understood.
  • Migration tests cover accepted outcomes and significant navigation paths.
  • Reporting separates observed records, estimates and operational totals.

Bring the counting rules and test journeys to the $99 martech audit, or request a detailed Consent Mode v2 implementation scope when collection, consent and reporting need to be rebuilt together.

Keep reading

Browse all Tracking & Attribution guides

Questions people ask

How should an editor compare an article before and after its URL changes?

Preserve a mapping between the old and new canonical paths, then report their content performance as a defined group where the tool supports it. Keep the redirect and tracking deployment in the change record so a broken route is not mistaken for declining demand. This combines known content locations; it does not require identifying the people who visited either URL.

What if a campaign label accidentally contains an email address?

Stop the field from being sent and involve the responsible data owner in remediation. Identify the affected destinations, period and downstream copies, then follow the applicable deletion and incident process. Correct the campaign-generation rule as well as the analytics configuration. Replacing the visible dashboard label alone does not remove the original value from stored events, exports or other recipients.

Can a public analytics dashboard expose sensitive business information?

Yes. Even aggregate traffic, campaign or conversion totals can reveal commercially sensitive activity. Review the exact reports and filters before granting public access, and use a separate approved view when sharing results externally. Check small groups, revenue labels and unreleased campaign names. The absence of a persistent visitor identifier does not make every business metric appropriate for unrestricted publication.

How should you investigate a sudden increase in direct traffic?

Check whether referral information or campaign parameters stopped reaching the collector before changing the marketing forecast. Compare landing routes, redirects, link formats and deployment changes, using known campaign visits as acceptance cases. Direct or unknown attribution can reflect missing evidence rather than a new audience source. Preserve that uncertainty until the team can distinguish a measurement change from actual traffic behaviour.

How can employees be excluded without creating a new visitor identity?

Choose a controlled exclusion method that fits the tool and the workplace, such as an approved test environment or documented internal-traffic configuration. Keep its scope narrow and verify that real customers sharing a network are not removed accidentally. Avoid adding employee emails or durable staff identifiers merely to clean a website report. Record the exclusion so later comparisons use the same population.

Sources

  1. Google Analytics, GA4 cookie usage.
  2. Google, Updated Privacy Sandbox plans.
  3. Google, Privacy Sandbox feature status.
  4. Google, Consent Mode overview.
  5. Google Analytics, Behavioural modelling.
  6. PostHog, JavaScript configuration reference.
  7. PostHog, Cookieless modes and limitations.
  8. PostHog, Data-storage documentation.
  9. Plausible, Data policy.
  10. Google, Server-side tagging introduction.
  11. UK ICO, Statistical-purpose exception conditions.
  12. Simple Analytics, Data collection and arrival counts.
  13. PostHog, Product pricing.
  14. Plausible, Plans and monthly selector.
  15. Simple Analytics, Pricing, free plan and trials.
  16. Plausible, Script installation.
  17. Plausible, Script update guide.
  18. Plausible, Optional measurements and pageviews.
Portrait of Jafrin Akter Alo

Written by

Jafrin Akter Alo

Data Engineer and Co-founder at Martechdevs and Growth and Analytics Partners

Jafrin writes practical guides to marketing technology, customer data, analytics and AI workflows. Martechdevs is a Growth and Analytics Partners company.

View LinkedIn profile

Book a Free Call

Thirty minutes on your stack and what it needs. Free, and no pitch.

Thirty minutes, and you leave with a plan

We look at what you have, what it is costing you and what to do about it first.

  • 30 minutes
  • Video call, link on booking
  • No obligation

What we'll cover

  • Your current stack and where it hurts
  • Quick wins we can ship first
  • An integration roadmap
  • Timeline, scope and next steps

Calendar not loading? Open it in a new tab or email hello@martechdevs.com.