AMP

Posted in: Newspaper
Post count: 11

I can not connect AMP with Google Analytics

Post count: 35449

Hi,

Please make sure that you are using amp plugin with mobile theme plugin, after that you’ll need to index your amp versions on google.
For adding your amp to your Google Analytics, please check these articles:
-> https://documentation.unbounce.com/hc/en-us/articles/360020692572-Adding-Google-Analytics-to-Your-AMP-Page-
-> https://developers.google.com/analytics/devguides/collection/amp-analytics

Thank you!

Post count: 312
Post count: 35449

Hi,

The code for amp tracker need to be set in Theme panel> mobile theme > AMP Analytics -> https://i.imgur.com/UjKUMtH.png and need to be the form from your example -> https://i.imgur.com/P5BYwys.png

Thank you!

Post count: 14

Hi Calin,

when i add the analytics tracking code in the json format (in the field you mentioned),should i only add the json code or shall i add also the script contanier?

to be clear: this code should be added too?
<script async custom-element="amp-analytics" src="https://cdn.ampproject.org/v0/amp-analytics-0.1.js"></script>
<amp-analytics type="gtag" data-credentials="include">
<script type="application/json">

Post count: 35449

Hi,

This code is all ready in our theme -> https://i.imgur.com/OohCrdB.png and is no need to add it again, also you can check your amp analytics and you can see the activities on your website.

Thank you!

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.