Landing Pages as Iframes


#1

We are trying to embed hubspot landing pages as iframes to leverage smart content capabilities in our app.

One iframe (try.surveygizmo.com/login ) on a login page: stage2app.surveygizmo.com/login/v1
https://screencast.com/t/EGOo3lS30

And another iframe (try.surveygizmo.com/dashboard) one inside our web app: stage2app.surveygizmo.com.
screencast.com/t/jL46df6Ba

The problem is:

When a user logs in we are trying to reach inside iframe using javascript and check for the publish date inside the iframe: screencast.com/t/ra4Iks81gN.

We get this error in safari screencast.com/t/C1iPemogfU
Also this break functionality in IE screencast.com/t/yyIyGSc3sh

Please can suggest a solution, Thank you.