Skip to main content

Overview

Good naming conventions are like a well-organized filing system - they help everyone find what they need quickly. This guide shows you how to name your tracking events and data points clearly and consistently.
Clear naming reduces confusion, prevents errors, and makes reports easier to understand. Your future self will thank you!

Why naming matters

The cost of confusion

When tracking uses unclear names:
  • Reports are hard to understand
  • Teams waste time figuring out what data means
  • Errors happen when people guess wrong
  • New team members struggle to learn

The benefit of clarity

With good naming:
  • Everyone knows what each metric means
  • Reports are self-explanatory
  • Fewer mistakes happen
  • Onboarding is faster

Core principles

Be descriptive

Names should explain what they track

Be consistent

Use the same pattern everywhere

Be concise

Clear but not too long

Be predictable

Others should guess names easily

Naming your events

Event structure

Think of events as sentences: object + action Good examples:
  • product_viewed (customer viewed a product)
  • cart_updated (shopping cart was changed)
  • form_submitted (user submitted a form)
  • video_played (someone started a video)

Common event categories

Product interactions:
  • product_viewed
  • product_clicked
  • product_compared
Cart actions:
  • cart_item_added
  • cart_item_removed
  • cart_abandoned
Purchase flow:
  • checkout_started
  • payment_selected
  • purchase_completed

Event naming rules

Stick to these rules for consistency across your tracking
  1. Use lowercase letters - product_viewed not Product_Viewed
  2. Separate words with underscores - cart_updated not cart-updated
  3. Use past tense - clicked not click
  4. Be specific - newsletter_form_submitted not just submitted

Naming your data points

What are data points?

Data points are the details you collect with each event. For example:
  • When someone views a product, you might track: product name, price, category
  • When someone logs in, you might track: user ID, login method, time

Data point patterns

Pattern: user_ prefix
  • user_id (unique identifier)
  • user_type (free, premium, etc.)
  • user_status (active, inactive)
  • user_signup_date
This makes it clear the data is about users.
Pattern: product_ prefix
  • product_id (SKU or code)
  • product_name
  • product_price
  • product_category
  • product_brand
Anyone can see this is product data.
Pattern: page_ prefix
  • page_title
  • page_category
  • page_type
  • page_url
Clearly identifies page-related data.
Include currency in the name
  • price_usd (price in US dollars)
  • total_eur (total in euros)
  • discount_gbp (discount in pounds)
This prevents confusion about currencies.

Creating your naming system

Step-by-step approach

1

List what you track

Write down all events and data you want to track
2

Group similar items

Put related events together (all cart events, all user events, etc.)
3

Apply patterns

Use consistent prefixes and formats for each group
4

Document your choices

Create a reference guide for your team
5

Get team agreement

Make sure everyone understands and agrees

Building your reference guide

Create a simple document like this: Event naming guide:
  • All events use lowercase with underscores
  • Format: object_action (product_viewed, cart_updated)
  • Use past tense for actions
Common events:
Event nameWhen it happensData collected
product_viewedCustomer views product pageproduct_id, price, category
cart_updatedCart contents changeitems, total, action_type
purchase_completedOrder confirmedorder_id, total, items

Real-world examples

E-commerce naming

For an online store, you might use: Events:
  • homepage_viewed
  • search_performed
  • product_viewed
  • cart_item_added
  • checkout_started
  • purchase_completed
Data points:
  • customer_id
  • product_sku
  • order_total_usd
  • shipping_method
  • payment_type

Media site naming

For a news or content site: Events:
  • article_viewed
  • video_started
  • content_shared
  • comment_posted
  • subscription_started
Data points:
  • content_id
  • article_category
  • read_time_seconds
  • video_duration
  • share_platform

B2B site naming

For business websites: Events:
  • demo_requested
  • whitepaper_downloaded
  • contact_form_submitted
  • webinar_registered
  • trial_started
Data points:
  • company_name
  • industry_type
  • employee_count
  • lead_source
  • interest_level

Common mistakes to avoid

Unclear names

Bad examples:
  • event1 - What does this track?
  • clk - Is this click? Which click?
  • pv - Page view? Product view?
  • value - Value of what?
Good examples:
  • newsletter_signup_completed
  • header_menu_clicked
  • product_page_viewed
  • cart_total_value_usd

Inconsistent formats

Mixing styles:
  • productViewed (camelCase)
  • user-logged-in (kebab-case)
  • PURCHASE_COMPLETE (SCREAMING_CASE)
Pick one style:
  • product_viewed
  • user_logged_in
  • purchase_complete

Missing context

Too vague:
  • price - Price of what? In what currency?
  • date - What date? For what event?
  • status - Status of what?
Add context:
  • product_price_usd
  • order_date
  • delivery_status

Industry-specific tips

Retail

  • Include SKUs in product events
  • Specify currency in all price fields
  • Track both online and store events clearly
  • Distinguish guest vs member actions

Publishing

  • Differentiate content types (article, video, podcast)
  • Include content categories
  • Track engagement depth
  • Note subscriber vs non-subscriber

SaaS/B2B

  • Track feature usage clearly
  • Distinguish trial vs paid events
  • Include company/account context
  • Monitor user roles

Maintaining your conventions

Regular reviews

Schedule quarterly reviews to:
  • Check if naming is still clear
  • Add new events as needed
  • Remove obsolete tracking
  • Update documentation

Team training

Ensure everyone understands:
  • Why consistent naming matters
  • Where to find the naming guide
  • How to suggest new names
  • Who approves changes

Evolution strategy

As your business grows:
  • Keep core patterns consistent
  • Add new prefixes for new areas
  • Document all changes
  • Communicate updates clearly

Quick reference checklist

When naming anything new, check:
  • Is the purpose clear from the name?
  • Does it follow our patterns?
  • Is it consistent with similar items?
  • Will others understand it?
  • Is it documented?

Getting help

When to ask for help

Reach out when:
  • Creating tracking for new features
  • Unsure about naming patterns
  • Seeing inconsistent data
  • Planning major changes

Resources

  • Your tracking plan documentation
  • Tag Insight support team
  • Industry best practices
  • Team knowledge sharing

Next steps