Hi everyone,
Solved! Go to Solution.
Views
Replies
Total Likes
Hi ,
You'll need to suppress second page view by adding below code to your tool custom code.
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
}
Please do let us know in case of any questions or queries.
Thanks & Regards
Parit Mittal
Views
Replies
Total Likes
Hi ,
You'll need to suppress second page view by adding below code to your tool custom code.
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
}
Please do let us know in case of any questions or queries.
Thanks & Regards
Parit Mittal
Views
Replies
Total Likes
Hi Parit Mittal,
I think you will be able to help me with the following.
I have similar issue as above but the scenarios are bit different.
I have a website (Site-A) which has a third party tool as an iframe (Site-B).
Site-A using an Ensighten space called A-space. Site-B using Ensighten space called B-space. So not just pageviews but also all the events are fired 2 times (one in A-space, another in B-space) as same DataLayer object is used in both the spaces.
Note: Site B is a third party domain and I managed to add Ensighten script on their site. I can ask their developers to add/change any code for the iFrame.
Is there a way to prevent a tag from firing twice?
Let me know if you need more details.
Thanks,
Goutami
Views
Replies
Total Likes
Views
Likes
Replies