On my website, I have embedded a third-party flash player using an iframe
. Whenever a user clicks on a specific area within the flash player, a new tab is opened in the browser. I am trying to track the frequency of this occurrence.
However, I have encountered a hurdle and there are two potential solutions:
- Identify when a click event occurs in the specified area. The challenge here is that I do not know the exact
id
and the coordinates can vary on different screens. - Detect the opening of a new tab. But how can I track if my page is opening a new tab? Additionally, how can I determine if it is being triggered by the flash player?
I would greatly appreciate any advice you could provide.
Thank you very much.