Support » Plugin: AMP » Scrolling bar on AMP pages

  • Resolved shreen2008

    (@shreen2008)


    I see that a scrolling bar on the right hand side is loading on the AMP pages.
    Also there is small shift in the page, when it initially loads.
    Is that caused by the theme or the plugin.
    Also, do you think my page experience and web vitals are good with AMP pages.
    Using GP Premium and generatepress theme.

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support James Osborne

    (@jamesosborne)

    Thanks for reaching out.

    I see that a scrolling bar on the right hand side is loading on the AMP pages.

    I don’t see this when inspecting your site. Feel free to share more details and I’d be happy to check.

    Also there is small shift in the page, when it initially loads.
    Is that caused by the theme or the plugin.

    While I do see a slight flicker on your AMP URLs you could investigate the cause by using the Health Check & Troubleshooting plugin. This can be used with the admin toolbar as per a guide we’ve published on the plugin website.

    Also, do you think my page experience and web vitals are good with AMP pages.

    I performed a performance test using web.dev and your AMP URLs do perform significantly better as you’ll see below (Canonical result | AMP result):

    Using GP Premium and generatepress theme.

    Nice choice! I noticed your navigation menu doesn’t work on mobile using the GeneratePress theme. You’ll find a quick fix for that with the themes AMP extension. GeneratePress did state they would be merging this to their theme. Feel free to follow up with the theme developer.

    Let us know if you have any further queries on this.

    Thread Starter shreen2008

    (@shreen2008)

    Very good solution to my problem.

    I don’t see this when inspecting your site. Feel free to share more details and I’d be happy to check.

    But I still see a vertical kind of bar on the right hand side on my mobile.
    https://ibb.co/pKTqTGR

    Check and let me know if you see that or just its on my mobile.

    Plugin Support James Osborne

    (@jamesosborne)

    From inspecting your site it looks like it’s advertisement related. If you check your site without ads there will be no content outside the main container area. Unfortunately it’s not something we can address on the plugin site however do check your ads setup. If you’re having trouble you can reach out to the product experts at the AdSense Help Center.

    Thread Starter shreen2008

    (@shreen2008)

    Should I add GA code to the AMP pages also.
    I’m currently using SiteKit plugin.
    I already added the GA code for non-AMP pages.

    Plugin Support James Osborne

    (@jamesosborne)

    If you’ve allowed the Site Kit plugin to insert your Analytics code then this is already done for you. You’re AMP URLs will automatically have the correct AMP version of your Analytics snippet placed.

    Let me know if you have any further questions on this.

    Plugin Support Bethany Chobanian Lang

    (@shetheliving)

    @shreen2008 As we haven’t received a response, I’ll mark this as resolved. Feel free to open a new support topic if you continue to encounter issues, or reopen this topic and we’d be happy to assist. Thank you!

    Thread Starter shreen2008

    (@shreen2008)

    I have tested one of my site’s url in PageSpeed Insights.
    For eg. this one – https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fwww.windowstechit.com%2F22766%2Ffacebook-security-and-login-settings%2Famp%2F

    It throws some errors related to AMP javascript modules.
    https://ibb.co/6DNJ4ZG
    https://ibb.co/kQsknYv

    Most of them look like JS. Can we minimize them.
    Please let me know a solution.

    Plugin Support James Osborne

    (@jamesosborne)

    The issue seems specific to an AMP core issue regarding unused JavaScript reported by Lighthouse. While this issue isn’t specific to the AMP plugin please keep watch of the below GitHub issue for further updates: https://github.com/ampproject/amphtml/issues/28638

    Most of them look like JS. Can we minimize them.

    No at present although there is an open GitHub issue in relation to self hosting AMP scripts, at which point you could modify them once released.

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.