HubSpot Custom Events: The Definitive Guide to Tracking Advanced Marketing Metrics

6 min read
Apr 10, 2026

Setting up HubSpot custom events involves defining specific user actions, sending that data via tracking code or API, and then building custom reports. This allows marketers to track granular interactions beyond page views, enabling them to prove ROI and refine complex strategies.

Listen to: HubSpot Custom Events: The Definitive Guide to Tracking Advanced Marketing Metrics
8:18

Marketers like you need precise tracking for sophisticated campaigns. Standard metrics like page views and form submissions don't tell the whole story. To truly understand user behavior and prove the value of your efforts, you need to go deeper. This is where mastering how to use custom events for better reporting in HubSpot becomes a game-changer.

What You'll Learn

This guide will provide a comprehensive walkthrough of HubSpot's custom events, covering:

  • The "What and Why": Understand what custom events are and how they differ from standard HubSpot events.
  • The Setup Process: A step-by-step guide to creating and defining your first custom event.
  • Data Collection Methods: Learn the primary ways to send interaction data into HubSpot.
  • Best Practices for Design: How to structure your events for clean, reliable, and actionable reporting.
  • Building Advanced Reports: How to turn your custom event data into powerful dashboards and funnels.
  • Real-World Use Cases: Practical examples of how to apply custom events to your business.

What Are Custom Events in HubSpot (And Why Should You Care?)

Think of standard HubSpot events as the pre-built analytics that come out of the box—things like form submissions, email opens, and page views. They are essential, but often generic.

Custom events are unique interactions that you define and track yourself. They represent the specific, high-value actions a user takes on your website or within your app that signal intent, engagement, or progress through the customer journey.

The key difference is control. While standard events are predefined by HubSpot, custom events are tailor-made for your business model. This capability is available on Marketing Hub, Sales Hub, Service Hub, and Operations Hub Enterprise plans.

A Step-by-Step Guide to Setting Up Custom Events

The foundation of how to use custom events for better reporting in HubSpot lies in a thoughtful setup process.

  1. Navigate to Custom Events: In your HubSpot account, go to Reports > Data Management > Events.
  2. Create Your Event: Click Create event in the top right.
  3. Define Your Event Name: Give your event a clear, unique internal name. A best practice is to use an "Object-Action" format (e.g., video-played, pricing-calculator-used).
  4. Create Custom Properties: This is where you add context. For a video-played event, you might add properties to capture more detail.
    • video_title (String): The name of the video.
    • watch_duration_seconds (Number): How long the user watched.
    • video_category (Enumeration): The type of video (e.g., "Product Demo," "Case Study").

By defining specific properties, you give yourself the raw materials needed to build highly segmented and insightful reports later on.

How to Send Data to Your Custom Events

Once an event is defined in HubSpot, you need to tell HubSpot when it occurs. There are three primary methods for this.

  • For Website Interactions: The JavaScript Tracking Code

    This is the most common method for tracking actions a user takes in their browser. By adding a small snippet of code to your website, you can trigger an event when a user clicks a button, plays a video, or interacts with a specific module.

    var _hsq = window._hsq = window._hsq || [];
    _hsq.push(["trackCustomBehavioralEvent", {
      name: "pe23985_video_played", // Use the internal name of your event
      properties: {
        video_title: "Getting Started with Our Product",
        watch_duration_seconds: 120
      }
    }]);
  • For Server-Side Actions: The HubSpot Events API

    Some important actions don't happen in the user's browser. Think of a SaaS subscription upgrade or an integration-triggered action. The Events API allows your server to send this data directly to HubSpot, providing a complete picture of the customer journey. This is a core component of how to use custom events for better reporting in HubSpot for product-led companies.

  • For Internal Triggers: Using HubSpot Workflows

    You can also use HubSpot's own workflow engine to trigger a custom event. For example, when a contact's lifecycle stage changes to "Opportunity," you could trigger an event called deal-created to use in funnel reporting.

Best Practices for Flawless Event Design and Reporting

Your reports are only as good as the data you put into them. Follow these best practices to ensure your data is clean, consistent, and ready for analysis.

  • Stick to a Naming Convention: Use a consistent format like Object-Action (e.g., feature-enabled, demo-requested, ebook-downloaded). This prevents confusion and makes events easy to find in the report builder.
  • Don't Be Generic: Avoid overly broad property names like "name" or "ID." Instead, use specific names like ebook_title or webinar_id. This makes your data self-explanatory.
  • Plan Ahead: Before you implement a single event, map out the key user actions you want to track and what questions you want to answer. A clear plan prevents you from creating duplicate or unnecessary events down the line.

Building Powerful Reports with Custom Event Data

This is where your planning pays off. Once data is flowing, you can use HubSpot’s custom report builder to visualize insights that were previously hidden.

The process of how to use custom events for better reporting in HubSpot culminates here:

  1. Select Data Sources: In the custom report builder, select your custom event as a primary data source. You can also add CRM objects like Contacts or Deals to combine behavioral data with business outcomes.
  2. Create Funnel Reports: Track how many users complete a sequence of events. For example: pricing-page-viewed -> demo-requested -> deal-created. This helps you pinpoint drop-off points in your conversion path.
  3. Segment by Properties: Filter your reports using the custom properties you created. For instance, you could analyze the behavior of users who watched "Product Demo" videos versus those who watched "Case Study" videos.
  4. Add to Dashboards: Pin your custom reports to marketing or sales dashboards to give stakeholders a real-time view of performance against key business actions.

Practical Use Cases: Putting Custom Events to Work

Here are a few real-world examples of how businesses leverage custom events for advanced reporting:

  • SaaS Feature Adoption: Trigger an event whenever a user enables or uses a key feature in your application. This helps you understand which features are most valuable and which customers are at risk of churning.
  • Video Engagement: Track video plays, completion rates (25%, 50%, 75%), and calls-to-action clicked within the video. This proves the ROI of your video marketing efforts.
  • E-commerce Behavior: Log events for add-to-cart, view-product-category, and begin-checkout. This data can be used to build powerful segmentation and trigger abandoned cart workflows.
  • Content Interaction: Track downloads of specific lead magnets or interactions with on-page calculators and tools. This identifies your most effective content and the users who are most engaged.

Important Limitations to Consider

While incredibly powerful, custom events have a few limitations to keep in mind:

  • Event Volume: HubSpot has limits on the number of events that can be sent per second and in total. They are generous but important to be aware of for high-traffic sites.
  • Property Limits: Each custom event can have a maximum of 50 properties.
  • Data Retention: Event completion data is stored indefinitely, but granular event property data has retention policies based on your subscription.

By understanding these constraints, you can design an event strategy that is both effective and sustainable.

Frequently Asked Questions

What is a HubSpot custom event?

A HubSpot custom event is a unique, user-defined interaction that you track on your website or in your app. Unlike standard, pre-built events like page views, custom events are tailor-made for your business model to track specific, high-value actions that signal user intent and engagement. This capability is available on HubSpot Enterprise plans.

What are the main ways to send data to a HubSpot custom event?

There are three primary methods to send data for custom events: 1) The JavaScript Tracking Code for tracking user interactions in a web browser, like clicking a button. 2) The HubSpot Events API for sending data from your server for actions that don't happen in the browser, such as a subscription upgrade. 3) HubSpot Workflows to trigger an event based on internal data changes, like a contact's lifecycle stage updating.

Can you use custom events to build a funnel report in HubSpot?

Yes, building funnel reports is a key use case for custom events. In HubSpot's custom report builder, you can track how many users complete a sequence of specific events (e.g., pricing-page-viewed -> demo-requested -> deal-created). This allows you to visualize the conversion path and identify exactly where users are dropping off.

What are some best practices for creating HubSpot custom events?

To ensure your data is clean and actionable, you should: stick to a consistent naming convention like 'Object-Action' (e.g., video-played), use specific and descriptive property names (e.g., video_title instead of a generic 'name'), and plan your tracking strategy in advance to define what questions you want to answer before implementation.

Sign up for blog updates!

Leave a comment

Let us know what you think