DocsFilters & Data Segmentation
Explore

Filters & Data Segmentation

Filter and segment your tracking data by page, country, device, UTMs, consent, tags, data layer and payload, and find where and why a problem happens.

Trackingplan Attributions let you filter and segment your analytics data when you debug it: by properties, products, device, country, browser language, UTMs, consent options, tags, data layer, query string or post payload. You use them in Data Explorer, Tracks Explorer and the other Explore tools.

They show you exactly where an error in your data happened, help you understand why, and point you to the fix.

To get every attribution, make sure your Web SDK script is on the latest version. Questions or need a hand? Contact us.

To check which SDK version you have, click tp_sdk_version in your Data Explorer.

Properties

Explore your data and warnings by property, and see how each property is tracked in your events.

Filter by property values to understand how your events behave.

Products

Filter and analyze product items from Google Analytics 4 (GA4) and 16 other providers, right in Data Explorer and Tracks Explorer.

With product-level attributes you can:

  • Filter data by item categories or specific item values to analyze performance by product type
  • Visualize results using item names to identify specific products
  • Segment by attributes such as size or other item-level dimensions
  • Display detailed product information directly in results

So you can analyze and validate your e-commerce tracking data in detail, provider by provider.

Attributions

Page Attributions

Page attributions let you filter and analyze data by page of your website or app. With each event tied to its page, you see quickly which pages drive conversions, errors or specific user behaviors.

Time Since Page Load (ms)

Time since Page Load (ms) is the real time, in milliseconds, between the page load event and the moment each request fires. The SDK measures it in the browser, so it’s actual timing, not an approximation.

It’s available as an Extra Column in Tracks Explorer, so you see when each request fired next to its event name, destination and status.

With it you can:

  • Analyze tag firing order across your implementation: which pixels and analytics tags fire early in the page lifecycle, and which fire late.
  • Detect delayed tags that fire well after page load, a possible sign of performance problems or timing gaps in your tracking.
  • Validate time-sensitive implementations such as scroll events, video interactions or engagement triggers that should fire within a set window after load.
  • Compare firing times across destinations for the same event, to find providers that receive the same data at different times.

This attribution requires SDK 1.39.0 or higher. Update your SDK to start capturing page-load timing for your requests.

Domain Attributions

Domain Attributions help when a panel receives traffic from several domains: filter and analyze your data domain by domain, and see how each one performs.

You can also use domains as prefixes for page attributions, so you always know which domain a page belongs to. To turn this on, write to us at support@trackingplan.com.

Referrer Attributions

Referrer attributions show where users came from before arriving at your site: search engines, social media platforms like Facebook or Twitter, or other sites that link to you.

So you can tell which channels bring people to your site best, and decide where your marketing goes next.

Landing Attributions

Landing attributions show the page users land on when they first visit your site. They are key to knowing how well each landing page turns traffic into leads or sales.

Last Click Attributions

Last Click Attributions show the last thing a user interacted with before an event fired.

  • Last_click_path: the path clicked when your events fire, so you see how users navigate before an event.
  • Last_click_text: the text clicked before an event fired. Especially useful for finding problems in buttons and CTAs when you debug your warnings.

Country Code Attributions

Country Code Attributions tell you whether a warning affects only visitors from certain locations.

Use them to see whether something local is behind your warnings, how each country interacts with your tracks, and which patterns depend on location, so you can adapt your plans to each market.

Language Attributions

Knowing which language your users prefer helps you offer them localized experiences: content, interface and messages in their language.

  • navigator.language: the language preference of the users of your apps or websites, so you can deliver content and services in the right language.

User Agent Attributions (Device and browser attributions)

User Agent Attributions tell you whether your warnings affect only visitors on certain devices and browsers.

Segment your data by them to find trends and problems that belong to one user agent, and act on them.

  • user_agent.original_string: the raw user agent string sent by the browser or device, unprocessed, in case you want to parse it yourself.
  • user_agent.parsed_string: a cleaned-up, standardized version of the original string, easier to work with and consistent across your data.
  • user_agent.browser.family: the browser family (e.g., Chrome, Firefox, Safari).
  • user_agent.browser.version_string: the exact browser version. Key for finding bugs, security problems and performance differences between versions of the same browser.
  • user_agent.device.family: the general category of the device (e.g., iPhone, Samsung Galaxy, etc.), to spot problems or preferences tied to a kind of device.
  • user_agent.device.brand: the brand of the device (e.g., Apple, Samsung, Google, etc.), for market analysis, segmentation and brand-specific behaviors or problems.
  • user_agent.device.model: the specific model of the device (e.g., iPhone 12, Galaxy S21), for detailed analysis model by model.
  • user_agent.device.type: the type of device (e.g., mobile, tablet, desktop), to understand the context in which users interact with your service.
  • user_agent.device.is_bot: true or false, whether the device is a bot or a real user (e.g., true for Googlebot). Bot traffic skews your data and your performance metrics, and you can filter on this field to keep only real users. It also catches Lighthouse audits, headless browsers, cookie scanners and synthetic monitors. It catches Google and Meta fetchers, and AI assistants and agents too. The checks inside the page need JS SDK 1.47.1 or later (Keeping Your SDK Updated).
  • Bot reason: what gave a bot away, for example Crawler, Headless browser, Monitoring or Automation. Ask Trackingplan to break your bot traffic down by it.

Measurement ID

A measurement ID in Google Analytics is the unique identifier of a web data stream. In Google Analytics 4 it’s 'G-' followed by numbers and letters, such as 'G-PSW1MY7HB4'. It connects your website to its data stream in Google Analytics 4, so your website data goes to the right place.

Pro tip: you can split the traffic of your destinations by their measurement ID and see each ID as a destination of its own, or exclude specific account_IDs from any processing so their traffic never reaches your dashboard. Learn more about splitting destinations by Measurement ID.

UTMs

UTM attributions show how each campaign and source performs, so you can fine-tune your marketing with real numbers.

  • utm_id: your campaign IDs, so you can follow each campaign’s performance.
  • utm_campaign: your marketing campaign name: the campaign, promotion or ad behind your visitors’ clicks. With so many campaigns running at once, it’s what lets you compare them one by one.
  • utm_medium: the medium visitors came through (e.g., email, social media, cost-per-click ads). Key to knowing which channels bring your most valuable traffic.
  • utm_source: adds detail to the medium. 'social' can mean many platforms; the source tells you which one your visitors came from (Facebook, Twitter, LinkedIn, Instagram, etc.).
  • utm_term: the keywords or terms used in your paid search campaigns.
  • utm_content: the content variations within one campaign (e.g., different ads or CTA buttons), so you see which ones work best with your audience.
  • utm_source_platform: the platforms driving traffic to your campaigns, so you put your budget where it returns most.
  • utm_gclid (Google Click Identifier): individual clicks from your Google Ads campaigns, to measure their performance and ROI.
  • utm_fbclid (Facebook Click Identifier): like gclid, added by Facebook Ads to each ad click, to measure how your Facebook campaigns perform.
  • utm_msclkid (Microsoft Click Identifier): clicks from Microsoft Ads, to measure your Bing or Microsoft ad campaigns.
  • utm_ttclid (TikTok Click Identifier): clicks from TikTok Ads, to analyze and improve your TikTok campaigns.

Filter by consent actions to check that you comply with data protection regulations like GDPR or CCPA. Trackingplan reads Google's Consent Mode, so you can follow what users chose about consent without extra setup.

Use it to see how your events behave when users accept or reject cookies, and to make sure you send nothing when consent to store information was denied.

  • Google Consent Settings (gcs): the user’s overall consent state: whether they gave or denied permission for data collection.
  • Google Consent Data (gcd): more detail on which types of data the user agreed to, such as analytics or advertising data.
  • Ad Storage: the user's consent to store advertising data (such as data for personalized ads).
  • Analytics Storage: the user's consent to store analytics data.
  • Ad User Data: the user's consent to the collection and use of their personal data for advertising.
  • Ad Personalization: whether the ads shown to the user are personalized, based on the consent they gave.

Learn more about Google’s Consent Mode & Trackingplan here.

Tags

Tags let you filter and organize warnings by your own tag values. You see how and when each warning happens, and getting to the root cause is easier.

You choose your tags. These are some common ones:

  • app_version: tells you whether a problem belongs to one app version, so you can isolate and fix it.
  • release_version: tells you whether a new problem came with a particular update, for faster fixes and smoother releases.
  • gtm_container_version: ties warnings to specific versions of your Google Tag Manager container, so you can fix tagging problems or mismatches caused by a change in the container. Learn more here.
  • gtm_container_id: like the previous one, ties warnings to specific configuration changes in your Google Tag Manager container, so they are easier to debug. Learn more here.
  • tp_sdk_version: tags warnings with the Trackingplan SDK version in use.
  • source: tells you where a warning comes from, by environment, such as staging or production.
  • build_number: ties warnings to specific builds of your application, to investigate problems from a particular development cycle and keep your CI/CD flowing.
  • test_name: tells you whether warnings come from specific tests in staging or preproduction, and whether a problem is limited to one test or shows up in several.

See everything tags can do, and how to set them up.

DataLayer

You can also explore your data and warnings by the Data Layer: the data passed between your website and your analytics tools, in detail.

You see the real data, with the context the browser captured. It helps you spot badly formatted data on your website, and tell whether an error comes from the tag manager or the front end.

Query String

When a client sends data to an endpoint (for example, to GA4), it makes a request that includes a query string. The query string is part of the URL: a set of key-value pairs that give the server extra information. These parameters carry user interactions and session details.

A query string comes after the ? in a URL and is made of parameters and their values. In this example, utm_source, utm_medium, and tid are parameters, with values like google, cpc, and G-XG12345.

https://example.com/page?utm_source=google&utm_medium=cpc&tid=G-XG12345

Query string parameters tell you a lot about user behavior and help you find tracking problems.

You can filter by query string parameters in both Tracks Explorer and Data Explorer, just as you filter by attributions, UTMs, consent settings, tags and more.

In GA4, the query string often carries the tid (tracking ID) parameter, which ties hits to a specific property ID. So filtering by query string shows you all the tracks with a specific GTM container ID ("Show me all tracks where the query string contains tid=G-XG12345").

Post Payload

In POST requests, data is sent to an endpoint as part of the post payload.

The post payload travels in the body of a POST request, in formats such as JSON or URL-encoded form data. Unlike the query string, it doesn’t show in the browser address bar, and it usually holds more complex, structured data.

In a POST request to GA4, for example, the payload may carry an event’s user interactions, session details or e-commerce transactions: just what you need when debugging the data sent to analytics platforms.

Here’s an example of a POST payload sent to a GA4 endpoint for an e-commerce transaction event:

{
  "en": "purchase",
  "ep.platform": "WEB",
  "ep.business_unit": "trackingplan",
  "ep.page_type": "PLP",
  "ep.page_brand": "Multi Brand",
  "ep.page_system": "Firefly",
  "ep.page_subtype": "shoes",
  "epn.page_total_products": "287",
  "ep.app_version": "WEB",
  "ep.page_sorting": "Recommendations"
}

You can filter by post payload in both Tracks Explorer and Data Explorer. Search for specific payload parameters and see the actual values processed and reported, such as event names, parameters and custom data points.

Malformed or missing payload data means inaccurate reports. If you send custom parameters in a post payload (e.g., a product ID or category), filter by them to check they are included in your requests. For product views or purchases, filter by items in the post payload to confirm the right product information goes out, such as the product SKU or price.

Example

GA4 sends a parameter called “session_start” to mark the beginning of a session. It isn’t part of the event itself; it’s technical metadata. But if “session_start” is missing or misconfigured, session tracking goes wrong, and so do your analytics reports.

It can happen for many reasons, such as a misconfiguration in your GTM setup or a mistake in how the parameter is implemented. With Trackingplan you can check that “session_start” is sent correctly, and fix session tracking problems before they reach your reports.

To see how to find and fix it step by step, watch the video below.

Was this useful? Write to support@trackingplan.com