Skip to content

How to disable link tracking?  #85

@Giovanni-NL

Description

@Giovanni-NL

In matomo-configuration.ts the default setting for trackLinks is true. Is there any way to completely disable link tracking?
I have tried to use the enableLinkTracking(false) method on the tracker, but that does not stop links from being tracked, it only seems to stop middle- and right-button mouseclicks on URLs from being tracked.

I am only interested in event logging of clicks and navigation actions within my application (which work perfectly fine with ngx-matomo).

How can I completely disable the logging of clicks on URLs that result in requests like this?
my.domain.com/application/matomo.php?link=https://my.target.url

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions