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:
- Products
- Pages
- Blog Posts
- Homepage (using the
shop
object)
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 Shopify object under the jsonld
namespace.
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
homepageType
instead oftype
. 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.2018-01-01
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 bePT90M
orPT1H30M
Testing the Video Schema
Once these metafields have been created and saved for the blog post, you can use Google’s Structured Data Tool to verify the data is correct.
It will take some time before Google updates their results to include your video Rich Snippet.
Get more organic search traffic for your Shopify store
Increase organic SEO traffic through Google's Rich Results. One click allows search engines and others to understand your store and products.