Error handling in Custom JavaScript Variable and Custom HTML Tag in Google Tag Manager - Try...Catch

preview_player
Показать описание
When using JavaScript in Google Tag Manager, you have to be careful and trap the errors that your code might generate. In this video learn how to use Try...Catch JavaScript statement in Google Tag Manager.

Рекомендации по теме
Комментарии
Автор

Nice video. Can you create a series about popular use cases for custom javascript in GTM

kisholoymukherjee
Автор

When I try using try{} catch{} in GTM I generally get this error from the compiler. "This language feature is only supported for ECMASCRIPT_2019 mode or better: Optional catch binding." Any ideas how to get around this?

ChrisButterworth
welcome to shbcf.ru