AMP and product review

Posted in: Newspaper
Post count: 22

I’ve installed the amp pluging, and testing all the post with https://search.google.com/test/amp
There is a error with the review part, because It’s not allow to insert “style” in documents of AMP. I have to change to “style amp-custom” label. Can we do by own? Or we have to wait until a pluging update?
You can try with http://www.premarathon.com/garmin-forerunner-235-analisis-y-opinion-mejor-gps-running/
Regards

Post count: 22

Another “thing” about the new AMP plugging is the counter of views inside the admin panel, It is not counting the visits for the amp views, even if i have the analytic code correctly installed. It’s is a bug or there is something to do about it.

  • This reply was modified 8 years by Victor.
Post count: 20688

Hi,

That is happening because of the inline styling of the review style. It ads inline styling such as this
https://www.screencast.com/t/NXi6q2w3
Inline style attributes are not allowed in AMP pages. I will add this on our list and it will be fixed as soon as possible. Sorry for this inconvenience.

The analytics code can be entered in the dedicated section provided in the AMP settings, according to the instructions
https://www.screencast.com/t/VzL1eG8fH
How exactly are you testing the results? Simply visiting your post on desktop with /amp or visiting it directly will probably not provide any results (or inconclusive). Maybe try waiting for a period of time and check periodically.

Thanks

Post count: 22

Thanks for the answer. Until the update, I’ll deactivate the amp for all the post with reviws.
About analytics and views (in admin), I’m pretty sure that the theme is just counting the views of the no-amp version, look at the images of one post of yesterday visits

Post count: 20688

We will make some tests and check if there is a problem or not. If there is a problem it will surely be fixed as soon as possible.

Thanks

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.