Cara Memperbaiki Masalah Failed to load resource: the server responded with a status of 404 tag manager

Pihak Google Tag Manager menyuruh anda untuk menempatkan kode di bawah ini dibagian <body> html.

<!-- Google Tag Manager -->
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-PLF4CZ" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= '//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','YOUR-ID');</script>
<!-- End Google Tag Manager -->

Ketika anda cek di inspect element, anda mendapatkan error 404:

GET http://www.googletagmanager.com/gtm.js?id=YOUR-ID

Pertanyaan anda adalah Bagaimana cara atau solusi memperbaikinya?

Caranya:

1. Anda hanya perlu klik tombol Publish (letaknya di pojok kanan atas) di bagian menu WORKSPACE

2. Setelah itu isi nama dan deskripsi

3. Klik publish


Mudah sekali bukan?

Semoga bermanfaat!

Post Terkait:

Open Comments Close Comments

This site uses cookies from Google to deliver its services, to personalise ads and to analyse traffic. Information about your use of this site is shared with Google. By using this site, you agree to its use of cookies. Learn more