JSON-LD parsing error
-
I was wondering if anyone had a NON-SCHEMA MARK-UP solution for the following... I ran my Wordpress homepage HTML (after I implemented schema mark-up) in the structured data testing tool and received an error parsing the JSON-LD... it came at the beginning of the code and I know it is from the slider banner plugin... We are trying to see if there as an alternative to implementing schema with in the js... also does anyone know if the actual Google search will simply skip over the code and parse the rest of HTML? Thank you for your help.
-
Usually they would skip over the broken part of your code to see if they can get to know the other part but still I would see if you could fix the parts that are broken currently. Would you be able to share the URL we're talking about?
-
-
Yes this makes total sense as the JSON-LD is not in the right place and the content it has is far from JSON-LD. What you're doing is opening the script tag for this and in that you would have the code for it but in your case there is plain HTML in there which definitely would throw an error.
-
So this source code is from a WP site... the script is for a slider banner... is it necessary to implement schema for it? Or will Google simply skip over it? Is it just the analysis tool itself doesn't know what to make of the code? Are there any long term metric issues we may run into if we leave it as is? Thanks again for your input.
-
You can definitely leave it as it is, it probably won't influence much. It's more additional information that could help you in the long run but it won't harm you.