Sentry in embedded script

Hi!

I’m developing an app which is used inside Gmail. I use something called InboxSDK which helps me inject my app into Gmail.

The app is not in an iframe or in any way distinguishable from other elements in the DOM. Though, it does have it’s own JS variable scope it seems.

The question is: Will Sentry pick up all errors on the site or can I make it so that it only picks up error from the scope of my app?

Maybe these links are helpful