Matomo (Piwik) Tracking code
-
Hello guys, i know that 6 months ago there was already a “resolved” blog entry concerning my problem. But the problem still exists.
I have added my own Matomo (Piwik) tracking-code in the SEO settings.
When I use single quotes in js code like [‘trackPageView’], the source code in browser looks like [\’trackPageView\’] and the debbuging console raises SyntaxError: invalid escape sequence.
When I use double quotes, i run into this SyntaxError: expected expression, got ‘&’ and the source code looks like that["trackPageView"].
Anyway, the tracking does not work. Is there already a solution?
Thanks and best regards.
The topic ‘Matomo (Piwik) Tracking code’ is closed to new replies.