• Resolved omar1000

    (@omar1000)


    Hello,
    since the last 2 or 3 versions I have problems with my Matomo Tracking, even error on validating.

    The preinstalled Version of your plugin generates a wrong matomo script:

    {"triggers":{"trackPageview":{"on":"visible","request":"pageview"}},"requests":{"base":"https://piwik.example.org/piwik.php?idsite=https%253A%252F%252F...

    there is hard written https://piwik.example.org/piwik.php and not my site?
    so tracking can’t work.

    Any idea?
    Thx Omar

    • This topic was modified 4 years, 10 months ago by omar1000.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    We checked your issue. There are two methods are used for addPiwic to AMP pages. One is <amp-pixel> and another is <amp-analytics>. In our plugin using <amp-analytics>.
    Reference: https://forum.matomo.org/t/how-to-add-piwik-to-amp-pages/18424/5
    There are no issues using this same method for other users. Are you getting any error using this method?

    Thread Starter omar1000

    (@omar1000)

    I also tried <amp-pixel>, put it into the footer…

    The result
    Error: duplicate definition “amp-pixel” custom-elements.js:332:12

    Thread Starter omar1000

    (@omar1000)

    Before the updates i worked only with <amp-pixel> without any problems

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    It’s fixed in the latest version, try to update to 1.0.13.

    I checked your code, it’s still served in 1.0.12

    If you have updated to latest version then try to clear the server cache.

    Thread Starter omar1000

    (@omar1000)

    Perfect, now it is working proper!

    (only 2 warnings: [DOM] Found 2 elements with non-unique id #amp-search-submit)

    Thumb up!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Matomo/Piwik Error’ is closed to new replies.