On this page
Before producing year-end reports, check whether URLs sent to analytics contain personal data. Email addresses, account identifiers, and search terms can appear in page paths, query parameters, referrers, or event properties—and may already be stored in reports or exports.
Use this checklist to find personal data in URLs sent to analytics, stop new exposure, and plan remediation for data already collected. The examples below are synthetic; use non-sensitive values when testing your own implementation.
Key Takeaways
- Inspect both the path and query string, as well as URL-related properties on page views and client-side events.
- Treat account identifiers and search terms as potentially personal even when they do not look like names or email addresses.
- Preventing future collection is separate from addressing data already stored in analytics, exports, and backups.
- Test fixes with synthetic values, then document access, retention, deletion, and any remaining limitations.
1. Identify where URLs enter analytics
- Inventory page-view collection on the website, including manually triggered page views and those triggered by client-side navigation.
- Inventory client-side events that send a full URL, path, query string, referrer, search term, or custom property. Check event code and tag-manager configuration, not just page-view reports.
- Include forms, search pages, account areas, campaign landing pages, and error pages in the review. A value may enter a URL on one page and appear as a referrer on another.
- Identify downstream destinations, such as reporting extracts, data warehouses, dashboards, and files shared with vendors.
- Record who owns each collection point and destination so that fixes and deletion requests have clear owners.
For example, if your team uses Google Analytics 4, check the current product documentation and your own implementation for URL-related page-view and event parameters, collection controls, retention, and deletion procedures. Current platform documentation was not available for review for this article, so do not assume a particular setting, default, or deletion capability applies to your setup.
Advertisement
2. Inspect paths and query parameters
Start with synthetic examples like these. Each represents a different way data can be embedded in a URL:
https://shop.example.test/account/person%40example.test: the path contains an encoded email address.https://shop.example.test/search?q=medical+appointments: the query string contains a search term that could reveal sensitive information in context.https://shop.example.test/orders?account_id=demo-4821: the query string contains an account identifier that may be linkable to a person.https://shop.example.test/form?name=Alex+Example&email=person%40example.test: separate parameters contain a name and email address.
A value does not have to be directly identifying to warrant investigation. An internal account ID or a detailed search phrase may identify someone when combined with other information. Whether a particular value is personal data depends on context and applicable requirements.
For each relevant URL field:
- Separate the path from the query string and inspect both. Do not restrict the review to parameters named
emailoruser. - Check for names, email addresses, phone numbers, account or customer IDs, free-text fields, and other values relevant to your site.
- Review encoded values: for example,
%40represents@. In form-style query strings,+can represent a space. Parse the URL before decoding individual components so encoded delimiters do not change the structure you inspect. - Check repeated parameters and alternate parameter names. Review URL fragments too if your instrumentation explicitly sends them; do not assume they are captured or excluded without checking.
- Compare representative page types and event types. A review of only top landing pages can miss account pages or custom events.
Use access-controlled analytics data and approved internal processes for any review of real values. Avoid pasting production URLs into external tools or tickets. Record the field, page type, owner, and a masked or synthetic example rather than copying the personal data into the audit record.
3. Prevent new collection
- Remove personal data from URL design where possible. For example, avoid putting form responses or email addresses into query strings. Prefer a design that does not expose the value in the address bar.
- Review page-view and event payload construction. Remove unnecessary URL components and custom properties before they are sent to analytics.
- Apply approved platform or tag-level controls where appropriate, but verify exactly which fields and collection paths they cover. A control on page views may not cover custom events or another destination.
- Check referrers, client-side navigation, third-party tags, and server-side collection separately. Fixing one analytics event does not automatically fix every copy of a URL.
- Coordinate changes with engineering and privacy teams. Removing or changing a URL component can affect routing, attribution, or reporting.
A browser-side change made after a page loads may be too late to prevent the original URL from reaching servers or other collection points. Trace the full request and event flow rather than relying on a single cleanup step.
Advertisement
4. Test the changes without real personal data
- Use a test environment or approved test property and clearly synthetic values, such as
person@example.testanddemo-4821. Do not use a real customer record to demonstrate the issue. - Exercise page loads, client-side navigation, searches, forms, and relevant custom events. Include an encoded value and repeated query parameters in the test cases.
- Inspect the outgoing analytics requests with browser developer tools or your approved debugging tools. Check the actual event properties, not just what appears in a dashboard.
- Verify that unwanted values are absent from each destination you control, including custom event properties and downstream exports. Allow for any processing delay before checking stored data.
- Confirm that useful reporting still works and document the test cases, results, release date, and owner. Re-test after changes to tags or site routing.
A successful synthetic test shows what happened in the tested flows; it does not prove that every historical record or untested page is clean.
5. Remediate data already collected
Filtering or suppressing future events does not, by itself, establish that previously collected data has been removed. Work with the platform owner and privacy team to determine what is stored, where it has been copied, and which remediation options actually apply.
- Document the affected fields, date ranges, properties, exports, dashboards, and known recipients without unnecessarily reproducing the values.
- Restrict access to affected datasets while the team assesses the issue. Follow your organization’s incident and privacy procedures where applicable.
- Check the analytics provider’s current deletion and retention documentation. Record the scope, prerequisites, limitations, and expected timing of any requested deletion; do not assume that a filter deletes old records.
- Address copies separately, including warehouse tables, scheduled exports, shared files, vendor-held data, and backups. Record where deletion is possible, where retention applies, and who is responsible.
- Verify completion using the methods available for each system, and document any residual data or inability to confirm deletion. Consider applicable legal holds and other obligations before deleting records.
- Keep an audit trail of decisions, access changes, deletion requests, confirmations, retention periods, and follow-up dates.
Common Mistakes
- Checking only the query string. Paths and event properties can carry the same information.
- Searching only for email addresses. Account IDs and free-text searches can also be sensitive or linkable.
- Assuming a reporting filter prevents collection. A display or reporting control may leave the underlying data or downstream copies untouched.
- Testing only the first page load. Single-page navigation and custom events can send different values.
- Sharing real examples too widely. An audit spreadsheet or support ticket can become another copy of the exposed data.
- Declaring historical data deleted without confirmation. Retention, exports, and backup handling require separate investigation.
Best Practices
Make URL and event review part of release checks for forms, account pages, and search features. Assign owners to analytics configuration and downstream datasets, use synthetic regression tests, and periodically review access and retention. Before year-end reporting, resolve or explicitly document outstanding exposure and remediation work rather than carrying unexplained personal data into another report.
Conclusion
Inspect every place your analytics implementation sends or stores URL values, then address future collection and existing records as separate tasks. Synthetic testing and a documented retention and deletion plan make the results easier to verify and maintain.
What would your domain sell for?
A free TidyURLs account unlocks the Domain Estimator. It prices a name from 191,011 real domain sales.