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
- Shopping events
- User events
- Content events
Product interactions:
- product_viewed
- product_clicked
- product_compared
- cart_item_added
- cart_item_removed
- cart_abandoned
- checkout_started
- payment_selected
- purchase_completed
Event naming rules
- Use lowercase letters -
product_viewednotProduct_Viewed - Separate words with underscores -
cart_updatednotcart-updated - Use past tense -
clickednotclick - Be specific -
newsletter_form_submittednot justsubmitted
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
User information
User information
Pattern: user_ prefix
- user_id (unique identifier)
- user_type (free, premium, etc.)
- user_status (active, inactive)
- user_signup_date
Product details
Product details
Pattern: product_ prefix
- product_id (SKU or code)
- product_name
- product_price
- product_category
- product_brand
Page information
Page information
Pattern: page_ prefix
- page_title
- page_category
- page_type
- page_url
Money and prices
Money and prices
Include currency in the name
- price_usd (price in US dollars)
- total_eur (total in euros)
- discount_gbp (discount in pounds)
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
| Event name | When it happens | Data collected |
|---|---|---|
| product_viewed | Customer views product page | product_id, price, category |
| cart_updated | Cart contents change | items, total, action_type |
| purchase_completed | Order confirmed | order_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
- 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
- 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
- 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?
newsletter_signup_completedheader_menu_clickedproduct_page_viewedcart_total_value_usd
Inconsistent formats
❌ Mixing styles:- productViewed (camelCase)
- user-logged-in (kebab-case)
- PURCHASE_COMPLETE (SCREAMING_CASE)
- 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?
product_price_usdorder_datedelivery_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

