
Mukesh Sharma wrote...
Filipe Beato wrote...
Amit_Kumar wrote...
AdD the DTM header and footer to the Iframe.
Do let me know if that doesn't work.
Hi,
For anyone who is struggling with this, the approach works.
We just need to add the same DTM code (that we have on parent page) to iframe page/form... and voila.
Thanks for support
Won't there be multiple server calls in that case?
Yes, that's right.
You'll need to suppress one by adding this to your tool custom code, that was kindly provided by Adobe:
var isInIframe = (parent !== window)
if(isInIframe ){
return false; //this will prevent the Adobe Analytics tool to send a pageview image
request
}else{
return true; //this will allow the Adobe Analytics tool to send a pageview image
request
}
p.s: Again this code was provided by Adobe
Hope this helps