How to redirect a page amp ?

If you’re looking to redirect a page in Amp then here is top Answer to redirect page in Amp

<button on="tap:AMP.navigateTo(url='http://google.com')">google.com</button>
<button on="tap:AMP.navigateTo(url='http://google.com', target='_top')">google.com (_top)</button>
<button on="tap:AMP.navigateTo(url='http://google.com', target='_blank')">google.com (_blank, noopener)</button>
<button on="tap:AMP.navigateTo(url='http://google.com', target='_blank', opener=true)">google.com (_blank, with opener)</button>

Leave a Comment