Data visualization with custom properties and segments

Custom Dimensions in Analytics: Track Extra Context Beyond Pageviews

Standard analytics tells you that 1,200 people visited your pricing page this month. Custom dimensions tell you that 840 of them were free-plan users, 310 were on a trial, and 50 were already paying customers. Without the extra context, you're looking at aggregate traffic. With it, you're looking at behavior by segment — and that difference is where almost all useful analysis lives.

Custom dimensions (also called custom properties or custom attributes depending on the platform) are metadata values you attach to hits, events, or user profiles that wouldn't otherwise be captured. They extend your analytics beyond the built-in dimensions — URL, browser, country, referrer — to capture the things that matter specifically to your business.

What Custom Dimensions Actually Are

Every pageview and event in your analytics data has a set of properties automatically recorded: the URL, the timestamp, the browser, the device type, the country. These built-in dimensions are the same for every site because every site shares them. Custom dimensions are the properties you define for your specific situation.

There are three scopes at which custom dimensions can apply, and the scope determines how the value is stored and how it can be used in analysis:

The Most Useful Custom Dimensions to Capture

User-level properties

For any site with user accounts, the most valuable custom dimensions are properties from the user's profile. Subscription plan ("free", "pro", "enterprise"), whether the user has completed onboarding, the account's creation date bucket (day 0–7, day 8–30, 30+), and whether the account has an active payment method are all properties that transform standard analytics into product analytics.

When you can filter your top pages report by subscription plan, you can see which features trial users explore most — which is exactly the data that drives onboarding improvements. This is the complement to what user identity tracking enables at the individual level; custom dimensions enable it at the aggregate segment level.

Content-level properties

For content-driven sites — blogs, documentation, news sites — tagging each page with structured metadata makes your content analytics dramatically more useful. Author name, content category, publish date bucket ("older than 1 year", "last 6 months"), and content type ("tutorial", "case study", "opinion") let you compare performance across meaningful groups rather than comparing individual URLs.

Instead of "these 3 URLs got 80% of traffic," you can ask "do tutorial posts perform better than case study posts across all 50 articles?" — which is the question that actually shapes your editorial calendar. This pairs naturally with content performance analytics to move beyond raw pageview counts.

Campaign and test properties

When you're running A/B tests or targeted campaigns, custom dimensions let you record which variant a visitor saw and carry that context through the session. If variant B gets 12% more sign-ups than variant A, you want to confirm that the conversion rate difference is statistically meaningful across a large enough sample — and that requires capturing the variant as a dimension, not just tracking conversions at the aggregate level.

How to Use Custom Dimensions for Segmentation

Custom dimensions only deliver value when you actively use them to filter and compare. The most common analytical workflows they enable:

Capture the context that makes analytics useful

statpx supports custom event properties so you can track what matters to your business — not just what every analytics tool tracks by default.

Set up free analytics with custom tracking →

The Bottom Line

Custom dimensions are the difference between analytics that describes traffic and analytics that describes your audience. The implementation requires a small amount of upfront work — deciding which properties matter for your business, pulling them from your data layer or user session, and passing them to your analytics snippet. But the analytical capability you gain from even three or four well-chosen custom dimensions is substantially larger than any number of additional built-in reports. Start with one user-level dimension (plan tier or account status) and one page-level dimension (content category), and build from there as you identify the questions your default analytics can't answer.

For hands-on event tracking, see how custom event tracking works alongside custom dimensions to build a complete picture of user behavior.

Continue reading

Technical
How to Identify and Block Referrer Spam in Website Analytics
Technical
How to Filter Your Own Visits Out of Website Analytics
Technical
How Cookieless Analytics Works: The Technical Reality Behind Cookie-Free Tracking
Analytics by statpx