cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

This product reached the end of support date on March 31, 2021.

Can JavaScript Agent detect User Actions within embedded iframes?

paolo_sartore
Participant

Hi,

We have a travel booking site with active UEM. At the last step of the booking flow the payment service (form to get credit card data and "Pay" button) is embedded in the page using an iframe:

<iframe src="https://externalpaymentservice.biz?somequery"></iframe>

Is there any chance to get User Actions data for the actions the user does inside the iframe window without having to manually inject the JavaScript Agent in externalpaymentservice.biz pages?

Thanks,
Paolo

4 REPLIES 4

graeme_william1
Inactive

Paolo,

I believe it should be supported automatically -- that is, without any extra injection.

If you try it and the user actions don't appear, let us know. (It will help to know the Dynatrace version, what JavaScript frameworks the page is built with, and the browser/version you used for testing.)

-- Graeme

Hello Graeme,

yes we tried more than once and the expected User Action (that should be 'click on "Pagare" on /mypath/mypage.aspx') doesn't appear. Dynatrace version 6.2.0.1239, JavaScript frameworks enabled AngularJS and jQuery, browser Chrome 45.0.

Paolo

Paolo,

I guess you should submit a support ticket. You'll need a support archive, session file, and a Fiddler session.

-- Graeme

ben_wrightson
Dynatrace Pro
Dynatrace Pro

Just to update this: Paolo has opened SUPDT-15149 and the reply was that what happens in an IFRAME is like if you would open that page in a separate browser tab. There is no correlation unless you also have a JS agent in the IFRAME HTML source.

So in short, we're not aware of a way to get visibility into these user actions without injecting the agent into the iframe as well.

The same has been said in this post as well.