Git Product home page Git Product logo

Comments (5)

oG14108149527Exl0Ftr7sY avatar oG14108149527Exl0Ftr7sY commented on July 17, 2024

Hello Thomas

Thank you very much for your help.

The issue is now solved.

Created a separate AMP container and tag.

Now using “AMP” as the container type instead of “Web”.

Everything works correctly.

Thanks

TBT

from gtm4wp.

ahmedkaludi avatar ahmedkaludi commented on July 17, 2024

@oG14108149527Exl0Ftr7sY Can you explain me what worked?

Please help me so that I can understand and improve the code in the AMP for WP plugin.

from gtm4wp.

oG14108149527Exl0Ftr7sY avatar oG14108149527Exl0Ftr7sY commented on July 17, 2024

When creating the Google Tag Manager container at:
https://tagmanager.google.com

Then you should create separate containers for the standard WordPress site and the the AMPforWP.com site.

When creating the AMPforWP.com container then you must choose container type= "AMP"
When creating the container for use with the PC version and standard WordPress theme then you should create a container type= "Web"

This means there will be different "container" / "container type" and different tags for the AMP and the non-AMP version of the site.

Mentioning this in the help section on the "Analytics" tab on /wp-admin/admin.php?page=amp_options&tab=2 might avoid frustration among future users.

from gtm4wp.

ahmedkaludi avatar ahmedkaludi commented on July 17, 2024

@oG14108149527Exl0Ftr7sY Thanks! We have made changes and also created a tutorial along with a link to with in the GTM section for people who can get the help easily.

Thanks for helping us out with one.

Regards,
Ahmed

from gtm4wp.

duracelltomi avatar duracelltomi commented on July 17, 2024

Thanks for everyone this thread, I am really happy that finally everyone got something new :-)

from gtm4wp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.