Close

Copyright © RebelMouse 2019

Follow Us:

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 Structure Data for Videos

First, add a Conditional Content element that triggers when a post type equals video. Then, create a Custom HTML element 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": "https://schema.org",
"@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": "{{post.video}}",
"url": "{{ post.post_url }}"
}
</script>

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 support@rebelmouse.com or contact your account manager today.

RebelMouse CEO: Reimagining Diversity “Starts in the Office”

Why women, minorities, and the LGBTQ+ community will restructure workplace norms

Entering a new decade means a new opportunity to change how we approach diversity. In a joint interview alongside Leanne Pittsford of Lesbians Who Tech, RebelMouse founder and CEO Andrea Breanna said that the only way to fight patriarchal dominance is to encourage and nurture more women, minorities, and members of the LGBTQ+ community in the workplace, particularly in tech.

Over half of RebelMouse's employees are women or identify as LGBTQ. Read our full diversity and inclusion report here.

Check out the full video below.

Related Articles

Publishers No Longer Have to Submit Their Site to Google News

Google's Publisher Center creates new opportunities for audience growth

Just before the start of the next decade, Google announced an important change to its Google News offering with the launch of Google Publisher Center. The new interface merges Google News Producer and Google News Publisher into one to streamline the partnership process for publishers.

Overall, the change should make it easier for publishers to manage their Google News settings, including updating themes, directing URLs to section pages, and configuring user permissions. Read the full list of features here.

Keep reading...

How to Find Work-Life Balance as a Remote Employee

Tips from our CEO on making the most of an office-free lifestyle

Working from home is becoming increasingly popular, with an estimated 66% of companies now allowing remote work and 16% operating completely office-free. RebelMouse is one of those fully remote companies, and over the years we've mastered how to stay close to each other despite being spread across more than a dozen countries. We believe working remotely is good for both our personal lives and our productivity. Read more about this here.

Still, working free from the shackles of an office environment doesn't mean every day is a dance party in your pajamas from 9 to 5. Working from home comes with its own set of challenges just like any other job.

Keep reading...
Subscribe to Our Newsletter