Quantcast
Channel: Support & Bugs - Matomo forums
Viewing all articles
Browse latest Browse all 5706

Don't replace Hrefs for internal links

$
0
0

@dennis wrote:

When using content-tracking the function replaceHrefIfInternalLink (matomo/piwik.js at 82ba03fb2bc5676933517a74293b2be5a242a87a · matomo-org/matomo · GitHub) is called.

This function replaces all internal links that are content-tracked with Matomo Redirects.

How can I disable this behavior in a supported way?
I don’t understand why I need the redirects since there are event receivers tracking the link click anyways (added in the function setupInteractionsTracking). I don’t want the redirects since the URLs just don’t “look” nice for the user and create an additional roundtrip when clicking on regular links.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5706

Trending Articles