On 11/2/24 12:10 AM, Bob Weinand wrote:
    What percentage of users get to the docs through direct links vs the home page

That's something you can generally infer from server logs - was the home page accessed from that IP right before another page was opened? It's not as accurate, but for a general understanding of orders of magnitude it's good enough.

Even better: If we're talking about internal navigation you can check the referrer header and know for sure, since the docs don't add rel=noreferrer on links or anything.

You shouldn't need server logs _or_ client side JS. A lot of this tracking stuff could be done by just putting down a proxy or shim that checks request headers. It looks like matomo offers exactly this via matomo/matomo-php-tracker.

I second bob's general sentiment: There's no need for client side tracking.

Reply via email to