• Resolved christophklin

    (@christophklin)


    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.

    • This topic was modified 6 years, 8 months ago by christophklin.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author NiteoThemes

    (@niteo)

    Hello @christophklin, ermm, yes you are right, I thought this one was resolved but I have just found a bug with non-escaping added slashes..

    I have already update almost ready, so please hold on few days – I plan release it beginning next week ??

    cheers Alex

    Plugin Author NiteoThemes

    (@niteo)

    Resolved in 2.7 update

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Matomo (Piwik) Tracking code’ is closed to new replies.