Skip to content

Track outbound links

Add a data-mada-event attribute to any outbound link and the tracker records it as a click event — no JavaScript needed:

<a href="https://example.com" data-mada-event="outbound_link" data-mada-event-url="https://example.com">
Visit example.com
</a>

The link still navigates normally; the tracker just records the click first. See Custom events for the full attribute reference.