Skip to content

Create custom analytics views

Last updated: February 4, 2021

Applies to:

Marketing Hub Professional, Enterprise
CMS Hub Professional, Enterprise

Analytics views are filters that you can use in the Sources tab and the Pages tab in the traffic analytics tool to split the data up for easier analysis.

You need the Edit website settings permissions to create and edit analytics views.

Analytics views can be customized by your domains, visitor country, and more.

  • Marketing Hub Professional and CMS Hub Professional accounts can create up to 25 analytics views.
  • Marketing Hub Enterprise and CMS Hub Enterprise accounts can create up to 50 analytics views.

Please note: if you've purchased a brand domain add-onyou can create 25 additional custom analytics views for each 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 Tracking & analytics 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.