Support » Plugin: Site Kit by Google - Analytics, Search Console, AdSense, Speed » An AMP component ‘script’ tag is present, but unused.

  • Resolved technicaljayendra

    (@technicaljayendra)


    I got this error on my all amp pages.

    I installed GOOGLE SITE KIT Plugin and use it’s recommended feature to place ads (auto ads using google site kit)

    It adds code on amp pages as well please help me to fix this issue.

    What should I do?

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

Viewing 9 replies - 16 through 24 (of 24 total)
  • Thread Starter technicaljayendra

    (@technicaljayendra)

    When bI use AdSense auto ads using a AMP for WP plugin’s inbuilt feature then there is no issue with search console

    Plugin Support James Osborne

    (@jamesosborne)

    I understand. Let’s look at the issue using a live AMP validator report. Let me know once you’ve implemented Auto ads via your AMP plugin and temporarily disconnected the AdSense module within Site Kit and I’ll check. To disconnect the AdSense module navigate to “Site Kit > Settings > AdSense > Edit > Disconnect AdSense from Site Kit”

    Thread Starter technicaljayendra

    (@technicaljayendra)

    I did that please check it out.

    Plugin Support James Osborne

    (@jamesosborne)

    Thanks for sharing, appreciate your efforts while we investigate this. The error still occurs from inspecting your AMP site. It looks like there may be combination of plugins or plugin configurations impacting your AMP validation with Auto ads for AMP enabled, regardless of how you’ve implemented Auto ads for AMP.

    While I’ve been unsuccessful in reproducing this from my side I’ll discuss it with the team. In the meantime I don’t have any workaround at present. If it’s possible you can try and troubleshoot with the same plugins and configurations on a staging site. I’ll report back here once I have any update on this, although I don’t think it’s specific to the Site Kit implementation of Auto Ads for AMP.

    Plugin Support James Osborne

    (@jamesosborne)

    Thanks for your patience on this. Can you check for the same error with another AMP plugin temporary activated (and your one presently in use temporary deactivated)? I’m happy to check your site once you let me know another plugin is active.

    Thread Starter technicaljayendra

    (@technicaljayendra)

    The problem is with Google site kit when I deactivate it all issues from the search console was resolved (An AMP component ‘script’ tag is present, but unused) on all pages.

    Plugin Support James Osborne

    (@jamesosborne)

    From previous checks the issue also occurred when you manually inserted your Auto ads snippet. It would be great to troubleshoot with you with another AMP plugin active. I’ve escalated your case to the team and we’re unsure why Auto ads (not specifically Site Kit placed Auto ads) is resulting in this in your case.

    Thread Starter technicaljayendra

    (@technicaljayendra)

    I installed AMP(OFFICIAL ONE) and the error was solved I think the issue is with AMPFORWP Plugin

    Plugin Support James Osborne

    (@jamesosborne)

    Thanks for the update, nice troubleshooting. I can’t be sure where the issue stems from, as there may be some plugins or plugin configurations conflicting, resulting in this validation error. From my testing I wasn’t able to recreate the issue with AMP for WP and Site Kit. I’ve also spoken with the team on this, the Site Kit plugin doesn’t call any such script.

    If you happen to determine the cause be sure to let us know. Thanks for using Site Kit.

Viewing 9 replies - 16 through 24 (of 24 total)
  • You must be logged in to reply to this topic.