Enable Tracker
Attach HTML Data Attributes
data-m:load
HTML attribute on any element on the page, you can automatically include additional metadata for each page visit. This attribute should be a key-value pair in the format key=value
that will be sent with the event.The following example demonstrates how to attach custom properties on page load:{ "theme": "dark", "subscription": "paid", "logged_in": "true" }
will be attached to the page load event. Multiple properties can be separated by semi-colons.You can set these attributes statically or dynamically based on the user’s state or any other relevant information.View Events