Javacript & Schematic Markup for Local SEO
-
I am trying to apply schematic markup for a client who is using javascript for their store hours and maps. Will Google be able to comprehend the data in the Javascript file if I set up a schematic property for this? I wanted to use this specific property http://schema.org/openingHours. Our client is also importing reviews from a third party source. Would it be possible to apply schematic markup to a 3rd party source?
Any feedback would be appreciated. Thanks!
-
Hi Rosemary,
Google should be able to understand whatever you put in Schema, but as to whether they are able to fully understand javascript, recommend you read:
http://searchengineland.com/tested-googlebot-crawls-javascript-heres-learned-220157
Regarding the reviews question, are you saying you want to edit the code of the third party reviews you are republishing? Would you be able to provide a full description of how you would do this and what you're hoping to achieve? Thanks!
-
Thanks for the response Miriam. As for the 3rd party reviews, we want to integrate these into our schema markup. Not sure how this would workout.
-
Hi Rosemary,
Miriam has the right idea - Google probably can crawl your marked-up JavaScript, but whether they will actually use it in e.g. rich snippets is up to them.
You can apply semantic markup to the individual containers that each piece of third-party data is pulled into, and that should work.