「Solved」Google Tag Manager 404 Error | BCS 「Solved」Google Tag Manager 404 Error | BCSBCS

「Solved」Google Tag Manager 404 Error

Google Tag Manager BCS 5 years ago (2020-02-28) 4615 Views 0 Comments

Update time:27-Feb-2020

Problem

If you use Tag Assistant appears Request timeout, No response from GA.

「Solved」Google Tag Manager 404 Error

If  https://www.googletagmanager.com/gtm.js?id=GTM-*** failed to load, you can see 404 or blocked:other on the network in the browser developer tools,

404
「Solved」Google Tag Manager 404 Error

 

blocked:other

「Solved」Google Tag Manager 404 Error

This will affect the collection of Google Analytics data and some data will be lost.

 

Ideas

For the first question, the reason is because no data is sent to Google Analytics. You can check that there is no request with collect under the network. You can see that the GTM request is 404 OR blocked:other . The reason for the second question is the same.

  • 404 is a server issue. 
  • blocked:other It is estimated that the browser plug-in is blocked.

So there are two possible reasons. Generally speaking, Google’s servers do not say that a major error such as 404 occurs, so it is likely to be another reason.

It is very likely that you released an empty version.

Usually this is because the preview status does not work properly, causing you to publish an empty version. For preview status not working properly, see 「Solved」-Google Tag Manager preview status is not responding

Reason

GTM is in preview and has released an empty container.

 

Solution

Wrong solution: Some people will change https://www.googletagmanager.com/gtm.js?id=GTM-*** to https://googletagmanager.com/gtm.js?id=GTM-** *, This will indeed take effect, and can be loaded into the GTM container code normally, but if you pay attention to the report, the Active Users cannot be tracked, so this solution is not desirable.

 

 

「Solved」Google Tag Manager 404 Error

 

The correct solution is to exit the preview state and publish a new non-empty version. If your GTM preview state does not respond, please see: 「Solved」-Google Tag Manager preview status is not responding

「Solved」Google Tag Manager 404 Error


If you don't understand, You can leave a comment below.
Like (3)
Post my comment
Cancel comment
Expression Bold Strikethrough Center Italic

Hi, you need to fill in your nickname and email!

  • Nickname (required)
  • Email (required)
  • Website