Table of Contents
Script error pop up Google Tag Manager in Windows 10, 11
In some cases, in Windows 10, 11, after your computer starts, you got this popup Google Tag Manager Script Error.
There many reasons for this problem, but in my case, I got this issue because an app was uninstalled incompletely. So i need to determine then remove the app manually.
Find the script error window in Task Manager
Note
Note: You need leave the Script Error window open, if you close it, you cannot find it in Task Manager. If you closed it, let restart your computer to get the popup again.
1. Open Windows Task Manager in your Windows 10, 11.
2. In the Task Manager window, navigate to the View tab then select Expand all option.
3. Scroll down and find the process with script error. Right click on it then select Open file location.
4. As you can see, the cause of the issue is MiniTool Partition was removed, but it’s data still remain in your computer.
5. In my case, i’ll delete that folder, but i need kill the running process first.
Finally, remove the unnecessary folder then restart your computer to verify it works.
So I added google analytics to my site, and the code snippet that google gave me was this:
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-124075233-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-124075233-1');
</script>
So I added it to my <head>
, but now I’m receiving the error:
Loading failed for the with source
“https://www.googletagmanager.com/gtag/js?id=UA-124075233-1”.
I’m a bit confused as to why this is happening.
Eric Aya
69.4k35 gold badges181 silver badges252 bronze badges
asked Aug 22, 2018 at 1:16
6
I had the same problem. It turned out to be the DuckDuckGo Privacy Essentials browser extension that I was using was blocking the Google tracker request. Just disabling this extension for the site resolved the problem.
I suggest checking to see if you have a similar browser extension that is blocking the request.
answered Oct 31, 2018 at 17:13
zacawayzacaway
3264 silver badges3 bronze badges
3
I had the same issue but basically it’s just because you’re using a tracker blocker (like Ghostery).
If you’re using one, you will probably see this message in more than just your website.
Try to whitelist your site and see if it works well
answered Jan 10, 2020 at 21:12
Please check your code, where do you put that code? are you using cms like WordPress? it’s possible you put in the wrong place, for example, you put that code between <?php
tag
answered Apr 23, 2019 at 4:03
Ali.azimiAli.azimi
932 silver badges9 bronze badges
Another thing to check is your adblocker. I used v2rayn for my proxy and blocked some ad sites, and somehow googletagmanager.com was one of them.
answered Aug 22, 2021 at 8:12
tjysdsgtjysdsg
6278 silver badges19 bronze badges
I have installed Google Tag Manager on my website, and am using it to load some Javascript onto my site. However, GTM is no longer loading, my Javascript isn’t loading, and the error code is not very helpful.
Here is the GTM code on my website:
<!-- Google Tag Manager -->
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-MFQ99J"
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','GTM-MFQ99J');</script>
<!-- End Google Tag Manager -->
This is the code I am including in the GTM Tag:
<!-- Qualaroo for your website -->
<!-- Paste this code right after the <body> tag on every page of your site. -->
<script type="text/javascript">
var _kiq = _kiq || [];
(function(){
setTimeout(function(){
var d = document, f = d.getElementsByTagName('script')[0], s = d.createElement('script'); s.type = 'text/javascript';
s.async = true; s.src = '//s3.amazonaws.com/ki.js/50553/aS-.js';f.parentNode.insertBefore(s, f);
}, 1);
})();
</script>
When I look at the Chrome Javascript Console, I get the message:
(x) Failed to load resource http://www.googletagmanager.com/ns.html?id=GTM-MFQ99J
And when I reload the page, I see:
(x) GET http://www.googletagmanager.com/ns.html?id=GTM-MFQ99J index.html:45
anonymous function index.html:45
anonymous function index.html:46
Going to these lines gets me these lines from my GTM code:
'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-MFQ99J');</script>
I’ve been googling like crazy to try to figure this out, but I’m out of my depth for a lot of this. The error message «anonymous function» seems to be especially hard to search for, even within GTM and other Google support documentation.
Содержание
- Ошибка загрузки скрипта из googletagmanager
- Googletagmanager com script error
- Выбранное решение
- Googletagmanager com script error
- Chosen solution
- All Replies (9)
- Chosen Solution
Поэтому я добавил на свой сайт Google Analytics, и фрагмент кода, который мне дал Google, был следующим:
Я добавил его в свой , но теперь получаю сообщение об ошибке:
Я немного не понимаю, почему это происходит. Вы можете найти сайт по адресу www.commend.me
У меня он отлично работает на вашем сайте. Можете ли вы проверить, установлен ли у вас блокировщик рекламы, предотвращающий GA?
По-прежнему возникает ошибка в firefox. Chrome тоже выдает ошибку, но только при обновлении.
Я проверил Firefox, и у меня все еще работает нормально! вообще никакой ошибки. Проверьте наличие блокировщиков рекламы и обновлений вашего браузера
У меня была такая же проблема. и решил с ответом @zacaway. Моя проблема вызвана adguard!
Я не решил это, но вместо этого я закомментировал firebase.analytics() , и эта ошибка исчезла. Поскольку я все равно не пользовался аналитикой, это не проблема для меня.
Также обратите внимание, что эта ошибка не повлияет на вашу программу, даже если она может немного раздражать. Я использовал неправильный вызов, поэтому эта ошибка не имела к этому никакого отношения.
У меня такая же проблема. Оказалось, что расширение для браузера DuckDuckGo Privacy Essentials, которое я использовал, блокировало запрос трекера Google. Простое отключение этого расширения для сайта решило проблему.
Я предлагаю проверить, есть ли у вас аналогичное расширение браузера, блокирующее запрос.
Если вы тестируете с помощью браузера Brave, нажмите на лев-щит и отключите защиту.
Я могу добавить, что ublock блокирует сценарий gtag . Спасибо, что напомнили мне, что расширения могут использоваться в разработке . -_-
У меня была такая же проблема с браузером DuckDuckGo
Источник
this happens for all print jobs regardless of the source?
Yes. for all print jobs from Firefox, regardless of web site/form such as web page or pdf being viewed. Any print job originating from Firefox.
this happens for all print jobs regardless of the source?
Изменено 31 марта 2020 г., 09:59:08 -0700 Sky
so print jobs originating from other programs or browsers work fine? I’m asking around
Sort of. it’s very hit-and-miss
- Notepad crashes, displays ‘stopped working’ window & closes;
- QuickBooks, a notorious problem child, usually prints OK;
- Adobe Reader/Acrobat print OK;
- Microsoft Edge 44.18362.449.0 | EdgeHTML 18.18363 prints OK (but it breaks web sites);
- Chrome v80.0.3987.149 x64 dies similarly to Firefox but without the dialogue box or error report box — just crash & close (and breaks web sites); and
- Internet Explorer 11.719.18362.0 crashes & restarts (but doesn’t break web sites — they just refuse to work under IE and tell you to update or go away)
The work-around of printing to a pdf first, then printing the pdf as hardcopy is pretty reliable except for this googletag issue popping a js error.
Perhaps your printer driver is messed up in some way? Can you make sure that’s updated? Or maybe it updated recently and it broke it?
The printer driver is up-to-date and not broken. It’s been un- and re-installed with no change. If it’s the printer driver I wouldn’t expect it to print at all. plus, this really is the wrong place for me to pursue issues with the printer driver.
The GoogleTag JavaScript issue that’s plaguing me is what I’m chiefly concerned with fixing at this point. Do you envision some way an errant print driver could cause a JavaScript googletag issue?
EDIT AFTER SOLVED PrimoPDF is also a printer driver. I was only considering the Canon driver. This was definately the right path as shown below—Sky
Изменено 2 апреля 2020 г., 09:20:26 -0700 Sky
I see malware scans on the ‘net with the exact same gtm tag which means other people are having the same problem as you. On one Nitro board the admin said to do a ‘repair’ on PrimoPDF. Worth a try.
Выбранное решение
I see malware scans on the ‘net with the exact same gtm tag which means other people are having the same problem as you. On one Nitro board the admin said to do a ‘repair’ on PrimoPDF. Worth a try.
Yes it was!
This advice led me to look at PrimoPDF as the originating culprit for the googletag JavaScript error. PrimoPDF has been owned, and now essentially orphaned, by Nitro PDF for some years now. The latest version July 26, 2010 when Nitro incorporated their advertising box on the opening page.
I dl’d another copy of PrimoPDF just in case my installation copy was bad. The only type available is 32-bit, although a 64-bit version exists. somewhere. Next was uninstall-reinstall, then check. On launching my newly-installed version of the very same program I found different settings caused odd behavior, from my notes:
After hitting Custom, all now show the script error. Trying variations made no difference. UN- RE-INSTALL, launch — same issues as after Custom. Options > stop Streamlining. Reopen, started OK, showed Custom settings although all are default except streamlining.
PrimoPDF appears to have been the source of the JavaScript error, and in Primo the «streamlining» option appears to be the root cause. That it happened coming off of Firefox appears to have been happenstance.
Now the only thing that flashes on the screen looks like an error — but it is not. It’s a very fast Print Preview | Progress flag saying the preview is preparing. I was able to capture and see it using the Microsoft Steps Recorder in Windows 10.
EDIT For anyone interested, it’s worth noting PrimoPDF is (now officially) a discontinued product seen today on Nitro PDF’s web site here no wonder they haven’t updated it—but they still have it for download. — Sky
I see malware scans on the ‘net with the exact same gtm tag which means other people are having the same problem as you. On one Nitro board the admin said to do a ‘repair’ on PrimoPDF. Worth a try.
Изменено 2 апреля 2020 г., 09:20:11 -0700 Sky
Источник
When I try to print to my LAN-attached-by-ethernet Canon MF8350Cdn printer, a script error windows flashes on|off, the print job never makes it to the printer, Firefox closes and displays a Crash Report window. My work-around is printing to a PDF.
When I print to a PDF using PrimoPDF, a script error windows displays and waits for Y|N input, on clicking Yes, I am able to print to a PDF successfully. I can then print from Adobe Reader or Acrobat Standard to the same Canon printer successfully. That’s as good as it gets.
Going to about:crashes reveals a couple of memory management issues, specifically in cnxdias2.dll (Canon printer file) and dpofeedb.dll (DigitalPersona Pro loaded by dpagent.exe?). I have diligently sent in the crash reports but have no clue what happens afterward.
Attached is a screen shot of the error.
Modified April 2, 2020 at 9:20:26 AM PDT by Sky
Chosen solution
I see malware scans on the ‘net with the exact same gtm tag which means other people are having the same problem as you. On one Nitro board the admin said to do a ‘repair’ on PrimoPDF. Worth a try.
Yes it was!
This advice led me to look at PrimoPDF as the originating culprit for the googletag JavaScript error. PrimoPDF has been owned, and now essentially orphaned, by Nitro PDF for some years now. The latest version July 26, 2010 when Nitro incorporated their advertising box on the opening page.
I dl’d another copy of PrimoPDF just in case my installation copy was bad. The only type available is 32-bit, although a 64-bit version exists. somewhere. Next was uninstall-reinstall, then check. On launching my newly-installed version of the very same program I found different settings caused odd behavior, from my notes:
After hitting Custom, all now show the script error. Trying variations made no difference. UN- RE-INSTALL, launch — same issues as after Custom. Options > stop Streamlining. Reopen, started OK, showed Custom settings although all are default except streamlining.
PrimoPDF appears to have been the source of the JavaScript error, and in Primo the «streamlining» option appears to be the root cause. That it happened coming off of Firefox appears to have been happenstance.
Now the only thing that flashes on the screen looks like an error — but it is not. It’s a very fast Print Preview | Progress flag saying the preview is preparing. I was able to capture and see it using the Microsoft Steps Recorder in Windows 10.
EDIT For anyone interested, it’s worth noting PrimoPDF is (now officially) a discontinued product seen today on Nitro PDF’s web site here no wonder they haven’t updated it—but they still have it for download. — Sky
this happens for all print jobs regardless of the source?
this happens for all print jobs regardless of the source?
Yes. for all print jobs from Firefox, regardless of web site/form such as web page or pdf being viewed. Any print job originating from Firefox.
this happens for all print jobs regardless of the source?
Modified March 31, 2020 at 9:59:08 AM PDT by Sky
so print jobs originating from other programs or browsers work fine? I’m asking around
Sort of. it’s very hit-and-miss
- Notepad crashes, displays ‘stopped working’ window & closes;
- QuickBooks, a notorious problem child, usually prints OK;
- Adobe Reader/Acrobat print OK;
- Microsoft Edge 44.18362.449.0 | EdgeHTML 18.18363 prints OK (but it breaks web sites);
- Chrome v80.0.3987.149 x64 dies similarly to Firefox but without the dialogue box or error report box — just crash & close (and breaks web sites); and
- Internet Explorer 11.719.18362.0 crashes & restarts (but doesn’t break web sites — they just refuse to work under IE and tell you to update or go away)
The work-around of printing to a pdf first, then printing the pdf as hardcopy is pretty reliable except for this googletag issue popping a js error.
Perhaps your printer driver is messed up in some way? Can you make sure that’s updated? Or maybe it updated recently and it broke it?
The printer driver is up-to-date and not broken. It’s been un- and re-installed with no change. If it’s the printer driver I wouldn’t expect it to print at all. plus, this really is the wrong place for me to pursue issues with the printer driver.
The GoogleTag JavaScript issue that’s plaguing me is what I’m chiefly concerned with fixing at this point. Do you envision some way an errant print driver could cause a JavaScript googletag issue?
EDIT AFTER SOLVED PrimoPDF is also a printer driver. I was only considering the Canon driver. This was definately the right path as shown below—Sky
Modified April 2, 2020 at 9:20:26 AM PDT by Sky
I see malware scans on the ‘net with the exact same gtm tag which means other people are having the same problem as you. On one Nitro board the admin said to do a ‘repair’ on PrimoPDF. Worth a try.
Chosen Solution
I see malware scans on the ‘net with the exact same gtm tag which means other people are having the same problem as you. On one Nitro board the admin said to do a ‘repair’ on PrimoPDF. Worth a try.
Yes it was!
This advice led me to look at PrimoPDF as the originating culprit for the googletag JavaScript error. PrimoPDF has been owned, and now essentially orphaned, by Nitro PDF for some years now. The latest version July 26, 2010 when Nitro incorporated their advertising box on the opening page.
I dl’d another copy of PrimoPDF just in case my installation copy was bad. The only type available is 32-bit, although a 64-bit version exists. somewhere. Next was uninstall-reinstall, then check. On launching my newly-installed version of the very same program I found different settings caused odd behavior, from my notes:
After hitting Custom, all now show the script error. Trying variations made no difference. UN- RE-INSTALL, launch — same issues as after Custom. Options > stop Streamlining. Reopen, started OK, showed Custom settings although all are default except streamlining.
PrimoPDF appears to have been the source of the JavaScript error, and in Primo the «streamlining» option appears to be the root cause. That it happened coming off of Firefox appears to have been happenstance.
Now the only thing that flashes on the screen looks like an error — but it is not. It’s a very fast Print Preview | Progress flag saying the preview is preparing. I was able to capture and see it using the Microsoft Steps Recorder in Windows 10.
EDIT For anyone interested, it’s worth noting PrimoPDF is (now officially) a discontinued product seen today on Nitro PDF’s web site here no wonder they haven’t updated it—but they still have it for download. — Sky
I see malware scans on the ‘net with the exact same gtm tag which means other people are having the same problem as you. On one Nitro board the admin said to do a ‘repair’ on PrimoPDF. Worth a try.
Modified April 2, 2020 at 9:20:11 AM PDT by Sky
Источник
GOOGLETAGMANAGE.COM — это вирус, который очень навязчив!
- Показывает GOOGLETAGMANAGE.COM нежелательную всплывающую рекламу.
- GOOGLETAGMANAGE.COM перенаправляет щелчки в браузере на вредоносные веб сайты.
- GOOGLETAGMANAGE.COM показывается регулярно, даже если закрываешь браузер.
- GOOGLETAGMANAGE.COM появляется в строке ввода браузера при выборе новой вкладки.
- GOOGLETAGMANAGE.COM меняет настройки поиска в браузере.
- GOOGLETAGMANAGE.COM меняет ярлыки браузера на рабочем столе и в меню, чтобы вместе с запуском браузера показывалась реклама.
Как происходит заражение рекламным вирусом GOOGLETAGMANAGE.COM?
Сегодня я был разбужен звонком мамы. Она просила забежать к ней, потому что что-то странное случилось с ее компьютером. Ну, я конечно не могу отказать маме, поэтому отправился в гости.
Как только я открыл ее браузер, в глаза мне бросилось, что стартовая страница была заменена рекламным сайтом GOOGLETAGMANAGE.COM.
Очевидное изменение! Мама такое в качестве стартовой страницы ни за что бы не поставила! Ведь она предпочитает пустую страничку в качестве страницы по умолчанию. Я решил проверить и ярлык для запуска Firefox. Он, разумеется, тоже был инфицирован вирусом GOOGLETAGMANAGE.COM.
Как избавиться от вируса GOOGLETAGMANAGE.COM?
Обычно подобные вирусы изменяют и поисковик по умолчанию. Я проверил — так и есть! Попытавшись исправить его вручную, я был раздосадован тем, что после перезагрузки все возвращается к зараженному состоянию. Что ж, мне стало все понятно. GOOGLETAGMANAGE.COM представляет из себя вирус перенаправитель, который меняет домашние страницы, поисковики по-умолчанию, а также заменяет содержимое ярлыков браузеров, добавляя дополнительную строчку в конец.
Разумеется, маме я помог и компьютер вылечил. И беседу провел, о недопустимости установки нового программного обеспечения в режиме по-умолчанию. Но, думаю, что простенькая инструкция по избавлению от перенаправителя GOOGLETAGMANAGE.COM будет вам полезна. Поэтому ниже я привожу ее, как ручную, так и автоматическую.
Инструкция по ручному удалению рекламного вируса GOOGLETAGMANAGE.COM
Для того, чтобы самостоятельно избавиться от рекламы GOOGLETAGMANAGE.COM, вам необходимо последовательно выполнить все шаги, которые я привожу ниже:
- Поискать «GOOGLETAGMANAGE.COM» в списке установленных программ и удалить ее.
- Открыть Диспетчер задач и закрыть программы, у которых в описании или имени есть слова «GOOGLETAGMANAGE.COM». Заметьте, из какой папки происходит запуск этой программы. Удалите эти папки.
- Запретить вредные службы с помощью консоли services.msc.
- Удалить ‘Назначенные задания’, относящиеся к GOOGLETAGMANAGE.COM, с помощью консоли taskschd.msc.
- С помощью редактора реестра regedit.exe поискать ключи с названием или содержащим «GOOGLETAGMANAGE.COM» в реестре.
- Проверить ярлыки для запуска браузеров на предмет наличия в конце командной строки дополнительных адресов Web сайтов и убедиться, что они указывают на подлинный браузер.
- Проверить плагины всех установленных браузеров Firefox, Internet Explorer, Chrome и т.д. Все неизвестные или подозрительные плагины лучше удалить, либо произвести полный сброс настроек браузера.
- Проверить настройки поиска, домашней страницы. При необходимости сбросить настройки в начальное положение.
- Проверить настройки DNS вашей сети. Рекомендую обратиться к документации, предоставленной вашим провайдером.
- Очистить корзину, временные файлы, кэш браузеров.
Подробнее для Mozilla Firefox…
И все же автоматика лучше!
Если ручной метод — не для вас, и хочется более легкий путь, существует множество специализированного ПО, которое сделает всю работу за вас. Я рекомендую воспользоваться UnHackMe от Greatis Software, выполнив все по пошаговой инструкции.
Шаг 1. Установите UnHackMe. (1 минута)
Шаг 2. Запустите поиск вредоносных программ в UnHackMe. (1 минута)
Шаг 3. Удалите вредоносные программы. (3 минуты)
UnHackMe выполнит все указанные шаги, проверяя по своей базе, всего за одну минуту.
При этом UnHackMe скорее всего найдет и другие вредоносные программы, а не только редиректор на GOOGLETAGMANAGE.COM.
При ручном удалении могут возникнуть проблемы с удалением открытых файлов. Закрываемые процессы могут немедленно запускаться вновь, либо могут сделать это после перезагрузки. Часто возникают ситуации, когда недостаточно прав для удалении ключа реестра или файла.
UnHackMe легко со всем справится и выполнит всю трудную работу во время перезагрузки.
И это еще не все. Если после удаления редиректа на GOOGLETAGMANAGE.COM какие то проблемы остались, то в UnHackMe есть ручной режим, в котором можно самостоятельно определять вредоносные программы в списке всех программ.
Итак, приступим:
Шаг 1. Установите UnHackMe (1 минута).
- Скачали софт, желательно последней версии. И не надо искать на всяких развалах, вполне возможно там вы нарветесь на пиратскую версию с вшитым очередным мусором. Оно вам надо? Идите на сайт производителя, тем более там есть бесплатный триал. Запустите установку программы.
- Затем следует принять лицензионное соглашение.
- И наконец указать папку для установки. На этом процесс инсталляции можно считать завершенным.
Шаг 2. Запустите поиск вредоносных программ в UnHackMe (1 минута).
- Итак, запускаем UnHackMe, и сразу стартуем тестирование, можно использовать быстрое, за 1 минуту. Но если время есть — рекомендую расширенное онлайн тестирование с использованием VirusTotal — это повысит вероятность обнаружения не только вируса GOOGLETAGMANAGE.COM, но и остальной нечисти.
- Мы увидим как начался процесс сканирования.
Шаг 3. Удалите вредоносные программы (3 минуты).
- Обнаруживаем что-то на очередном этапе. UnHackMe отличается тем, что показывает вообще все, и очень плохое, и подозрительное, и даже хорошее. Не будьте обезьяной с гранатой! Не уверены в объектах из разряда ‘подозрительный’ или ‘нейтральный’ — не трогайте их. А вот в опасное лучше поверить. Итак, нашли опасный элемент, он будет подсвечен красным. Что делаем, как думаете? Правильно — убить! Ну или в английской версии — Remove Checked. В общем, жмем красную кнопку.
- После этого вам возможно будет предложено подтверждение. И приглашение закрыть все браузеры. Стоит прислушаться, это поможет.
- В случае, если понадобится удалить файл, или каталог, пожалуй лучше использовать опцию удаления в безопасном режиме. Да, понадобится перезагрузка, но это быстрее, чем начинать все сначала, поверьте.
- Ну и в конце вы увидите результаты сканирования и лечения.
Итак, как вы наверное заметили, автоматизированное лечение значительно быстрее и проще! Лично у меня избавление от вируса GOOGLETAGMANAGE.COM заняло 5 минут! Поэтому я настоятельно рекомендую использовать UnHackMe для лечения вашего компьютера от любых нежелательных программ!
[ratings]
Этот триггер активирует теги, когда на сайте не удается перехватить исключение JavaScript (window.onError
). Он нужен для сохранения сообщений об ошибках в инструментах аналитики. Для извлечения и передачи сообщения об ошибке при срабатывании тега используйте переменную «Ошибка JavaScript».
Чтобы настроить триггер, выполните следующие действия:
- Нажмите Триггеры
Создать.
- Нажмите Настройка триггера и среди типов триггеров выберите Ошибка JavaScript.
Когда триггер срабатывает, подставляются значения следующих переменных:
- Сообщение об ошибке. Текст сообщения об ошибке JavaScript.
- URL ошибки. URL страницы, где возникла ошибка.
- Строка ошибки. Номер строки кода, в которой произошла ошибка.
Триггер «Ошибка JavaScript» не регистрирует ошибки, которые произошли до загрузки кода Менеджера тегов. Он сообщает только о неперехваченных исключениях.
- Типы триггеров
- Как работают триггеры
- Встроенные переменные для веб-контейнеров
- События Google Аналитики
Эта информация оказалась полезной?
Как можно улучшить эту статью?