How to Create Events in HubSpot Advanced Marketing Analytics

How to Create Events in HubSpot Advanced Marketing Analytics

By Dan StasiewskiNov 9 /2011

Potential customers can browse through dozens of pages and access a number of resources on your website. HubSpot advanced marketing analytics can help you determine which of this top of the funnel content is providing visitors with the information they desire before becoming a lead.

The first step in determining the path from visitor to lead is creating trackable events based on content on your website. These events will be used in the advanced marketing reports that guide your behavior-triggered lead nurturing efforts. Here’s how to get started:

Creating Events Using Advanced Marketing Analytics

To create an event, start by selecting "Advanced Marketing Analytics" in the "Analyze" dropdown menu.

advanced marketing analytics resized 600


Once on the "Advanced Marketing Analytics" page, simply click the "New Event” button to get started.


creating a new event resized 600

New Event

When creating a new event, you need to provide 5 pieces of information.

  1. Event Name
  2. Event Type
  3. URL or Element ID
  4. Type of Report
  5. Tags
creating a new event 2

Before naming an event, determine the action. This will help you when you have to select the "Event Type.” Is someone simply visiting a page or are they clicking on a link?

Common Actions:

  • Clicked
  • Completed
  • Visited
  • Submitted


Once the action is determined, use this naming convention for the "Event Name”:



  • Completed Form for Blog Cheat Sheet on Landing Page
  • Clicked on Mobile White Paper CTA on Homepage
  • Visited LinkedIn Cheat Sheet Landing Page


HubSpot Advanced Marketing Analytics has 4 Event Types:

 creating a new event 3

You’ll likely use "Visited URL” or "Clicked Element” for your first events. We recommend having the action in the "Event Name” match closely with the "Event Type.”  This will help users find similar "Event Types” using filters.


creating a new event 4

URL or Event ID


If you are associating an event with a "Visited URL," you will simply cut and paste a URL into the URL field.

creating a new event 5 resized 600

Event IDs

Advanced marketing analytics also allows you to track clicked elements anywhere on your website. This includes, but isn’t limited to:

  1. Tabs in the header
  2. CTAs anywhere on your site
  3. Links in blog posts or pages

To create a clicked element event, you’ll have to input a link "Identifier."

Start by opening your website in a new tab while logged in. You’ll apply a unique identifier to any linked element. This code will be inserted into the HTML "a" tag and appear as id="your-unique-link-identifier".

creating a new event 6 resized 600

It is important that this code be unique, so we recommend using the following naming convention: location-name-of-element.

Copy this unique identifier before you save. Once you have saved the "Identifier” code addition on your site, go back to the browser tab where you are creating a new event.  Paste the unique identifier code in the "Identifier” field.

creating a new event 7 resized 600

Build a Report

When creating a new event, you can automatically enable a new report. For the first report, simply start with a "Lifecycle Summary Report.”  You can build other reports later and those future reports will draw from data that is collected since the event was created.

creating an event


The final step before saving your event will be adding tags. These tags are used just like blog tags, helping organize each event to easily find later. You should add 4 tags, following this convention:

  • Tag 1 – Specific Name
  • Tag 2 – Location
  • Tag 3 – Category
  • Tag 4 – Type

 creating a new event 9 resized 600
Now save your event, and you’re done!

Once the event is created, you'll start accruing data. It does take time to gather enough information to make decisions on how to best serve website visitors, but start to analyze these events in reports after about one week to determine gaps.  Are there other top of the funnel items that haven’t been logged? Are you starting to see patterns that require more information?

As you spend more time cultivating your advanced marketing analytics, you’ll be able to answer those questions and develop behavior-triggered lead nurturing campaigns that really provide potential customers with the content they need.

For more on starting your behavior-triggered lead nurturing efforts, watch this recorded webinar.


The Author

Dan Stasiewski

When he's not talking about marketing data and trends, he's probably in a movie theater... or randomly breaking into song.