GTM setup for hybrid AMP sites.

Forum White Hat SEO GTM setup for hybrid AMP sites.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #22286
    seohelper
    Keymaster

    I have a hybrid website that will load as AMP if necessary. I’m wondering if I need to have two separate GTM containers, one for regular website and one for AMP. Not sure if this is the right subreddit to ask.

    #22287
    waldito

    You apparently do. Mostly, cause AMP is somewhat restrictive in regards to loading certain HTML assets/scripts/css, just to provide that ‘feel of speed’.

    Turns out some of the out-of-the-box scripts from Google Tag Manager won’t work in AMP. In fact, the very same code of the TagManager scriptlet won’t work smoothly either or create problems on certain actions.

    Instead, Google Tag Manager allows you to create an AMP ready TagManager code, and in that implementation, you will only have available what’s possible in AMP, tags events and all.

    ^(Also, AMP is evil and should be banned from the face of the planet.)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Scroll to Top