Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slashes in course names/course categories makes tracking work oddly in Matomo #35

Open
peterspicer-catalyst opened this issue Jan 30, 2020 · 0 comments

Comments

@peterspicer-catalyst
Copy link

Since / is used as the separator for Matomo, if there's a course name or category with / in it, this won't be picked up or separately escaped.

I haven't tested this behaviour for Google Analytics, but for Matomo, I've fixed this by changing the might_encode function to not only encode ' with a backslash, but also encoding / as a - when it would otherwise turn up in course names etc., as the use case is historical convention of 2019/21.

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

No branches or pull requests

1 participant