Anchor tag Non-youtube video tracking milestone inside an Iframe | Community
Skip to main content
tarun11011991
Level 2
December 4, 2019
Question

Anchor tag Non-youtube video tracking milestone inside an Iframe

  • December 4, 2019
  • 1 reply
  • 3149 views

I wanted to understand how can I get video tracking milestones under my following conditions:

video URL mentioned in an anchor tag

<a src="some vodeo url"><a/>

After playing the video, it generates an Iframe next to the anchor tag. Under the Iframe, I can see #document, html code and video tag inside the body tag.

<a src="some vodeo url"></a>

<iframe src="some vodeo url">

#document

<HTML><BODY><video src="some vodeo url" media></video></body></html>

</iframe>

But I am not able to access video tag in DTM or browser console unless i go to browser elements(inspect elements) and expand Iframe until the 'video' tag is visible.

Also, if I try to edit the iframe (without expanding the iframe in inspect elements) , i am not able to see #document and further inline HTML code.

please, provide a solution how can i track this "non-youtube video" without affecting the iframe.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Level 2
November 9, 2021

Any resolution for this? Having same issue. Send help 😞