Capture iframes

Hello team, I'm looking for some guidance on initializing a specific package (in this case LogRocket) within an embedded TS application using React (as detailed here: https://developers.thoughtspot.com/docs/react-app-embed). Our app requires that we record customer's TS sessions within our app so that we can provide a solid customer support service, but given that we use React and TS embedded components we haven't yet found a way to do so, as LogRocket requires an initialization call to be made within the iframe itself: https://docs.logrocket.com/reference/mergeiframes Any tips would be much appreciated, thanks.
LogRocket
Capture iframes
Control how iframes are treated during session recording
5 Replies
shikharTS
shikharTS7mo ago
@Aditya can you help here?
jbc
jbc7mo ago
@Leo What you are looking for requires running some script (Logrocket.init in this context) inside the iframe window, which is the underlying TS application. We don't have any current support to pass in any custom scripts, as that would be a cause of security concerns.
Leo
LeoOP7mo ago
Hey @jbc , thanks for your response. That is pretty much what our support manager told as a while ago, so it makes sense, though he mentioned he'd discuss that with the team to look for solutions. Would you be able to tell me if there's any workaround you can think of to implement this? A different way to embedding or some other path that we can explore?
jbc
jbc7mo ago
@Leo We don't have a capability at the moment to support this. But we can take this as a feature request and build some options around this. I will get back on the timeline of when we will have a support for this.
Leo
LeoOP6mo ago
Sounds good, thank you

Did you find this page helpful?