• I noticed a strange bug which leads to a failure in matomo reports due to active AMP plugin.

    • AMP and Matomo (as WP-Plugin) are setup and running
    • (its not needed that in the statistics section of AMP the matomo code is added)
    • in Matomo > Diagnosis > Trobleshooting click on “Archive now” / “create Reports now”
    • the html code of an page is returned as content type “plain/text”
    • while AMP is activated matomo do not generate any Reports and so is pretty useless

    If AMP is deactivated Matomo works as expected (an ajax request is done instead of showing the plain text when clicking the “Archive now” button).

    Can anybody reproduce? What does AMP do to destroy the page?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @volkmar-kantor

    I’m a developer of the Matomo plugin. Just wanted to let you know that I quickly installed this AMP plugin and did a basic setup but couldn’t reproduce the issue. Might be some specific setting that needs to be tweaked in AMP to reproduce it (unfortunately I don’t know the plugin much). It shouldn’t really do an ajax request.

    Thread Starter Volkmar Kantor

    (@volkmar-kantor)

    hi @tsteur – thank you for the quick response and test. i will check some more parameteres and try to reproduce on a different systems (we was running that on a docker environment). I let you know when i have a clearer understanding of the issue.

    What i also checked yesterday but didnt mention: there was no js-error on the Trobleshooting page before i clicked the “Archive now” button.

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Volkmar Kantor: Can you please share some screenshots related to your issue. So we can easily analyze your issue and fix the problem for you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘active AMP Plugin leads to bug in Matomo’ is closed to new replies.