glean.element_click

A event triggered whenever an html element is clicked on a page.

Clicks are recorded only for those html elements that have at least one of the data-glean-* data attributes. By default, this event is not collected automatically. Collection can be turned on by clients via Glean configuration object (enableAutoElementClickEvents). Glean also provides a separate API for clients to record element clicks manually.

Metric of type event. Sent in the events ping.

The event category is glean and event name is element_click.

Source
mozilla/glean.js/glean/src/metrics.yaml#L513
Code Search
Unavailable: no search index specified for this application.

Metric sampling

Not Sampled This metric is not currently affected by any sampling configuration and is operating based on its defaults in the metrics.yaml file
Sampling Configuration Snippet
Click the button to copy a snippet for use in a Mozilla Experimenter configuration.

Extra keys

id string

An identifier of the element clicked. For automatic collection, its value is the element's data-glean-id data attribute value.

label string

The label of the element clicked. For automatic collection, its value is the element's data-glean-label data attribute value.

type string

The type of the element clicked. For automatic collection, its value is the element's data-glean-type data attribute value.

Metadata

Data Sensitivity
  • Interaction
Lifetime
ping
First Added
2024-01-24 18:37:30
Bugs
Data reviews
Notification Emails
Expires
Never expires

Commentary

No commentary for this metric, add some?

Access

GLAM
This application is not supported by GLAM.
BigQuery
In bedrock.events and bedrock.events > bedrock.events
🔒 (event.category=glean and event.name=element_click )
Data Catalog
metrics.event.glean_element_click 🔒
STMO
Start a query in STMO 🔒 with the following SQL ➡