# mtc.js reporting errors

**URL:** <https://forum.mautic.org/t/mtc-js-reporting-errors/10592>\
**Category:** Product Support\
**Created:** [June 16, 2018, 2:26pm UTC](https://forum.mautic.org/t/mtc-js-reporting-errors/10592 "2018-06-16T14:26:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zoqui](https://avatars.discourse-cdn.com/v4/letter/z/ee7513/32.png) [@zoqui](https://forum.mautic.org/u/zoqui)\
**Post date:** [June 16, 2018, 2:26pm UTC](https://forum.mautic.org/t/mtc-js-reporting-errors/10592/1 "2018-06-16T14:26:16Z")

</div>

Hi  
I’m getting starting with mauting and just put the tracking js code in one page of my web site.

But the injected mtc.js is throwing one exception uncaught exception:

mtc.js:60 Uncaught TypeError: Cannot read property ‘type’ of undefined  
at mtc.js:60  
at mtc.js:3  
at Object.MauticJS.processGatedVideos (mtc.js:60)  
at MauticJS.initGatedVideo (mtc.js:59)

I really appreciate any information that could help me to fix this issue.

Thank you very much

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [October 17, 2019, 4:33pm UTC](https://forum.mautic.org/t/mtc-js-reporting-errors/10592/2 "2019-10-17T16:33:43Z")

</div>


