Choosing a Privacy Mode: Privacy, Consent or Full Tracking

Last updated

Revenue First Analytics has three tracking modes. Privacy mode stores nothing on the visitor’s device and attributes sales on the day of the visit. Consent mode works the same until the visitor accepts statistics cookies, then sets a first-party cookie that allows attribution across days. Full tracking sets that cookie for everyone. Consent mode is the default and we recommend it for EU, UK and EEA audiences.

You choose the mode in Rev Analytics > Settings, in the Privacy & GDPR card.

Privacy and GDPR card in Revenue First Analytics settings with the Privacy mode, Consent mode and Full tracking options
The three tracking modes in the Privacy & GDPR card.

How does each mode work?

Privacy mode

Nothing is stored on the visitor’s device: no cookies, no local storage. Visitors are counted with a hash that changes every day (explained below), so a returning visitor counts as a new visitor each day. Purchases and form submissions are attributed to the visit only when they happen on the same day. The submitter’s name and email are not stored with form submissions, IP addresses are truncated before the country lookup, and the Facebook Pixel and Conversions API are off.

Consent mode (recommended for EU)

Identical to Privacy mode until the visitor accepts statistics cookies. Consent plugins that support the WP Consent API (Complianz, CookieYes, Cookiebot and others) are picked up automatically. With any other banner, call window.rfa.setConsent(true) on accept and window.rfa.setConsent(false) on reject, or pass categories: window.rfa.setConsent({ statistics: true, marketing: false }). Setup is covered in Connecting Your Cookie Banner with the WP Consent API.

After statistics consent the tracker sets a random, first-party _rfa_vid cookie for one year and sends an identify call that moves the visitor’s current anonymous session to the new ID, so the landing page and traffic source of that very visit stay attributed. From then on purchases can be attributed to visits from days or weeks earlier, and the submitter’s name and email are kept with form submissions. Marketing consent additionally enables the Facebook Pixel and Conversions API. If the visitor withdraws consent, the cookie is removed on the next page load.

If no consent plugin is connected and no visitor has consented in the last 30 days, the dashboard shows the notice No consent banner detected: sales are only attributed within the same day. Until you connect a banner, Consent mode behaves exactly like Privacy mode.

Full tracking

Every visitor gets the one-year _rfa_vid cookie with no gating: attribution across days, name and email on leads, and the Facebook Pixel and Conversions API run for everyone (when enabled). Use it only when your audience is outside the EU or consent is handled entirely outside the plugin, for example by a banner that blocks the tracking script until the visitor accepts.

How does the daily rotating hash work?

Anonymous visitors (Privacy mode, or Consent mode before consent) are identified on the server with an HMAC-SHA256 hash of your site domain, the visitor’s IP address and the browser’s User-Agent string, keyed with a secret salt. The salt is a random value generated for each UTC day and stored in your database; the first 20 characters of the hash become the visitor ID. The IP address itself is never stored.

When a new day starts, the plugin creates a new salt and deletes every salt older than yesterday. Yesterday’s salt is kept for one more day only so that a session that crosses midnight UTC keeps its ID. Because old salts are gone, old hashes cannot be recomputed by anyone, including you, and the same person gets an unrelated ID the next day.

What does each mode store and allow?

Privacy modeConsent modeFull tracking
CookiesNoneNone until statistics consent, then _rfa_vid (1 year). _rfa_consent (1 year) when your own banner calls window.rfa.setConsent()._rfa_vid (1 year) for every visitor
Visitor IDDaily hashDaily hash until consent, then the cookie valueCookie value
Sales and leads attributed to a visitSame day onlySame day only until consent, then across daysAcross days
Submitter name and email on form submissionsNot storedStored after statistics consentStored
Facebook Pixel and Conversions APIOff (the toggle explains it is not available)Only for visitors with marketing consentFor every visitor
Order without a tracked visitUnattributedLinked to an earlier purchase with the same email, if one existsLinked to an earlier purchase with the same email, if one exists
Country lookupIP truncated to /24 (IPv4) or /48 (IPv6) firstTruncated for anonymous visitors, full IP for identified visitors; never storedFull IP; never stored

Every mode stores the same visit data: pages, referrer, UTM parameters, country, browser, OS, device type, time on page and scroll depth. The full list is in Cookies, Data Stored and Data Retention.

Which mode should you pick?

Your situationPick
Visitors from the EU, UK or EEA and you have (or will install) a cookie bannerConsent mode
Visitors from the EU, UK or EEA, no banner, and same-day attribution is enoughPrivacy mode
You want to use the Facebook Conversions APIConsent mode (needs marketing consent) or Full tracking
You need the submitter’s name and email on leadsConsent mode or Full tracking
Audience outside the EU, or your banner already blocks the script until acceptFull tracking

This is not legal advice; check with your own advisor.

Change the mode and what happens to existing data

  1. Open Rev Analytics and click the gear icon to open Settings.
  2. In the Privacy & GDPR card, select the mode.
  3. Click Save changes. The new mode applies from the next page load.

Switching never deletes or converts existing data. Reports keep every pageview, session, event and revenue row that was recorded before, under the IDs they were recorded with. What changes is how visitors are identified from now on:

  • To Privacy mode: on the next page load the tracker deletes the _rfa_vid and _rfa_consent cookies. The visitor becomes a new daily-hash visitor; their old history stays under the old ID and future purchases are no longer linked to it. Facebook events stop. Names and emails already stored on leads remain until data retention removes them or you erase them through a data subject request.
  • From Privacy mode to Consent mode or Full tracking: visitors receive a cookie (after consent, or immediately) and the current session is linked to the new ID. Earlier days cannot be joined, because those hashes can no longer be computed.
  • Between Consent mode and Full tracking: visitors who already have the cookie keep their ID. In Full tracking, anonymous visitors get a cookie on their next page load. Going back to Consent mode, visitors without statistics consent lose the cookie on their next page load.

Related: How Sales Are Attributed to Traffic Sources, Tracking Form Submissions and Leads and Facebook Conversions API and Pixel for WooCommerce.

Frequently Asked Questions

Does Privacy mode need a cookie banner?
The plugin itself stores nothing on the device and keeps no personal data in Privacy mode, the same approach as Plausible and Fathom. Whether your site needs a banner for other reasons is a legal question for your own advisor.
Does Consent mode set any cookie before the visitor consents?
No. Before consent the visitor is counted with the daily hash and nothing is written to the browser. The _rfa_vid cookie is set only after statistics consent, and _rfa_consent only when your own banner calls window.rfa.setConsent().
A customer clicked an ad on Monday and bought on Wednesday. Is the sale attributed in Privacy mode?
No. In Privacy mode the visitor gets a new ID each day, so only a visit from the day of purchase can be found. The order is counted, but it shows as Unattributed in the channel and campaign reports.
Can I use the Facebook Conversions API in Privacy mode?
No. Facebook receives visitor data, which requires marketing consent, so the integration is off in Privacy mode. Use Consent mode with marketing consent or Full tracking.
Does switching modes delete my reports?
No. Existing pageviews, sessions, events and revenue rows stay in the database. Only the way new visitors are identified changes, so history before and after the switch is not joined.
Browse our plugins

Lightweight WooCommerce plugins built for speed. No bloat, no frameworks -- just clean code that works.

View all plugins
Stay in the loop

Get notified when we launch new plugins. No spam, just product updates.