Using sentry.io with CocosCreator 2.4.9

I’m trying to incorporate sentry.io with my cocos project so I can troubleshoot some bugs that my users are reporting.

I don’t think sentry.io’s npm project is supported by Cocos 2.4.9, and I’m instead trying to load it via CDN. However I’m not sure how to do this - I tried pasting the following script tag directly in index.html, but it’s not showing up. Is there a simple way to load an external script via CDN? My project is in typescript if it makes a difference

<script src='https://js.sentry-cdn.com/xxxxxxxx.min.js' crossorigin="anonymous" data-lazy="no"></script>