Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Weston Ruter

    (@westonruter)

    It doesn’t look like Plausible is going to be implementing support for amp-analytics anytime soon, according to:

    https://github.com/plausible/analytics/discussions/220
    https://plausible.io/blog/google-amp

    Nevertheless, we’re working on making the AMP plugin more flexible to allow invalid AMP markup to be used on pages that the AMP plugin generates. This will give you most of AMP’s speed benefits, but it won’t give you the guarantees that come with valid AMP.

    You can actually do this now if you’re using the AMP plugin in Standard mode. What you can do is add that script to the page, and then when AMP warns about that invalid markup being a validation error, you can mark it as “Kept”. This will result in serving an unmarked AMP page. It won’t have the amp attribute on the html element so Google Search Console won’t complain about AMP validation errors, and you won’t get the benefit of prerendering AMP pages in search results. But otherwise, you’ll get mostly the same performance benefits.

    Thread Starter Alessandro

    (@pinoperino)

    Thank you for your reply @westonruter

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add support for plausible.io for AMP pages.’ is closed to new replies.