What does 99Trace send to PostHog?Link to this section
Only to the PostHog project whose key you enter, and only once the mode is On. 99Trace sends nothing to 99Ways or to anyone else.
From your shop's serverLink to this section
- When an order is paid, refunded or cancelled, or its payment fails: the order's ID and number, its products, totals, tax, shipping, discounts, coupons, currency and payment method; the buyer's PostHog visitor, device and session IDs and experiment variants as saved at checkout; the checkout page's address and campaign parameters; and the buyer's IP address and browser, unless the order has no consent or Locate buyers by their own IP address is off.
- When the cart changes, a coupon is applied or removed, or the checkout opens: the product or coupon and the cart's value, under the visitor's ID, with the visitor's IP address and browser.
- With Customer details on the person on, and only for visitors who may be recorded: the buyer's e-mail address, first and last name and phone, on their PostHog person.
From the visitor's browserLink to this section
Only with Run PostHog in the browser on. 99Trace then loads PostHog's script (posthog-js) from PostHog's servers or your proxy. It sends page views, clicks and the other features you switch on, and asks PostHog which experiment variants apply.
What does 99Trace never send?Link to this section
- Postal addresses and order keys.
- An e-mail address as an ID: signed-in customers are named by an anonymous account number.
- Order keys and e-mail addresses inside web addresses: they are removed from every address PostHog receives, with the URL parameters you list.
- Element text, session replay and heatmaps on order and account pages, which show the buyer's name and address.
- The customer details of an order counted without consent.
- Anything from shop staff, page editors and page-builder previews, by default.
Which consent setting should I choose?Link to this section
The one that matches how your site asks for consent. Consent rules depend on your country and on what you record, so 99Trace follows your choice and makes none for you. Three settings work together: Consent says whose answer to follow, Before the visitor answers the banner what PostHog does until then, and Orders without consent what happens to an order without consent.
| Your site | Consent | Before the visitor answers |
|---|---|---|
| Cookiebot, as a plugin, in the theme or through Google Tag Manager | Cookiebot. Automatic also works, but finds only the plugin | Your choice of three, compared below |
| A cookie plugin that shares its answers through the WP Consent API | WP Consent API | Your choice of three |
Your own code calls posthog.opt_in_capturing() when the visitor accepts | My site calls posthog.opt_in_capturing() itself | Not used: PostHog loads switched off until your code calls it |
| Another banner, which 99Trace can't read | Make the banner call posthog.opt_in_capturing() on Accept and posthog.opt_out_capturing() on Decline, and choose the option above | Not used |
| No cookie banner: you decided analytics needs no consent, or you collect it another way | Track every visitor (default) | Not used |
Every option but Track every visitor waits for consent, and then Orders without consent decides what happens to an order from a buyer who refused or never answered. Cart and checkout events from before the answer are not sent. With Cookiebot, visitors from regions where Cookiebot asks for no consent are recorded at once.
What should PostHog do before the visitor answers?Link to this section
This choice applies with Cookiebot or the WP Consent API.
| Option | Until the answer | On Accept | On Decline |
|---|---|---|---|
| Wait (default) | PostHog isn't loaded: nothing is recorded, stored or sent, and experiments show no variant. | PostHog starts on that page. The pages before it are not recorded. | Nothing |
| Record the visit, send it when the visitor accepts | PostHog records pages and clicks in the page's memory, stores nothing in the browser and sends nothing. Experiment variants are requested from PostHog. Replay and surveys wait. | Everything recorded is sent under one visitor, and PostHog runs normally from then on. | The recording is thrown away. |
| Load PostHog switched off | Nothing is recorded. Experiment variants are requested, so the visitor sees their variant at once. | The page view and the experiment exposure are sent. | Nothing |
Record the visit sends only the page where the visitor answers, unless keep it across pages is on. Load PostHog switched off needs Feature flags and experiments on; without it, it works as Wait. Both ask PostHog for experiment variants before consent, so choose them only where that is allowed.
Behind a cookie banner, we choose Record the visit and Counted anonymously on the shops we run: PostHog keeps the visits of people who accept, and revenue stays complete without identifying anyone who refused.
What happens to an order placed without consent?Link to this section
It follows Orders without consent. Counted anonymously (the default) sends the purchase and its revenue without anything that identifies the buyer. Not sent keeps the order out of PostHog.
A buyer who accepts on the thank-you page before the order is sent is linked after all, and the order then goes to their visitor like any other. This needs PostHog running in the browser, Join the thank-you page's browser to the buyer on, and a guest order. The wait before sending gives the buyer that time.
What does an anonymously counted order carry?Link to this section
Sent
Order Completed, and laterOrder RefundedorOrder Cancelled, with the order ID and number, products, amounts, currency, coupons and payment methodconsent(deniedorunknown) andidentity_sourcenone- A distinct ID made for that one order (
99hog:order:…), so the order is counted once
Not sent
- The visitor's ID, session and device, so the order joins no visit
- A person:
$process_person_profileis false, so PostHog creates none - The buyer's IP address, browser, page address, referrer, campaign parameters and click IDs
- WooCommerce's order attribution, the experiment variants, and the buyer's e-mail, name and phone
PostHog still stores an IP address on it: your shop server's The order comes from your server, and PostHog keeps the address each event arrives from unless your project discards IP data. 99Trace marks the order $geoip_disable, so PostHog derives no location from it (+). On a live shop we run, every anonymously counted order carried the same address, the server's. To store no IP at all, switch on Discard client IP data in PostHog under Settings → Project → IP data capture configuration (+). When PostHog's destinations send purchases to Meta or Google Ads, leave out those whose consent is denied or unknown, or send them without an IP.
Does 99Trace send IP addresses?Link to this section
The shop's server passes the buyer's IP address on its events so PostHog shows the buyer's country and city, not the server's. It does so only for visitors who may be recorded, and only with Locate buyers by their own IP address on.
When an event carries no buyer IP, PostHog stores the address it arrived from: your shop server's. That applies to orders counted without consent, and to every server event with that setting off. 99Trace marks those events so PostHog derives no location from them. To store no IP addresses at all, switch on Discard client IP data in PostHog under Settings → Project → IP data capture configuration (+).
Does 99Trace send e-mail addresses and names?Link to this section
Only as properties of the buyer's PostHog person, with Customer details on the person on (the default), and only for visitors who may be recorded: the e-mail address, first and last name and phone the buyer types at checkout, or a customer's account details at sign-in.
They never go into events or web addresses, never onto an anonymous order, and never serve as an ID. PostHog's destinations hash them before they send them to Meta or Google Ads. With the setting off, none of these details reach PostHog.
How do I answer data export and erasure requests?Link to this section
- Export: WordPress's personal data export (Tools → Export Personal Data) includes what 99Trace keeps on the buyer's orders.
- Erasure: when WooCommerce removes personal data from an order (Tools → Erase Personal Data), 99Trace removes the personal parts it keeps there, such as the IP address, browser and checkout address. It keeps only what stops the order from being sent twice.
- Data already in PostHog is erased in PostHog: delete the person there.
For your privacy policy, Settings → Privacy → Policy Guide in WordPress has a suggested 99Trace text that follows your settings.
Does 99Trace make my shop GDPR compliant?Link to this section
No plugin can do that on its own: what you need depends on your country, your shop and what you record. 99Trace gives you the controls: consent modes for Cookiebot and the WP Consent API, orders counted without any identifier, switches for IP addresses and customer details, exclusion of staff, personal data export and erasure, a suggested privacy policy text, and the choice of PostHog's EU or US Cloud or a self-hosted PostHog.