We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c0f6b8 commit 246ca3dCopy full SHA for 246ca3d
matomo/matomo-tracking.html
@@ -62,8 +62,8 @@
62
// We do our own link tracking.
63
//_paq.push(["enableLinkTracking"]);
64
65
- const download_button_selector = "a.pat-button.download";
66
- // Delegated event handler to set the custom url befor automatic download tracking.
+ // Delegated event handler - this also tracks content which is injected
+ // after the initial page load.
67
document.addEventListener("click", function(event) {
68
const el = event.target.closest("a");
69
if (!el) {
0 commit comments