WordPress.org

Make WordPress Core

Opened 2 months ago

#53205 new defect (bug)

No Views Recording in YouTube Analytics for Embedded Videos if using Lazy Load

Reported by: theteacher Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:

Description

I don't know why this started happening because everything was normal before. I am using WP-Rocket for Lazy Load the Images and YouTube Embedded Videos. Most of the videos were embedded using the Video Watch Link using YouTube Video Block in WordPress.

The problem is when we see the YouTube Analytics - Reach - Traffic Source - External then if the Lazy Load is Enable for iframe and Videos then the YouTube doesn't count the views.

I notified this to WP-Rocket and they opened a new ticket:

https://github.com/wp-media/wp-rocket/issues/2757

I am writing this because after upgrading to Wordpress 5.7.2; you said that Lazy Load is enabled by default for iframes.

So my question is how we can correct this issue? Will Wordpress 5.7.2. Lazy loads the embedded YouTube Videos using the Video URL and Wordpress YouTube Block?

If that is not possible then should I embed all the videos again using the iframe share code instead of video url?

I am concerned about this because the new Core Web Vitals update. If not lazy loading images and videos then it will surely effect the page speed which will further effect the position of website in Google Search Results.

Regards

Change History (0)

Note: See TracTickets for help on using tickets.