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:
- Blog Posts
- Homepage (using the
Each item will need its own set of data added for the video you want 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 for your search results.
Add required metafields
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.
- To add a video to your Shopify homepage, use
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
Example of what to enter using the metafields app
Testing the Video Schema
Once these metafields have been created and saved, you can use Schema Markup Valdatorl to verify the data is correct.
It will take some time before Google updates their results to include your video Rich Snippet.