How to have dynamic values on properties in schema.org type + archive pages
-
Hi all,
not sure if this is the right section of the forum, kindly move my post if it is not (and sorry).
I am trying to implement some schema markup type on my website, just a simple question: is it possible to have dynamic values for some properties?
Easier with an example, here https://imgur.com/Pm3FOZQ you can find an implementation of Restaurant type by schema.org
I highlighted the aggregateRating properties, the value for ratingValue is ‘4’ and the value for reviewCount is ‘250’I imagine those values MUST be dynamic, some hours later they can have another review and reviewCount would need to become ‘251’.
So, how to implement this in the script (JSON-LD) of the schema type?
Also, is it possible to implement schema markup in archive pages?
I read that you can only implement it on single pages, but it does make sense to me. Again for dynamicity, I have archive pages that contain lists of products (links to product pages) that dynamically change according to rating or review count for example.
So, how to use a schema markup in there?My aim is to have a rich snippet in Google results which show, let’s say, the first 5 products (links to product pages) that at that moment are ‘the best 5’ (for rating or review maybe).
I am using SiteReview as the plugin for the review (maybe the best place for this post would be in SiteReview plugin, not sure).
Thanks in advance!
Daniele
- The topic ‘How to have dynamic values on properties in schema.org type + archive pages’ is closed to new replies.