Create custom analytics views

Last updated: June 26, 2020

Applies to:

Marketing Hub  Professional, Enterprise

Analytics views are filters that you can use in the Sources tab in the traffic analytics tool. It allows you to divide the traffic sources per filter.

Analytics views can be customized by your domains, visitor country, and more. A user can create up to 25 custom views.

Please note: if you've purchase a brand domain add-onyou can create 25 additional custom analytics views for any of your brand domains.

To access and work with custom analytics views:

  • In your HubSpot account, click the settings icon settings in the main navigation bar.
  • In the left sidebar menu, navigate to Reports Tracking code.
  • Click the Analytics views tab. You can see your existing custom analytics views in the Custom analytics views table.
  • Hover over an existing view and click Edit to make any changes.
  • To create a new view, click + Add another view
    • Enter a view name
    • Click the options to select properties for your analytics view:
      • Country: the country of the visitor based on their IP address.
      • Subdomain: the subdomain of the page being viewed. For sessions, HubSpot will display data for this filter where sessions started on the specified subdomain.
        • You only need to include the subdomain of your target domain, such as www or blog.
        • If you want to create an analytics view that consists only of the root domain (e.g., pages on and not pages on, select Exclude all subdomains.
      • Brand domain: your brand domains. Learn more about brand domains in HubSpot.
      • Top-level domain: the end of the domain that comes after the brand domain. (e.g., "com" is the top-level domain for "").
      • URL path starts: the starting characters of the URL path of the page being viewed.
      • URL path contains: text contained in the URL path of the page being viewed.
    • Click Apply filter
    • Click and to add any additional properties, then click Save

  • To delete a view, hover over the view and click Delete.