• Resolved caouic

    (@caouic)


    Hi,
    I have a problem with amp generation of my article since mid may.
    Here is on example of “duplicates js” on HEAD section.
    <script src="https://cdn.ampproject.org/v0/amp-social-share-0.1.mjs" async="" custom-element="amp-social-share" type="module" crossorigin="anonymous"></script>
    <script async="" nomodule="" src="https://cdn.ampproject.org/v0/amp-social-share-0.1.js" crossorigin="anonymous" custom-element="amp-social-share"></script>
    I didn’t found the source of this issue.
    Google AMP verification fails on this.
    I hope you could find me a clue or better an answer.
    Best,

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Milind More

    (@milindmore22)

    Hello @caouic

    It seems that the Squirrly SEO plugin is adding an analytics script in the header even before the AMP runtime js (AMP core-js) is loaded, Please contact Squirrly SEO support for the same.

    for now, I would like to suggest deactivating Analytics from Squirrly SEO and use Analytics configurations from the AMP plugin.

    To Deactivate the Analytics from Squirrly
    1) Goto -> SEO settings from Top Options -> Tracking Tools -> Toggle Tracker off
    (screenshot)

    2) Goto AMP plugin Settings -> Analytics -> click + button
    i) add type as “googleanalytics” in input field
    ii) it will populate code add your UA-XX-XXXX code.

    You can find more details in this article

    Thread Starter caouic

    (@caouic)

    Hi @milindmore22,
    Thanks for this fast answer.
    I will open a support ticket on Squirrly for the analytic case.

    Meanwhile, I think there another problem with duplicate js not linked to analytics.
    In my case, this amp-social-share and other js are duplicated.
    Maybe this is due to recent 2.1 update of AMP Plugin.
    I let you check again the url that I have provided.

    Best regards,

    Thread Starter caouic

    (@caouic)

    Hi,
    I confirm that the issue is gone with your workaround @milindmore22
    I will let the parameter for to “on” for Squirrly team.

    Plugin Support Milind More

    (@milindmore22)

    As this does not an issue with the AMP plugin, but it’s an issue with Squirrly, I also opened up a support topic with them, I’ll mark this as resolved and I will follow up it the Squirrly Support topic. Feel free to open a new support topic if you require any further assistance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Different version of amp js in HEAD’ is closed to new replies.