Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Thank you for using our plugin, it seems like some other plugin or code is adding some Google Tag Manager code before the main DocType code.

    Here’s the image: https://monosnap.com/file/g6wFRpNd8ZMAwWC1MGnKWGK9if05mH
    Here’s the actual code:
    <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-P35SFML" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>

    Now, to resolve this, are you adding the Google Tag manager code anywhere? Or are you using any such plugins for it?

    Thread Starter rausa13

    (@rausa13)

    I’m using the code elsewhere on the site.

    I figured that it would be different, having the google tag manager tag on the non amp site and then adding it again for the amp in your plugin.

    Let me know how to approach this, Thanks!

    Thread Starter rausa13

    (@rausa13)

    Not a plugin, just the code.

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    I suppose you added this in the head code?

    Try to use the built in GTM option that we have.

    Thread Starter rausa13

    (@rausa13)

    Using your gtm option, will this still track everything on the non-amp pages properly?

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    If you use our GTM option from the AMP panel, it will track everything in the AMP, not in the non-AMP.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Lots of errors’ is closed to new replies.