Skip to content

Track file downloads

Same pattern as outbound links — tag the download link:

<a href="/reports/q3.pdf" data-mada-event="download" data-mada-event-file="q3.pdf">
Download the Q3 report
</a>

Every data-mada-event-* attribute becomes a property on the event, so you can filter or break down downloads by file in Event reports.