Notification

أصبح G Suite الآن Google Workspace: كل ما يحتاج إليه نشاطك التجاري لإتمام العمل.

الصفحة التي طلبتها غير متوفرة بلغتك حاليًا. يمكنك اختيار لغة مختلفة في أسفل الصفحة أو ترجمة أي صفحة ويب على الفور إلى لغة من اختيارك، وذلك باستخدام ميزة الترجمة المضمّنة في Google Chrome.

JavaScript error trigger

Google Tag Manager's JavaScript error trigger is used to fire tags when an uncaught JavaScript exception (window.onError) occurs. This tag may be used to log error messages in an analytics tool. Use a JavaScript error variable to capture the error message and send the value of that variable when a tag fires.

To configure a JavaScript error trigger:

  1. Click Triggers and then New.
  2. Click Trigger Configuration and choose the JavaScript Error trigger type.

When the trigger fires, the following built-in variables are populated:

  • Error Message: The text of the JavaScript error message.
  • Error URL: The URL for the page where the error occurred.
  • Error Line: The line number in the code where the error was detected.
The JavaScript Error trigger will not report errors that occur before Tag Manager loads, and will only report uncaught exceptions.

هل كان ذلك مفيدًا؟

كيف يمكننا تحسينها؟
Search
Clear search
Close search
Main menu
11029934899929350190
true
مركز مساعدة البحث
true
true
true
true
true
102259
false
false