What’s your URL? https://www.kesen.wang/
What version of Ghost are you using? * Version 3.35.5
How was Ghost installed and configured? Ghost Pro Subscription
What Node version, database, OS & browser are you using? Safari, Database: MySQL, using Mac OSX
What errors or information do you see in the console? None
What steps could someone else take to reproduce the issue you’re having?
Hi there, I just have a quick question relating to inputting the Adsense script inside the amp.hbs file as it needs to be inserted on Amp pages only. Google gives me the following code:
Place this code once in between the head tags of your AMP site’s HTML. This script loads the relevant amp-auto-ads libraries.
<script async custom-element="amp-auto-ads" src="https://cdn.ampproject.org/v0/amp-auto-ads-0.1.js"> </script>
Copy and paste this code immediately after the tag of the pages where you want ads to appear. The placement of the code doesn’t reflect the position of the ad.
<amp-auto-ads type="adsense" data-ad-client="ca-pub-4639928629281949"> </amp-auto-ads>
I was wondering how I can insert this into the default amp.hbs file in the theme. I don’t have a lot of coding experience so I’m not sure exactly where to put it, any help would be appreciated.