Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

Anchor tag Non-youtube video tracking milestone inside an Iframe

tarun11011991
Level 2
Level 2

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.

0 Replies