koko-analytics icon indicating copy to clipboard operation
koko-analytics copied to clipboard

Track iframes

Open arnelap opened this issue 3 years ago • 0 comments

Currently the trackPageview() functions has

// do not track if page is inside an iframe if (window.location !== window.parent.location) { return } Why? Should we make this a setting? In some cases people use lightbox to open posts and those should likely still be tracked. Source: https://wordpress.org/support/topic/doesnt-count-content-loaded-in-iframes/#post-15985102

arnelap avatar Sep 06 '22 21:09 arnelap