![]() When your pages have the container snippet correctly installed, they will be able to fire tags deployed from Tag Manager. Replace GTM-CONTAINER_ID with your Tag Manager's container ID, or copy and paste the entire snippet from the Tag Manager user interface. Place this code immediately after the opening element. The second snippet configures amp-analytics to use Tag Manager. This code is placed at the end of your page's section, and should only appear once on the page. The first snippet adds the amp-analytics component to your AMP page. Copy these code snippets so that they appear on your AMP pages. The next step is to install the Tag Manager code on your AMP pages.Īfter you create your new AMP container, the Install Google Tag Manager screen will appear. " - news - AMP".ģ.) Under Where to Use Container, select AMP. Select Create Container.Ģ.) Name the container. Create a new AMP container for your project:ġ.) On the Accounts screen, click More Actions (More) for the account you'd like to use. Tag Manager features an AMP container type. Please accept the answer if it helps.ġ.) Create an AMP container in Tag Manager.Ģ.) Add the Tag Manager snippet to your AMP pages.ģ.) Configure tags in your Tag Manager container and publish. Please go through these steps, hope it will help.
0 Comments
Leave a Reply. |