Could you post your site URL here, so I can have a look?
If you want it to remain private, you can also contact us via this contact form:
http://jetpack.com/contact-support/
Could you also let me know what version of the AMP plugin you’re using, and what version of Jetpack?
Thanks!
Thread Starter
m0shi
(@m0shi)
You can see here one example of amp article : http://blog.m0shi-m0shi.com/voyages/gifu/takayama/balade-matinale-takayama-vieux-quartier-sanmachi-suji-sanno-matsuri/amp/
The amp plugin version is 0.3.2 et the Jetpack is 4.0.3.
Thanks for your time.
Thanks for the extra details.
I can’t seem to reproduce the issue on my own test site, but I noticed you’re running additional plugin that may change the way AMP pages are generated on your site.
Could you try to deactivate the Glue and Pagefrog plugins for a few minutes, to see if these plugins add the Stats code to the template?
If that doesn’t help, could you try to deactivate your caching plugins, and let me know how it goes?
Thanks!
Thread Starter
m0shi
(@m0shi)
I desactivated the Glue, Pagefrog and wp super cache plugins.
I see no change.
I keep then desactivated if you want to check.
Thanks again for you help and time.
That’s weird. Could you try to deactivate all other plugins, one at a time, and let me know if you find a conflicting plugin?
Thread Starter
m0shi
(@m0shi)
You’re right, I found the plugin : NextGEN Gallery ! Like often ๐ฎ
If i turned it off and the stats modules on, everything is fine.
If i turned Jetpack off and NextGen Gallery on, the amp page is correct.
If i keep Jetpack, but turned stats module off, the amp stats markup disapear, but there is a <div style=”display:none”></div> which stay in the code and make the amp page invalidate.
If the both are running (Stats module and NextGen Gallery), there is the <div style=”display:none”></div> and the two javascript for the wp stats.
You think i should report it to the NextGEN Gallery plugin team too ?
Thanks you.
That’s interesting. It might be worth asking the NextGEN plugin gallery team if they do anything for AMP or Jetpack in their plugin; it might help us find out more about this.
Thread Starter
m0shi
(@m0shi)
They seem to don’t care at all (“We do not provide specific support/compatibility code for “AMP” related pages”).
So, i’ll try to work about that when i got more time, and i’ll keep you in touch if i found something about Jetpack (but evrything seems fine with it, if you don’t got the error on your test site).
Again, thanks for your time and kindness.
Oh, too bad. Let me know how your investigation goes!