collective / collective.behavior.amp

Support for Accelerated Mobile Pages (AMP) in Plone.
5 stars 2 forks source link

AMP Analytics seems not to be working #40

Closed hvelarde closed 7 years ago

hvelarde commented 7 years ago

Google Analytics panel on a customer site informs no visits coming from the AMP version of content; this seems to be related with a bad implementation of the amp-analytics tag.

It seems we're missing the type attribute and it also seems we can have more than one analytics system for instance:

<amp-analytics type="foo" id="foo">
  ...
</amp-analytics>
<amp-analytics type="bar" id="bar">
  ...
</amp-analytics>

Refs: