Skip to content

Commit 367e6af

Browse files
committed
OiRA Matomo: Cleanup.
1 parent 9b3edb7 commit 367e6af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

matomo/matomo-tracking.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@
6262
// We do our own link tracking.
6363
//_paq.push(["enableLinkTracking"]);
6464

65-
const download_button_selector = "a.pat-button.download";
66-
// Delegated event handler to set the custom url befor automatic download tracking.
65+
// Delegated event handler - this also tracks content which is injected
66+
// after the initial page load.
6767
document.addEventListener("click", function(event) {
6868
const el = event.target.closest("a");
6969
if (!el) {

0 commit comments

Comments
 (0)