Schema.org Data Appears on Website
-
Hello Moz World,
I would like to incorporate Schema Data onto my website. My website has Meta tags in the of the document, which incorporates our keywords. And, in the footer, I have my businesses address, logo and other relevant information. Everything flows because it is stylized using CSS. When I input the schema.org data it appears on the website as text w/ a hyperlink. See Code:
My Company
DESCRIPTION.STREET
CITY
STATE
ZIP
United States
Phone: NUMBERI've tried to put it inside the head, body & footer of the HTML code. I want my website to show up properly through Google Structured Data Testing Tool however, I don't want the text to show up on my website not stylized. It sticks out like a soar thumb no matter where I incorporate it. My questions are; Should I even bother with Schema.org? And, is there a way to incorporate it into my website so it does not show up and Google can still pull it up?
Thanks ahead of time for all of the awesome responses!
B/R
Will H.
-
Here you go Kristen, https://www.jamesdflynn.com/development/json-ld-markup-generator/. Enjoy!
-
Hello Peter,
I ended up using JSON-LD, I found someone having the same issues on a Webmaster Forum and another member referred him to a JSON-LD Markup Generator for Schema.org. I threw the code into my header, and checked it with Google Structured Data Tester. Everything Checked out! Thank You for your time and input.
B/R
Will
-
Hello Gyorgy,
I was going to use Google Tag Manager as a last resort. I know Google supports a majority of searches through search engines, but I wanted all of the search engines to be able to read the Schema Data. I ended up creating a script using JSON-LD. Much easier, I used this generator. Thank you for your input!
B/R
Will
-
Very Helpful! Thank you for your input Kristen.
-
You also can use JSON-LD to add this in site w/o messing with HTML. Just refer to their documentation because it can be placed everywhere - in HEAD or in BODY but wasn't visible.
-
Hi Will
I use Google Tag Manager to add structured data to the website. With GTM, the structured markup won't be in the source code and won't be seen in the browser.
The Google Structured Data Testing Tool picks up the local markup from GTM nicely.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Should I have multiple websites for my different brands or one main website with different tabs/areas?
My client creates apps. As well as the apps they create themselves, they have made some of their own that cover various different topics. Currently they have individual websites for each of these apps, and a website for their app making business. They are asking whether they should just have one website - their app building site, which also includes information about the two apps they've built themselves. My feeling is it's better to keep them separate. The app building site is trying to appeal to a B2B audience and gain business to build new apps. AppA is trying to help carehomes and carers to streamline their business, and AppB is trying to help workplace and employee welfare. Combining them all will mean lots of mixed messaging/keywords even if we have dedicated areas on the site. I also think it will limit how much content we can create on each without being completely overwhelming for the user. If we keep them all separate then we can have a very clear user journey. I would of course recommend having blog posts or some sort of landing page to link to AppA and AppB's websites. Thoughts? Thank you!
Intermediate & Advanced SEO | | WhitewallGlasgow0 -
Data Highlighter
Hello, I am trying to use data highlighter but my webpage are not indexed yet and google says I can't highlight anything. However when I go on the structured Data Markup helper it let's me markup... Why is the and which one should I use. Thank you,
Intermediate & Advanced SEO | | seoanalytics0 -
JSON Schema with Multiple Affiliations
I have an attorney that has multiple affiliations that I want to mark up with JSON schema. What is the best way to do this?... Option #1: "affiliation": "Example 1, Example 2", Option #2 "affiliation": "Example 1",
Intermediate & Advanced SEO | | seo_columbus
"affiliation": "Example 2", Or, is there another way to do this that I haven't considered?0 -
Schema for restaurants and menus?
Hi all, Anyone have experience with using Schema for restaurants other than the normal local business NAP? Is there a way to use Schema markup for food menus as well? Examples and schema code much appreciated 🙂 Thanks!
Intermediate & Advanced SEO | | RickyShockley0 -
Rich snippets not appearing in SERP
We implemented rich snippets for People listings about 2 months ago, and they haven't shown up in SERPs yet. I followed all of the advice listed here, and everything seems to be working and being crawled correctly. I'm not sure what else to try at this point. Here is an example page that should be showing snippets: http://www.travelleaders.com/travel_agent/Agent-Details.aspx?id=6982 Any help would be greatly appreciated. Thanks!
Intermediate & Advanced SEO | | john_marketade0 -
Structured Data + Meta Descriptions
Hey All, Was just looking through some google pages on best practices for meta descriptions and came across this little tidbit. "Include clearly tagged facts in the description. The meta description doesn't just have to be in sentence format; it's also a great place to include structured data about the page. For example, news or blog postings can list the author, date of publication, or byline information. This can give potential visitors very relevant information that might not be displayed in the snippet otherwise. Similarly, product pages might have the key bits of information—price, age, manufacturer—scattered throughout a page. A good meta description can bring all this data together. For example, the following meta description provides detailed information about a book. " This is the first time I have seen suggested use of structured data in meta descriptions. Does this totally replace a regular meta description or will it work in conjunction with the regular meta description? If I provide both structured data and text, will the SERP display text and the structured data the way it was previously displayed? Or will the 150 -160 character limit take precedence and just cut off all info after that?
Intermediate & Advanced SEO | | Whebb0 -
Construction website
Hi, I have a construction website that is aimed at tradesmen. There are 2 goals of the site: 1. To allow potential customers to sign up for a trade account. 2. To allow existing customers to access to products and login to their account to make an order. The site is full of categories and products which should be indexed so we rank for these trade products. The homepage redesign is where i am having an issue: Currently the site is set up like a standard retail site but without prices, which are viewable only when logged in. The homepage is designed such that there is several call to actions about promotions, services and to apply for a trade account, that apply to both existing and potential customers. At the moment there is a poor conversion to get potential customers to apply for a trade account. This is because there is too much distraction away from this goal and they are allowed to engage other areas of the site freely. The main purpose of the homepage should be to encourage potential customers to sign up. The secondary purpose to for existing customers to access the accounts and products. I believe potential customers should not be exposed to the categories and products as it is a distraction from the primary goal. Potential customers, i.e. Tradesmen, would already have a certain understanding of the types of products we provide, so I don't feel it is necessary to allow them to crawl the rest of the site unless they have an account. What are your thoughts on that? Here is my lack of understanding: On the homepage, if I restrict access to categories and products to existing account holders only, where a login is required to proceed, would that mean Google cannot access these pages to index them? Or is this only controlled by NoFollows & Robots.txt? Obviously not indexing is undesirable. I do understand potential customers will need some information about our range of products but the idea is to coerce them to sign up for an account so they can see this information. The more information that is provided to a potential customer, the higher the probability a person can make a decision against applying for an account. Restricting access creates a motivator to reveal information and we capture their data to converse with them personally. This increases the probability of us being able to retain their interest by providing a customised service based on their needs. All of this I feel makes perfect sense to me, the only query/obstacle I have is the indexing of the site. If Google cannot index pages that are restricted by account access, then I would like suggestions to solve/compromise/optimise the above. Just to address the desired behaviour of index pages. If in search a our product page appears, the person clicking the link would either be redirected or exposed to a login or sign up screen to view. Thank you so much for your help. Antonio
Intermediate & Advanced SEO | | AVSFencingSupplies0 -
Optimising a Dynamic website ?
A client has bought the Nostalgia wp theme. I've installed Yoast but because the website is ajax based and the content for the pages are dynamically loaded the plugin won't work. Or at least not to my knowledge? The developer doesn't currently have a solution, which from previous expereience it will never be supported. So I need some possible solutions here. Create a mobile site? Cons more time, more money etc Create non dynamic pages linked in footer area. Cons page duplication etc. It's a small niche so having the basic elements is imperative to getting it ranking.
Intermediate & Advanced SEO | | StephenForde0