Landing Page - How to Inject Parameters from an LP URL into an iFrame of the Same LP
PreviousLanding Page - How to Insert a Link into an ImageNextLanding Page - How to import your site into SprintHub
Last updated
Was this helpful?
Was this helpful?
var search = window.location.search;
var url1 = 'https://site1.com.br'+search;
var url2 = 'https://site2.com.br'+search;
document.getElementById('if1').setAttribute('src', url1);
document.getElementById('if2').setAttribute('src', url2);