Have set the GTM for AMP, but there’s no any tag found by Tag Assistant
-
Hello,
I create and published a GTM for AMP, but there’s no any tag found by Tag Assistant Chorme Addon when I check the AMP article with /amp/ version address.
There’s no statics could be seen in GA.
I had tried to copy and paste the code in the header and body infield of AMP for WP setting. It doesn’t work.
PS. The codes for normal GTM container has been pasted into head and body through “Insert Headers & Footers”. Is that a problem? The normal version works fine always.Then, I remove the codes filled in the AMP of WP header and body, trying to setting it by fill up the infields of “Primary Analytics Provider” in AMP for WP.
Unfortunately, both ways don’t work. I don’t know why, and I’m worried.
Below are the messages shows in Chrome developer mode:Access to fetch at 'https://www.googletagmanager.com/amp.json?id=GTM-T7TVH3T&__amp_source_origin=https%3A%2F%2Fexample.com' from origin 'https://example.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
xhr-impl.js:86 GET https://www.googletagmanager.com/amp.json?id=GTM-T7TVH3T&__amp_source_origin=https%3A%2F%2Fexample.com net::ERR_FAILED
log.js:258 [AmpAnalytics <unknown id>] Error loading remote config: https://www.googletagmanager.com/amp.json?id=GTM-T7TVH3T Error: XHR Failed fetching (https://www.googletagmanager.com/...): Failed to fetch??? at jb (log.js:710) at db.g.createExpectedError (log.js:370) at xhr-impl.js:109 at async Promise.all (/how-often-clean-aircon-wash-machine/amp/index 0)
Access to fetch at 'https://www.googletagmanager.com/amp.json?id=GTM-T7TVH3T>m.url=https%3A%2F%2Fexample.com%2Fhow-often-clean-aircon-wash-machine%2Famp%2F&__amp_source_origin=https%3A%2F%2Fexample.com' from origin 'https://example.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
xhr-impl.js:86 GET https://www.googletagmanager.com/amp.json?id=GTM-T7TVH3T>m.url=https%3A%2F%2Fexample.com%2Fhow-often-clean-aircon-wash-machine%2Famp%2F&__amp_source_origin=https%3A%2F%2Fexample.com net::ERR_FAILED
log.js:258 [AmpAnalytics <unknown id>] Error loading remote config: https://www.googletagmanager.com/amp.json?id=GTM-T7TVH3T>m.url=https%3A%2F%2Fexample.com%2Fhow-often-clean-aircon-wash-machine%2Famp%2F Error: XHR Failed fetching (https://www.googletagmanager.com/...): Failed to fetch??? at jb (log.js:710) at db.g.createExpectedError (log.js:370) at xhr-impl.js:109 at async Promise.all (/how-often-clean-aircon-wash-machine/amp/index 0)
Hope you could help me to resolve it soon…
Thanks,
GreenThe page I need help with: [log in to see the link]
- The topic ‘Have set the GTM for AMP, but there’s no any tag found by Tag Assistant’ is closed to new replies.