Développer ma barre des réalisations de la Communauté.

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.
RÉSOLU

AEM Iframe clicks tracking using launch

Avatar

Employee

Hi Team,


One of my client has brightcove video on iframe and that iframe is rendering through AEM.
Can we track the iframe clicks ? What is the recommended approach ?
Below is the screen shot 

VidhyaAk1_0-1715333371592.png

 

Sujets

Les sujets facilitent la catégorisation du contenu de la Communauté et vous aident à retrouver le contenu le plus pertinent.

1 solution acceptée

Avatar

Réponse correcte par
Community Advisor

Oh! I thought your screenshot showed the HTML for your web page. I didn't realise it's the HTML of an IFRAME where that IFRAME has been embedded in your web page. In that case, the extension won't help.

I have an old script (from 2020) that might help you get started: https://gist.github.com/yuhui/3375b8221f6152600321bdf710dbe90b I haven't used Brightcove since 2020, so I don't know if it still works.

This script is meant to be added to the Brightcove player. If I remember correctly, there's a section in the player's configuration where you can add your own custom code. So that's where you would add this script.

I don't use Brightcove any more, so I don't think I'll be able to provide much help if my script doesn't work any more.

Voir la solution dans l'envoi d'origine

3 Replies

Avatar

Community Advisor

If you're using AEP Tags as your tag management system, then you can try the Brightcove Video extension provided by Adobe.

Avatar

Employee

@yuhuisg 

But the iframe has third part domain , will this solution works for third party iframe domain ?

Avatar

Réponse correcte par
Community Advisor

Oh! I thought your screenshot showed the HTML for your web page. I didn't realise it's the HTML of an IFRAME where that IFRAME has been embedded in your web page. In that case, the extension won't help.

I have an old script (from 2020) that might help you get started: https://gist.github.com/yuhui/3375b8221f6152600321bdf710dbe90b I haven't used Brightcove since 2020, so I don't know if it still works.

This script is meant to be added to the Brightcove player. If I remember correctly, there's a section in the player's configuration where you can add your own custom code. So that's where you would add this script.

I don't use Brightcove any more, so I don't think I'll be able to provide much help if my script doesn't work any more.