Skip to content

Conversation

@schorschii
Copy link

Description

I noticed that the URL is not correctly found out in all cases.

Example URL: https://example.com/dir1/test

In this example, "dir1" is a real existing directory on the server, and "test" is a additional string appended and handled by the index.php script in this dir (via Apache rewrite). In this case, the MatomoTracker will track "/test" instead of "/dir1/test". This change fixes the behavior to correctly track "/dir1/test".

Checklist

  • [NA] I have understood, reviewed, and tested all AI outputs before use
  • [NA] All AI instructions respect security, IP, and privacy rules

Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant