Hi, I am trying to track an iframe-setting via tealium. Our site-configuration looks like this: main.domain.com search.domain.com/some/path (standalone-search site) search.domain.com/some/pathe/iframe (iframe, which is loaded on main.domain.com) I am willing to track the standalone-search site with normal initial pageveiw tracking but I do not want to track this initial pageview for the iframe, which is loaded on main.domain.com. This works: // do not track iframe initial pageview
if(location.pathname.indexOf('iframe')>-1){
window.utag_cfg_ovrd = {noview:true};
} The problem is, that my other tracking code (which is in extensions) is not added to the iframe in this case. Only if I trigger an initial function myself, the other tracking code is executed // do not track iframe initial pageview
if(location.pathname.indexOf('iframe')>-1){
window.utag_cfg_ovrd = {noview:true}; // track initial "link", to add tracking code // why do I have to do this? // I do not want this request
setTimeout(function(){utag.link();}, 2000);
} Can someone tell me, what I am doing wrong and how I can get my expected tracking to work? Best regards Jan
... View more