This article helps you:
Create and edit labeled events with no new code required
After enabling Autocapture on your site, you can begin to create labeled events by clicking specific elements on your site, using Amplitude Data's visual labeling feature. This way, non-technical Amplitude users can create these events without needing to understand the structure of the page.
Amplitude maintains labeled events separately from events you've created in other ways. If there are issues with data for labeled events, make adjustments from within the Labeled Events tab, instead of involving your engineering team.
This feature is available on all plans, and requires the following:
config.autocapture.elementInteractions
option set to true
. For more information, see Browser SDK Configuration.Visual Labeling is available to Amplitude users with the role Member and above.
To use Visual Labeling to create new labeled events, follow these steps:
Open Amplitude Data and click Visual Labeling in the left rail. The Launch Visual Labeling modal appears.
Enter the URL of the site or application you want to label, and click Start Labeling. Amplitude opens your website or app in a new tab, with the visual labeling toolbar at the top of the page.
Click an element you want to label, the visual labeling overlay appears. Click Navigate to navigate to a different part of site that you want to label.
In the visual labeling overlay, enter a name and description for your labeled event. Select if tracking should happen when a user clicks the element, or when it changes. Visual labeling uses the clicked
event by default. Refine the definition and select filters as needed. When you're done, click Save.
Amplitude saves the labeled event and displays a confirmation with an option to view the labeled event.
Repeat steps three through five for each event you want to label.
When you're done labeling, return to Amplitude. Here, you can manually update the tag, text, selector, and page URL of each labeled event.
If you leave any fields blank, Amplitude interprets that as [any value]
. For example, if you leave the URL field blank, the tracking for that event fires on any page.
You can select another element to continue labeling or click "Back to Amplitude" if you're done.
When your site's code changes, you may need to update the definition of your labeled events to match. Since Autocapture consistently captures the raw click events, you can update the definition of your labeled events and fix any gaps in your data.
To edit your labeled events, follow these steps:
When you enable Autocapture, Amplitude begins tracking click and page change events on your site. These events count towards your total event volume. Labeled events act like a virtual layer on top of these events, and help define a specific type of click and use that click in an analysis. As a result, labeled events don't impact event volume beyond Autocapture.
For example, a well-instrumented site may see 10,000 events per day, and Autocapture may add as many as 2,000 events per day. This means the site would see a 20% increase in daily events. A less-instrumented site may see only 1,000 instrumented events per day. The plugin adding another 2,000 events counts as a 200% increase.
In both cases, the increase in daily events comes from tracking click and page change events. Labeled events don't impact the event count.
Element clicked
and Element changed
events are visible instead.I don't see the visual labeling experience on my site
If you don't see the visual labeling tools on your site, check the following:
Thanks for your feedback!
August 7th, 2024
Need help? Contact Support
Visit Amplitude.com
Have a look at the Amplitude Blog
Learn more at Amplitude Academy
© 2024 Amplitude, Inc. All rights reserved. Amplitude is a registered trademark of Amplitude, Inc.