Last updated: June 3, 2021
|Marketing Hub Enterprise|
A clicked element event tracks when an anonymous visitor or HubSpot contact clicks a specific element on your website. For example, track when a free demo CTA or PDF download link is clicked. Clicked element events can only be created and tracked on pages that have the HubSpot tracking code installed.
Clicked element events can be created in two ways:
Once you've created your events, learn how to analyze events in the analytics and reporting tools. You can also create visited URL events, and custom events.
Please note: depending on the complexity of your site's HTML and CSS markup, the event Chrome extension may be unable to detect a unique CSS selector for an element. In this case, you should manually create the event or add a unique id tag to the element instead.
HubSpot will then begin to track the element. Learn how to analyze the event in HubSpot.
After creating the event, HubSpot will begin to track the element. Learn how to analyze the event in HubSpot.
You can identify an element by its HTML ID, HTML class, or jQuery selector.
A clicked element event can identify an element by its ID attribute and detect when it is clicked.
To view an element's ID:
A clicked element event event can identify an element by its class attribute and detect when it is clicked.
You can also use full jQuery selectors to target elements. This is useful if the element you're targeting doesn't have an ID or class, or you need to be more specific. Learn more about supported selectors.
Manually tracked custom behavioral events enable to you define and track events that are unique to your...
Original source drill-down 1 and Original source drill-down 2 are two analytics properties included on every...
Contacts who were first added to HubSpot via a list import, CRM integration (including Salesforce), or an API...