Skip to content

Commit 95448d4

Browse files
committed
Add note on svg elements
1 parent 8425c54 commit 95448d4

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

docs/file-downloads-tracking.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ Our "**File downloads**" tracking captures a file download event each time a lin
5353

5454
`.pdf`, `.xlsx`, `.docx`, `.txt`, `.rtf`, `.csv`, `.exe`, `.key`, `.pps`, `.ppt`, `.pptx`, `.7z`, `.pkg`, `.rar`, `.gz`, `.zip`, `.avi`, `.mov`, `.mp4`, `.mpeg`, `.wmv`, `.midi`, `.mp3`, `.wav`, `.wma`, `.dmg`
5555

56+
Note that clicks on download links within `svg` elements are not tracked.
57+
5658
## What if I want to track a different file type?
5759

5860
You can also specify a custom list of file types to track with a `file-types` attribute tag. With this, you can track other file types not present in our default list. Say you only want to track `.js` and `.py` files, you can pass the following argument to `plausible.init`:

docs/outbound-link-click-tracking.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,7 @@ You can control what data is collected in the "**Site Installation**" area of th
6060
When making changes to your optional measurements, your snippet will change so do ensure to insert the newest snippet into your site for outbound link click tracking to stop.
6161

6262
After you disable outbound link click tracking, we will automatically remove the goal called `Outbound Link: Click` from your site.
63+
64+
## Limitations
65+
66+
Clicks on outbound links within `svg` elements are not tracked.

0 commit comments

Comments
 (0)