Create Google Structured Data for Videos

Create Google Structured Data for Videos

Make sure your videos are set up for success on search

Google's Structured Data is a great way to organize your content for Google's indexing. Using structured data to create a well-organized site can improve your search engine optimization efforts. RebelMouse, in particular, has the right tools to make sure your site is making the most of structured data.

The story is no different when it comes to the structure of your video data. The following is a look at what the setup looks like in our Layout & Design tool:

How to Create Google Structured Data for Videos

First, add a Conditional Contentelement that triggers when a post type equals video. Then, create a Custom HTMLelement and click into its Code card:

Next, add the following code snippet:

<if test="post.type=='video'"></if>

Then, click Apply.

Now add an Ad Header Code element, which works with Jinja. This is what will enable us to add structured data to our posts with videos. A regular Header Code element, by contrast, does not work with Jinja.

Finally, write the needed JSON-LD code using information from a video post. The required fields are taken from Google's Developers documentation. For example:

<script type="application/ld+json">
"@context": "",
"@type": "VideoObject",
"name": "{{ post.headline|safe }}",
"thumbnailUrl": ["{{ post.image|safe }}"],
{%- if post.meta_description %}
"description": "{{ post.meta_description|safe }}",
{%- endif %}
"uploadDate": "{{post.created_date}}",
"embedUrl": "{{}}",
"url": "{{ post.post_url }}"

It's a good idea to put your structured data into a B test to ensure it's working properly. If you have any questions about this feature, email or contact your account manager today.

What Is RebelMouse?
Request a Proposal
The Most Secure CMS of 2023

The Most Secure CMS of 2023

Why RebelMouse Is the Most Secure CMS on the Web

Delivering a secure, high-performing environment with extreme reliability is essential to all of our clients at RebelMouse. We only use industry-leading, reliable approaches to host our infrastructure. This ensures maximum stability and security for all of our clients’ data. Here are just some of the reasons we’re able to maintain a hard-bodied product that’s flexible, too.

Keep reading...Show less
Meet the RebelMouse Platform: The Highest Performing CMS on the Web
Rebel Insights

Meet the RebelMouse Platform: The Highest Performing CMS on the Web

Make sure your site is set up for success in 2022.

In the spring of 2020, Google let the world know that its Core Web Vitals would become the new benchmark for measuring a site's performance in its search results, known as the page experience update. Fast forward to more than a year later in August 2021 when, after much anticipation, Google's page experience update became official.

Since its rollout, developers have felt the impact of how their publishing platforms stack up against the new standard. Important decisions around the architecture of your site can now make or break your site's performance in the eyes of Google.

HTTP Archive, a tracking platform that crawls the web to identify trends and record historical patterns, frequently reports on how top content management systems (CMS) have weathered the page experience update through the creation of its Core Web Vitals Technology Report. RebelMouse has consistently outperformed major CMS platforms on Google's most critical metrics throughout the year:

Getting superior scores on Google's performance benchmarks isn't easy, either. The Ahrefs blog analyzed Core Web Vitals data from the Chrome User Experience Report (CrUX), which is data from actual Chrome users, to see how the web stacks up against Core Web Vitals. Their study found that only 33% of sites on the web are passing Core Web Vitals.

data from Ahrefs tracked on a line chart finds that shows only 33% of sites on the web pass Google's Core Web VitalsFrom Ahrefs.

Luckily, performing well on Core Web Vitals is possible with thoughtful, strategic changes to your site’s codebase. Here's what you need to know and how we can help.

Keep reading...Show less
Interested in a Free Website Health Check?Check Your
Website's Health
Get Your Free Analysis Now