TrueMetriks documentation: GDPR and HIPAA compliance https://docs.truemetriks.com/features/gdpr-compliance/ Generated from the TrueMetriks documentation. Paste the whole of this file into ChatGPT, Claude, Gemini, Cursor or any other AI. I use TrueMetriks, a server-side tracking and conversion attribution platform. It tracks my website visitors, ties every sale back to the ad that produced it, and sends those conversions back to my ad platforms. Help me with this specific task: GDPR and HIPAA compliance. Choose how TrueMetriks tracks visitors: full tracking, a consent banner for GDPR, or HIPAA mode for healthcare sites with no cookies and nothing sent to ad platforms. HOW TO GUIDE ME - This file has three parts: THE GUIDE is today's task, BACKGROUND is a prerequisite to confirm with me before you start THE GUIDE, not optional reading, and LINK MAP is the only place a real link comes from. - Ask me ONE thing at a time and wait for my answer before moving on. - At the start of every step, ask me: "do you want the written steps, or the video?" If I pick the video, give me the exact link from the LINK MAP at the bottom and wait until I tell you I have watched it. If I pick the written steps, give them to me from this file. - Only ever give me links that appear in the LINK MAP below. Never invent a URL, never guess an anchor, and if I ask for something that has no link here, say so and point me at https://docs.truemetriks.com/ instead. - Never ask me for my password, my API key, my MCP key, or any card details. You are reading me the steps; I am the one clicking in my own account. - Confirm each step worked before starting the next one. - Keep it short. I am doing this while looking at my screen, not reading an essay. - Everything you need is in this file. You do not need to browse the web. =============================================================================== THE GUIDE: GDPR and HIPAA compliance https://docs.truemetriks.com/features/gdpr-compliance/ =============================================================================== These controls live under your site's **Settings**, in the **Privacy & Security** section. If you use WordPress, the **Privacy** card in the TrueMetriks plugin settings is the same setting: change it in either place and both change. ## Choose a privacy mode **Privacy mode** has three options. Each one decides what is stored on the visitor's device and what reaches your ad platforms. | What changes | Full tracking | Consent banner (GDPR) | HIPAA (cookieless) | |---|---|---|---| | Who it is for | Visitors outside the EU, or consent collected another way | Sites with visitors in the EU | Healthcare sites | | Cookies TrueMetriks sets on the visitor's device | Yes | Only after the visitor clicks Accept, plus one cookie that stores their answer | None | | IP address in your reports | Yes | No | No | | Conversions sent to ad platforms | All of them | Only from visitors who clicked Accept | None | | Ads optimize on your conversions | Yes | On the visitors who clicked Accept | No | | Banner shown to visitors | No | Yes, unless you already use a consent tool | No | Cookies left on a device from days when the site ran Full tracking are ignored while a visitor is cookieless, not removed. Only a Reject on the consent banner deletes them (see [Accept, Reject or no answer](#accept-reject-or-no-answer)). **Full tracking** is the default. It gives the most complete attribution. **Consent banner (GDPR)** lets each visitor decide. It is the GDPR mode. **HIPAA (cookieless)** keeps identifiers from the browser away from your visitors' devices, your reports and your ad platforms. It is off unless you turn it on. ## Why GDPR and HIPAA need different modes **GDPR asks for consent.** Sending a visitor's data to an ad platform needs their consent, whether it travels through a browser pixel or server to server. Once a visitor clicks Accept, sending is allowed. **HIPAA forbids the sending itself.** On a healthcare site, an IP address, cookie, click ID, email or phone number sent to an ad platform together with a visit can disclose protected health information. Ad platforms do not sign the agreement HIPAA requires, and a click on a cookie banner is not a valid HIPAA authorization. So a banner solves GDPR but cannot solve HIPAA. That is why the two are separate modes. ## HIPAA mode (cookieless) Use this mode on healthcare sites. TrueMetriks still counts every page view, lead and sale in your own dashboard. From the browser, it never collects anything that identifies the person, and it sends nothing to any ad platform. No banner is needed, because nothing is stored on the visitor's device. ### What it does **No cookies.** Nothing is written to the visitor's browser that could recognize them later. **No identity capture.** The tracker does not read email addresses, names or phone numbers out of your forms or page links, and keeps none of them on the device. **No IP address or other identifier in your reports.** The IP address is used to place the visit on the map (country, region and city) and to keep one day's visit together. The address itself does not appear in your reports and is never sent to an ad platform. **No identifiers in page links.** Email addresses, phone numbers, names and ad click IDs that appear in your page links under the usual parameter names are blanked before the visit reaches your reports, so your reports show only that a click ID was there, not its value. **Nothing sent to ad platforms.** Meta, Google Ads, GA4 and TikTok receive no events from this site: no IP address, no browser details, no click IDs, no email, no visitor ID. **No third-party scripts.** Microsoft Clarity session recordings and the TikTok pixel are not loaded. **A visitor ID that resets every day.** To keep one visit's pages together, the same device on the same network is counted as one visitor until midnight UTC. After that it is a new visitor, so no one can be followed from one day to the next. ### Why nothing reaches your ad platforms An ad platform can only use a conversion when it can match it to a person. To match, it needs at least one of these: an IP address, its own cookies, the click ID from the ad, an email address or a phone number. On a healthcare site, HIPAA forbids sending every one of those to an ad platform. A conversion with none of them cannot be matched, and Meta rejects such events outright. So in this mode TrueMetriks sends nothing at all, rather than sending events that cannot work. ### What you give up **Ad optimization.** Meta, Google and TikTok see no conversions from this site, so their algorithms cannot optimize your campaigns toward your leads and sales. Expect your ad platforms to report fewer conversions than your dashboard. **Returning visitors.** Someone who comes back tomorrow is counted as a new visitor, so multi-day journeys and cross-session attribution are not available. ### Data you send us yourself Server-side sources you connect on purpose keep working: WooCommerce orders from the WordPress plugin, and webhooks from Stripe, Whop, PayPal, GoHighLevel, ClickFunnels and the like. They appear in your own dashboard with the details you send. In this mode they are never passed on to an ad platform. If you are covered by HIPAA, only connect sources that send TrueMetriks patient details once the agreements HIPAA requires are in place. ### Turn it on 1. Open the site's **Settings** and go to **Privacy & Security**. 2. Set **Privacy mode** to **HIPAA (cookieless)**. 3. Leave **Block bot traffic** on. 4. Click **Save changes**. The tracker picks up the change within about a minute. On Shopify, copy the pixel code again and replace it in Shopify (see [Platform notes](#platform-notes)). ## Consent banner mode (GDPR) Use this mode when your visitors are in the EU. Your visitors see a small banner and choose for themselves. ### What visitors see The banner says in a short note that the site uses cookies to measure its ads and improve the site, or shows your own text instead (see [Position, link and text](#position-link-and-text)). It has an optional link to your privacy policy and two buttons, **Reject** and **Accept**. Both buttons are the same size, weight and color, so neither choice is pushed. The banner does not block the page. Visitors can keep reading and scrolling while it is open. Its text follows the language of your page, or the visitor's browser, in English, German, French, Spanish, Italian, Portuguese, Polish, Czech, Ukrainian, Chinese, Japanese and Korean. Any other language shows English. ### Accept, Reject or no answer **Accept** switches that visitor to full tracking from that moment. Cookies are set, and their conversions are sent to your ad platforms, so your ads optimize on them. **Reject** keeps the visitor cookieless, with nothing sent to ad platforms, exactly as in HIPAA mode. TrueMetriks also deletes its own cookies they had. Meta's `_fbp` browser ID is left in place, because the site's own Meta pixel may share it. **No answer** is treated like Reject. Until the visitor clicks Accept, they are cookieless. Pages viewed before the visitor clicked Accept stay anonymous. If they accept on the page they landed on, the ad that brought them is still captured. ### Position, link and text **Banner position** places it at the bottom left (the default), bottom center or bottom right of the screen. Pick the corner your chat widget does not use. On phones the banner always spans the bottom of the screen, whatever you choose. **Privacy policy link (optional)** adds a "Privacy policy" link to the banner. It must start with `https://`. Leave it empty to show no link. **Banner text (optional)** replaces the banner's sentence with your own words, up to 500 characters. It is plain text, shown exactly as you write it in every language, while the buttons and the "Privacy policy" link stay in the visitor's language. Leave it empty to use our sentence, which is shown in the visitor's language. ### Asking again The visitor's answer is remembered for 180 days in one small cookie, `_tmc`, which stores only the answer itself. After that the banner asks again. Some browsers, such as Safari, delete cookies set by a page's scripts after 7 days, so their visitors may be asked again sooner. A site on several domains asks once per domain. A visitor who accepts on `yourshop.com` is asked again on `yourfunnel.com`. ### Add a cookie settings link Visitors must be able to change their mind as easily as they decided. Add a link such as "Cookie settings" to your site's footer that opens the banner again. Any element with the `data-tm-consent` attribute opens the banner when clicked: ```html Cookie settings ``` You can also open it from your own code with `tm.consent()`. If you ticked **I already use a consent tool**, neither of these opens anything: use your own tool's settings link instead. When a visitor who accepted clicks Reject later, TrueMetriks deletes its own cookies on that browser (except Meta's `_fbp`, as above), forgets the Accept it recorded for that browser on its servers, and stops: later sales linked to that browser, including ones that arrive by webhook, are no longer passed to your ad platforms. Cookies that Microsoft Clarity or TikTok set while they had accepted belong to those services and are not removed. ### Turn it on 1. Open the site's **Settings** and go to **Privacy & Security**. 2. Set **Privacy mode** to **Consent banner (GDPR)**. 3. If your site already has a consent tool, tick **I already use a consent tool** and skip to the last step. 4. Pick a **Banner position**, add your **Privacy policy link (optional)** and, if you like, your own **Banner text (optional)**. 5. Click **Save changes**. ## Already using a consent tool If your site already runs a consent tool such as Cookiebot, CookieYes, Complianz or OneTrust, choose **Consent banner (GDPR)** and tick **I already use a consent tool**. On Shopify, follow the [Shopify note](#platform-notes) instead. With the box ticked, TrueMetriks never shows its own banner, so the banner position, privacy policy link and banner text fields are hidden. Each visitor stays cookieless until your tool gives an answer. One exception: if your tool sets a Google Consent Mode default of granted, with no region, that page runs with full tracking until the visitor answers. **Google Consent Mode is read automatically.** Most consent tools publish the visitor's answer this way. A visitor counts as accepted only when your tool grants both **analytics** and **advertising** storage (`analytics_storage` and `ad_storage`). Anything less keeps them cookieless. **If your tool does not publish Google Consent Mode,** tell TrueMetriks the answer yourself from your tool's accept and reject callbacks: ```js // When the visitor accepts in your consent tool window.tm && window.tm.consent(true); // When the visitor rejects, or withdraws consent window.tm && window.tm.consent(false); ``` With the box ticked, `tm.consent()` with no argument does nothing, because your own tool owns the banner. **If you forget to tick the box,** TrueMetriks still looks for Google Consent Mode on the page and hides its banner when it finds it. Ticking the box is the reliable way: a tool that loads late, or that does not publish Google Consent Mode, would otherwise show a second banner. ## Platform notes **Shopify.** TrueMetriks' banner does not appear on Shopify, because the pixel runs inside Shopify's sandbox. Turn on Shopify's own cookie banner in Shopify Admin under **Settings**, **Customer privacy**, **Cookie banner**. The pixel follows it: a visitor who allows both analytics and marketing gets full tracking, anyone else stays cookieless. Wherever Shopify's cookie banner is not turned on for a visitor's region, Shopify reports that visitor as allowing analytics and marketing and the pixel tracks them fully, so turning on Shopify's banner is what makes this mode ask your visitors. The Shopify pixel code is generated for your privacy mode. After you change the mode, copy the code again from **Settings**, **Tracking**, **Shopify** and replace it in Shopify. Until you do, the old code keeps the old behavior, with two exceptions: on a Consent banner (GDPR) site an old pixel is always treated as not accepted, and on a HIPAA (cookieless) site every event is handled as cookieless whatever the old pixel sends. **WordPress.** Use the **Privacy** card in the TrueMetriks plugin settings, or the dashboard. In Consent banner (GDPR) mode, a WooCommerce order is passed on to your ad platforms only when the buyer clicked Accept. **ClickFunnels, GoHighLevel and custom sites.** Set the mode in the dashboard. There is nothing to re-paste: your tracking snippet picks up the change on its own. **Webhooks.** In Consent banner (GDPR) mode, a sale from a webhook (Stripe, GoHighLevel, ClickFunnels and others) is passed on to your ad platforms only when the buyer clicked Accept on your site, with the same email address, in the last 180 days, on a browser where they have not clicked Reject since. Visits from before you switched to Consent banner mode do not count as an Accept. In HIPAA mode it is never passed on. ## Block bot traffic Blocks bots that announce themselves, such as crawlers and scripts. Bots that pretend to be real browsers can't be blocked safely. We mark them as Likely bots in your reports instead: see [Likely bots](https://docs.truemetriks.com/dashboard/sessions/#likely-bots). **ON (default, recommended):** Traffic from known bots and crawlers is filtered out and never counted, so your numbers reflect real people. **OFF:** Bot and crawler traffic is counted alongside real visitors. This setting is purely about data quality. It has no effect on privacy or compliance, so you can leave it on at all times. ## What this does not cover These modes control what TrueMetriks puts in your reports and sends to ad platforms. They are not legal advice. Your overall GDPR and HIPAA compliance also depends on the other tools on your site, the data you choose to send us through webhooks and integrations, and any agreements your providers require. TrueMetriks does not hold a HIPAA certification. =============================================================================== LINK MAP Use these exact URLs. Anything ending in a # anchor opens on that section or that video. Nothing else is a valid link. Never invent a URL and never guess an anchor. GDPR and HIPAA compliance The guide ................................... https://docs.truemetriks.com/features/gdpr-compliance/ Choose a privacy mode ....................... https://docs.truemetriks.com/features/gdpr-compliance/#choose-a-privacy-mode Why GDPR and HIPAA need different modes ..... https://docs.truemetriks.com/features/gdpr-compliance/#why-gdpr-and-hipaa-need-different-modes HIPAA mode (cookieless) ..................... https://docs.truemetriks.com/features/gdpr-compliance/#hipaa-mode-cookieless What it does ................................ https://docs.truemetriks.com/features/gdpr-compliance/#what-it-does Why nothing reaches your ad platforms ....... https://docs.truemetriks.com/features/gdpr-compliance/#why-nothing-reaches-your-ad-platforms What you give up ............................ https://docs.truemetriks.com/features/gdpr-compliance/#what-you-give-up Data you send us yourself ................... https://docs.truemetriks.com/features/gdpr-compliance/#data-you-send-us-yourself Turn it on .................................. https://docs.truemetriks.com/features/gdpr-compliance/#turn-it-on Consent banner mode (GDPR) .................. https://docs.truemetriks.com/features/gdpr-compliance/#consent-banner-mode-gdpr What visitors see ........................... https://docs.truemetriks.com/features/gdpr-compliance/#what-visitors-see Accept, Reject or no answer ................. https://docs.truemetriks.com/features/gdpr-compliance/#accept-reject-or-no-answer Position, link and text ..................... https://docs.truemetriks.com/features/gdpr-compliance/#position-link-and-text Asking again ................................ https://docs.truemetriks.com/features/gdpr-compliance/#asking-again Add a cookie settings link .................. https://docs.truemetriks.com/features/gdpr-compliance/#add-a-cookie-settings-link Turn it on .................................. https://docs.truemetriks.com/features/gdpr-compliance/#turn-it-on_1 Already using a consent tool ................ https://docs.truemetriks.com/features/gdpr-compliance/#already-using-a-consent-tool Platform notes .............................. https://docs.truemetriks.com/features/gdpr-compliance/#platform-notes Block bot traffic ........................... https://docs.truemetriks.com/features/gdpr-compliance/#block-bot-traffic What this does not cover .................... https://docs.truemetriks.com/features/gdpr-compliance/#what-this-does-not-cover