Please help to install the Adsense ad code on the AMP page!

Posted in: Newsmag
Post count: 1

Hello,
I am using the newsmag theme from tagdiv for my website. I’ve also installed the AMP plugin and Mobile Theme, but I have a question about “how to install ad code in AMP”.

When I tried to create a new ad unit specifically for AMP in my Adsense account, there I found 2 codes, namely 1 code that was told to paste between <head>code</head>, and the other in the <body></body> body tag.

For the ad code I already know where I should paste it, namely in the “Ad Auto AMP” bar in the Mobile Theme settings panel. Meanwhile, if the other code, which is asked to paste in the <head></head> section, where should I paste it?

Because I see the section in the AMP plugin settings or Mobile Theme there is no column or bar for code (meta tags)?

Here’s an example of my website post page that has successfully become an AMP page: https://dutaserviceac.com/freezer-tidak-dingin/?amp

Because I enable AMP pages only specifically for post pages.

Please help from the Tagdiv team? thank you

Regards

Rudi Hadi
Jakarta, Indonesia

Post count: 35449

Hi,
The code that need to be set in the head is already set in our theme, therefore is need to set only the other for the body, this need to be set in this place -> https://i.imgur.com/vXZuc7P.png so there is need to set only the code for body.
Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newsmag’ is closed to new topics and replies.