Clickport automatically tracks when visitors click links to downloadable files. There is nothing to configure. As soon as the tracker is installed, download clicks are recorded alongside your other analytics data.
The tracker detects clicks on links that end with any of these file extensions:
The check is case-insensitive, so .PDF and .pdf are both detected.
When a visitor clicks any link on your site, the tracker checks whether the link's URL ends with a tracked file extension. If it does, the tracker sends a click event with the file URL and the link's visible text. The event is sent using fetch with keepalive: true, so it is delivered reliably even when the click causes a page navigation.
Detection happens on the <a> element, so it works for standard HTML links, links inside buttons, and links wrapped in other elements. If a visitor right-clicks and selects "Save As" without a normal click event firing, the download is not tracked.
Each download click records:
https://yoursite.com/files/report.pdf)When you expand a session in the Sessions panel, download clicks appear inline in the page timeline with a C badge (click event). The file URL and link text are shown so you can see exactly what was downloaded.
You can create a goal that tracks specific file downloads as conversions. Use the Click goal type with a condition matching the file URL. For example, to track PDF downloads:
.pdfThis lets you see download conversion rates, track which traffic sources drive the most downloads, and monitor download trends over time in the Goals panel.
If the download link points to an external domain, the click also appears in the Outbound Links panel alongside other external link clicks.
.pdf, .zip, or any other extension to isolate specific file types.File downloads are one of several things Clickport tracks automatically. You might also be interested in: