Skip to content

Commit dca4ea5

Browse files
Update custom-event-goals.md
1 parent 5b16a87 commit dca4ea5

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

docs/custom-event-goals.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,12 @@ Here's an example of the options argument using the `callback` and `props` optio
268268
plausible('Download', {callback: navigateFn, props: {method: 'HTTP'}})
269269
```
270270

271+
To mark an event as non-interactive, you can set the `interactive` argument to `false`. This will exclude the event from bounce rate calculations.
272+
273+
```js
274+
plausible('Custom Event', {interactive: false})
275+
```
276+
271277
<h3>
272278

273279
Example: Tracking audio and video elements

0 commit comments

Comments
 (0)