How to insert amp google tag manager

Posted in: Newspaper
Post count: 14

Hi all…

recently i have created amp analytic using google tag manager, such as below :

<!– AMP Analytics –><script async custom-element=”amp-analytics” src=”https://cdn.ampproject.org/v0/amp-analytics-0.1.js”></script&gt;

<!– Google Tag Manager –>
<amp-analytics config=”https://www.googletagmanager.com/amp.json?id=GTM-xxxx&gtm.url=SOURCE_URL&#8221; data-credentials=”include”></amp-analytics>

The two script codes must be inserted in <head> and <body> tag close..

Where to insert the scripts above so that work well to tracking amp pages

Thank you in adavance

Post count: 18283

Hello !

The code can be inserted here: https://www.screencast.com/t/jfJqZrtX

Thank you !

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