Inserting script into header section of embedded retool app

We're trying to use Freshpaint.io for event tracking, such as user clicks, page views, etc.

I was able to load the JS into a custom component and get page view to work (showing up as custom-components.html), but that's pretty minimal data.

I understand that JS is typically run in an external sandbox environment -- are there any workarounds to be able to use this type of event tracking?

Hey @shawnhoffman, this isn't currently possible. As you mentioned, the JS in Retool is run in a sandboxed environment for security reasons. Which does prevent using services like Freshpaint, Fullstory etc. We have an internal feature request to allow these sort of integrations, and I've linked this topic to that. I can update you here as I get any additional information to share. Thanks!