• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 14.01.20, 14:13
  • Opened by: Gianluca Marino
  • Closed by: Fred
  • Closed on: 01.02.20, 14:27
  • Reason: No answer from a customer
  • Comment: Glad to help!

Ticket #16638 - AMP Adsense

I insert the code for adsense in the template for AMP but don’t work.
In Google Adense i enable AMP.

Where i worng?

I must insert 1 code in head and 1 code in body

Comments

Fred 15 Jan 2020, 10:45

Hi, Gianluca.
Did you use AMP tutorial to ad Adsense, or normal for desktop? Here is a tutorial for AMP https://support.google.com/adsense/answer/9187443

Gianluca Marino 15 Jan 2020, 11:00

I actived AMP adsense and i have 2 code to insert in head and in body.

head i add in
themes / alysum / templates / mobile / _partials / head.tpl

body i add in
themes / alysum / templates / mobile / layouts / layout-main.tpl

but don’t work

Fred 15 Jan 2020, 11:13

As I can see you have no SSL certificate, that could be a reason of the issue with AMP, because it requires fully working https protocol

Gianluca Marino 15 Jan 2020, 11:21

where you see this?
I have enable SSL on my server.

Attachments:

fash.png (728.6 KiB)
Fred 15 Jan 2020, 11:22

I see your website like this https://take.ms/mIvHg

Gianluca Marino 15 Jan 2020, 11:47

i asked in other ticket #16639 to update Shop url and BO Url because test.fashiongriffe.com don’t exist but the website now is in https://www.fashiongriffe.com

Fred 15 Jan 2020, 12:59

I have updated the domain name.
As for the Adsense, as I can see you have added the code correctly.