I want to track behavior in an iframe

Because of the same-origin policy, which is enforced by browsers, BlueConic can not 'see' into an iframe which is hosted on a different domain than the site which embeds the iframe. The best solution in this case is to place the BlueConic script in the iframe as well.

If placing the script in the iframe is not an option, then you might want to resort to more creative solutions like creating a custom plugin and use an external library like the iframeTracker ,which will provide you with ways to track clicks in an iframe. The possibilities however remain quite limited.