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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Video Heartbeat tracking of multiple videos

Avatar

Level 1

Hello,

My iOS app shows many videos at the same time and I'd like to use Video Heartbeat tracking. 

I am following the sample provided and create ADB_VHB_VideoPlayerPlugin, ADB_VHB_AdobeAnalyticsPluginConfig and ADB_VHB_AdobeHeartbeatPlugin which are added to ADB_VHB_Heartbeat object. However this works for only one video. What I need to create tracking for multiple videos? Should I create each time new stack of ADB_VHB_VideoPlayerPlugin, ADB_VHB_AdobeAnalyticsPluginConfig, ADB_VHB_AdobeHeartbeatPlugin and ADB_VHB_Heartbeat object or I can reuse some of them?

 

Best regards,

Plamen

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi Plamen,

No, this should work for all videos for your project. Did you followed the official documentation?

https://marketing.adobe.com/resources/help/en_US/sc/appmeasurement/hbvideo/js_2.0/

if yes, can you share more details about your implementation, sample snippet, live url if possible?

Regards,

Amit

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi Plamen,

No, this should work for all videos for your project. Did you followed the official documentation?

https://marketing.adobe.com/resources/help/en_US/sc/appmeasurement/hbvideo/js_2.0/

if yes, can you share more details about your implementation, sample snippet, live url if possible?

Regards,

Amit