Privacy policy
Last updated
DataPocket is a hosted web analytics service. This page covers two groups of people: visitors of websites that use the DataPocket tracking script, and people with a DataPocket account. It describes what the code actually does, including the parts that aren't finished yet.
The short version
- Visitors' IP addresses are used when an event arrives (location lookup, bot filtering, rate limiting) and are not written to our databases.
- The standard script sets first-party cookies to recognise returning visitors. The cookieless script sets none.
- By default only campaign parameters are kept from query strings, and email addresses and secret tokens are removed from stored URLs.
- Website owners decide what is collected on their sites and who sees it. We process that data for them.
- We don't sell data and we don't show ads.
Who is responsible for what
In this policy, "DataPocket", "we" and "us" mean the operator of the DataPocket service at datapocket.vo1d.studio.
Visitor data. When a website uses DataPocket, its owner is the controller of the data collected about its visitors: they choose to install the script, what it measures and who can see the results. DataPocket is the processor: we process that data on the owner's behalf and on their instructions, only to provide the service. If you visited such a website and have a question about your data, ask the website's owner first. We'll help them answer.
Account data. For the people who sign up and use the dashboard, DataPocket is the controller of their account data.
What the tracking script sends
Each time a page loads, and on each in-app navigation in single-page apps, the script sends one event. An event contains:
- the page address: origin and path, plus only campaign-related query parameters (
utm_*,ref,source,via, and ad click IDs such asgclid,fbclidormsclkid). The website owner can choose to send more parameters. A hash-router route (#/…) is included; other fragments are not. - the referring page's origin and path, without its query string
- a random visitor ID and session ID, when the visitor first came and how many sessions they've had (see cookies below)
- the browser's language, time zone and screen size
- the website's DataPocket site ID and domain
Depending on how the website owner set it up, the script also sends:
- goals: named actions such as a signup or a download, with up to 10 short properties the website chooses
- outbound link clicks: the link's origin and path and up to 120 characters of its text
- Core Web Vitals: load and responsiveness timings (LCP, INP, CLS, FCP, TTFB) for the page. Off with
data-disable-vitals="true". - payment hints: a checkout identifier from the return URL (a Stripe Checkout session ID, a Polar checkout ID or a Lemon Squeezy order ID) or a transaction ID the website passes, so a payment can be matched to the visit. No email address or card details are sent from the browser. Off with
data-disable-payments="true". - identify: if the website calls
datapocket("identify", …), the user ID it passes and, if it chooses, a name, email address, profile image URL and other properties. This lets the website owner see which signed-in customer a visit belongs to. It isn't available in cookieless mode. - the page's HTTP status when it isn't 200, so missing pages can be reported
Like every web request, the event also carries the browser's user agent and the visitor's IP address. The next sections say what happens to them.
The script sends nothing from automated or headless browsers, from inside iframes, from localhost or file:// pages (unless the owner allows it), or on paths the owner excluded.
What happens to the IP address
When an event arrives, our server uses the visitor's IP address, in memory, to:
- look up an approximate location (country, region, city, and the city's coordinates) in a DB-IP database file stored on our own server. The address isn't sent to any geolocation service.
- check whether it belongs to a data-center or cloud network, where bots usually run, using a DB-IP network database on our server. Website owners can turn this filter off.
- enforce rate limits and detect bursts of automated traffic. These counters live only in the server's memory and are never written to disk.
- compare it with addresses the website owner excluded (for example their own office).
- compute the daily visitor hash in cookieless mode.
Then it's discarded: none of our database tables has a column for IP addresses. The user agent is reduced to browser, operating system and device type, and isn't stored either. When a website forwards events through its own server (a first-party proxy), that server passes the visitor's IP address along and it's handled the same way.
What we store for each event
Time, event type and name, visitor and session IDs, session number and first-visit time, hostname and path, the cleaned query string, the referring site, the source and channel we derive from it, campaign tags, which ad network a click ID belongs to, country, region, city and approximate coordinates, browser, operating system and device type with their versions, screen size, language, and the event's properties. Web Vitals are stored separately with the path, device type, browser and country.
Before anything is stored:
- query parameters that often hold secrets or personal data are removed, for example tokens, passwords, codes, signatures, redirect targets, email, name, phone, address and birth date, and so is any parameter whose value looks like an email address
- path segments that contain an email address or a JSON Web Token, or look like a secret token after words such as
/reset/,/verify/or/invite/, are replaced with:redacted - campaign values that contain an email address are dropped
- invisible and control characters are removed from all text
These filters catch common patterns, not every possible case. Website owners shouldn't put personal data in page addresses, goal names or goal properties.
Payments and identified customers
If a website owner connects revenue, DataPocket stores each payment: amount and currency (and the amount converted to the site's currency), refunds, whether it's a renewal or a trial, the payment provider, and the visitor it's attributed to. Depending on the source it can also include the buyer's email address, name and customer ID:
- Stripe: the website owner provides an API key; we read checkout sessions and invoices from Stripe's API and receive Stripe's webhooks. Email and name come from Stripe.
- Shopify: orders from the store's API and webhooks, including the customer's email address, customer ID, and first and last name.
- Payment API (also used by the WordPress plugin for WooCommerce orders): what the website's server sends, which is an amount, currency and transaction ID, and optionally an email address, name and customer ID.
Identify calls store the user ID, name, email address, image URL and properties the website sends, linked to the visitor ID. Stripe, Shopify and webhook secrets are encrypted at rest (AES-256-GCM).
Opting out as a visitor
- Ad and tracker blockers that block the script stop all collection.
- Setting
localStorage.dp_ignoreto"true"in your browser's console stops the script from sending anything from that browser on that website. - Clearing the cookies starts a new visitor ID with no link to the old one.
- The script doesn't currently act on Do Not Track or Global Privacy Control signals. Website owners who need consent first can load the script only after a visitor agrees.
- To see or delete data about you, contact the website's owner. They can export it, and they can ask us to delete it.
Who can see analytics data
- The website's team in DataPocket: the owner and the members and viewers they invited. Visitor profiles, identified names and emails, and CSV exports are for the team only.
- Anyone with the link, if the owner makes the dashboard public. Public dashboards show aggregate statistics and individual visit paths under generated nicknames, with approximate locations. They never show visitor IDs, names or email addresses from identify or payments, goal property values, or the team's notes.
- Apps and AI assistants the team connects through the API or MCP, with a key or an OAuth grant limited to the sites and access (read, or read and write) the team chose. Keys and grants can be revoked at any time.
- DataPocket administrators can open any site's dashboard read-only, to run the service and handle abuse. Every such view is recorded in an audit log.
If you have a DataPocket account
We store:
- your email address and the name you gave, and when you confirmed your email
- your password as a salted scrypt hash, never the password itself
- sign-in sessions with the browser's user agent, valid for 30 days. Only a hash of the session token is stored.
- one-time email links (confirm email, reset password, sign-in link) as hashes, valid for 24 hours, 1 hour and 15 minutes
- API keys and OAuth tokens as hashes, with their names, scopes, and when they were last used
- your sites, their settings, team memberships and invitations (with the invitee's email address), goals, funnels, notes and alert rules
- your email preferences per site, and a log of which report and alert emails were sent
- an audit log of actions by DataPocket administrators
We send email to confirm your address, sign you in, reset or confirm a password change, deliver team invitations, and send the weekly reports, traffic alerts and uptime alerts you can switch off per site. Report emails carry a one-click unsubscribe link.
To protect accounts, sign-in and signup attempts are counted per network address, in memory only.
Our own site uses DataPocket to measure its public pages, with the standard script and its cookies. The dashboard, admin, shared dashboards, invitation and email-link pages, and the API are excluded. A signed-in browser also gets dp_session (the sign-in session, 30 days) and dp_dev (remembers devices that signed in successfully, so they aren't slowed by the login limits; 365 days).
Services we use
We don't sell personal data or share it for advertising. The service relies on:
- Cloudflare, which sits in front of our server as a CDN and proxy. Every request to DataPocket, including tracking events, passes through Cloudflare, which sees the IP address and request like any network provider.
- A dedicated server we operate, where the application, the databases (Postgres and ClickHouse) and the backups run.
- An email delivery provider, which receives the recipient's address and the message for each email we send.
- Frankfurter, an exchange-rate service based on European Central Bank rates. We send only a currency code and a date.
- Google PageSpeed Insights, for the SEO and speed audit a site's team can run. We send the URLs of the site's own pages.
- DuckDuckGo's favicon service, to show icons next to referring sites. Our server fetches them, so we send only domain names, never anything about visitors or your browser.
- Stripe and Shopify, only when a website owner connects them, using the keys or tokens the owner provides.
The DB-IP location and network databases are files on our server; looking an address up sends nothing to DB-IP. Uptime checks and SEO audits request the site's own pages from our server.
How long we keep data
| Data | Kept for |
|---|---|
| Events (pageviews, goals, outbound links, identify, payment hints) | 5 years, then deleted automatically |
| Core Web Vitals | 2 years |
| AI crawler visits reported by a site | 2 years |
| Counts of filtered bot traffic | 2 years |
| Uptime checks | 180 days |
| Payments, identified visitors, and the per-visitor first-visit summary | No automatic expiry yet: kept until the site's data is deleted on request |
| Cookieless salts | Deleted after the following day |
| Expired or revoked OAuth codes and tokens | Deleted a day after they expire; revoked app connections after 30 days |
| Account data | As long as the account exists |
| Backups of both databases | Taken nightly, kept 7 days |
Deleting data
Deleting a site (Settings, by its owner) stops tracking immediately and removes the site from dashboards, public links and the API. The site's stored analytics data isn't erased at that moment: it's no longer used or shown, events expire on the schedule above, and payments and identified visitors stay until they're deleted on request. If you want a deleted site's data erased, ask us.
Deleting an account isn't self-service yet. Ask us and we'll delete it. Removing a team member or leaving a team is available in a site's settings.
A single visitor's data can be deleted by the website's owner asking us with the visitor's ID, user ID or email address.
Deleted data can remain in backups for up to 7 days.
Your rights
Depending on where you live, you may have the right to access the personal data we hold about you, have it corrected or deleted, object to or restrict how it's used, and receive a copy. You can also complain to your local data protection authority.
Visitors of websites that use DataPocket should contact that website's owner first, since they control that data. Account holders can see most of their data in the dashboard and export site data as CSV. For anything else, including corrections and deletion, ask us. To make a request, email [email protected].
Security
Traffic is encrypted in transit (HTTPS through Cloudflare, with a certificate between Cloudflare and our server). Passwords are hashed with scrypt; sessions, email links, API keys and OAuth tokens are stored only as hashes; payment-provider secrets are encrypted. Cookie headers that a website's proxy might forward with events are dropped at our edge and never reach the application.
For website owners: data processing
You're the controller for your visitors' data, and you're responsible for having a legal basis for analytics on your site, for any consent or cookie notice your visitors' laws require (the standard script sets cookies; the cookieless script doesn't), and for mentioning DataPocket in your own privacy policy. DataPocket processes the data only on your instructions, as set by your site's settings, to provide the service.
A data processing agreement (DPA) is available on request. To request one, email [email protected].
Changes to this policy
When what we collect or how we use it changes, we update this page and the date at the top. For significant changes we'll also tell account holders by email or in the dashboard before they take effect.
Contact
Questions about this policy: [email protected].
This policy is written to describe the service accurately; it isn't legal advice for your own site.
See also the terms of service.