Get more organic search traffic for your Shopify store
JSON-LD for SEO is a premium app that has been designed and optimized to get you results in Google, fast.
If you have videos in your Shopify store, by adding structured data for them you can get some additional search enhancements like Rich Snippets, video previews, and inclusion in Google Image Search.
JSON-LD for SEO supports the VideoObject type once you add some additional data to your Shopify store to describe the video.
You can add videos to many different areas of Shopify:
Each item will need its own set of data added for the video you want to be displayed. e.g. Each product with a video will need this process done, even if the videos are the same.
Additionally, you can only markup one video per URL so pick the one that will be the most useful and have the most impact on your search results.
JSON-LD for SEO doesn’t do anything visually on the page. We only create the structured data for Google.
Watch this 2-minute video using the Video Generator
Using JSON-LD for SEO’s Video Generator, you can easily create the output by simply copying and pasting the required fields.
The Video Generator will create the metafield value and, with JSON-LD for SEO installed using metafields as outlined below, we create the structured data for you.
I find it easiest to create the metafield first, especially when using Shopify’s native metafields.
Use Shopify’s Metafields or your metafield tool of choice and add the Video data to the Shopify object like this:
Note: If you’re using Shopify’s Metafields, you create the definition once per page type. For example, create the metafield definition once for Page. Then in Step 4, you assign the value per Page.
In the JSON-LD for SEO Video Generator page, select the button to Create New Video
Begin to fill in the information. Required fields are designated with an asterisk (*).
A few things to note:
JSON-LD for SEO supports multiple videos on a single URL with the Video Identifier, but this is more advanced and might require a developer to help. Each video Metafield Value needs to be merged into a single array and added to Shopify’s metafield.
Once you’ve got all your fields entered, select Create Video to review your information.
The content you’ve now created will need to be added to the page in Shopify’s admin panel.
Copy the Metafield Value using the Copy to clipboard button.
Go to the Shopify Page, Product, Blog etc in the Shopify Admin. Scroll to the bottom of the page and you should see the metafield we created previously.
Paste the value you copied from the Video Generator.
Voila! You now have the Video Object structured data. Free free to rinse and repeat for any other videos you have.
Don’t forget to test the page after you’ve created the Video structured data. Instructions on how to test your results are below.
If you don’t want to use the Video Generator, you can manually add the content to the metafield.
Using your metafield tool of choice, add the following fields to the key under the
jsonld namespace using a string or single line text type.
type– (required) Set to “VideoObject”. This is the magic setting that tells JSON-LD for SEO there’s a video here.
name– (required) Name of the video.
description– (required) Description of the video.
thumbnailURL– (required) Url of an image to use for the video thumbnail.
uploadDate– (required) When the video was uploaded. This must be in the ISO 8601 date format. e.g.
contentURL– (recommended) Url to the actual media file. This should be the actual .mpg, .mpeg, .mp4, .m4v, .mov, .wmv, .asf, .avi, .ra, .ram, .rm, .flv, or other video file format.
embedURL– Url to a player for the video, e.g. Youtube url.
duration– How long the video is. This must be in the ISO 8601 duration format. e.g. 90 minutes would be
For example, a single metafield might look like this:
Type: string single-line text
Once these metafields have been created and saved, you can use Schema Markup Validator to verify the data is correct.
It will take some time before Google updates their results to include your video Rich Snippet.
You can see a demo of what this looks like on the JSON-LD for SEO demo site.