(Video) Measure School of Google Analytics – Import JSON-LD Meta Information from the YouTube API for embedded Videos


Having JSON-LD data about your embedded Videos on your site can help produce Rich Search Results for Videos in Google Search. Just writing this data can be tedious, so we came up with a workaround that enables us to pull the data directly from the YouTube API and transfer it into a JSON-LD object.