The instructions in this article are for the new custom behavioral events tool, which replaces the previous behavioral events tool. Any events created in the legacy tool will continue to work, and you can still manage and analyze those events in the legacy tool.
Legacy events cannot be migrated to the new events tool. Instead, it's recommended to recreate your legacy events in the new tool, as new custom events provide more flexibility with event properties. For example, with legacy events you'd need to create multiple events to track separate campaigns, but now a single custom behavioral event can track multiple campaigns.
Create visited URL events with the Chrome extension
Install the event Chrome extension
In your HubSpot account, click the settings iconsettings in the main navigation bar.
In the left sidebar menu, navigate to Tracking & analytics > Tracking Code.
Click Install event chrome extension.
You'll be redirected to the HubSpot Analytics extension in Google Chrome web store. In the upper right, click Add to Chrome.
In the dialog box, click Add extension.
Once the extension has been installed, it will appear as an orange sprocket icon sprocket in your Chrome browser toolbar.
In your HubSpot account, navigate to Reports > Analytics Tools.
Click CustomBehavioral Events.
In the upper right, click Create event.
In the right panel, enter a name for your event, then select Visited URL.
In the Page URL field, enter the URL of the page that you want to track visits to.
Please note: visited URL events can only be created and tracked on pages that have the HubSpot tracking code installed.
You can use wildcard characters in the page URL when creating a visited URL event. This allows you to track your event on a range of pages without explicitly defining each URL.
Examples of wildcard combinations that will correctly record event completions for visits include:
Wildcards following a trailing slash will not include the original page URL. For example http://myblog.com/* will include any pages with subdirectories in the URL beyondmyblog.com/, but will not include the page at myblog.com. If the wildcard is entered before the trailing slash, then it will include the original URL. For example, myblog.com* will include myblog.com/my-article and myblog.com.
Click Save to finish creating your visited URL event.