Schema.org + Structured data Google

Hi Guys, I had some problems relating, indexing pages to google, and structuring the data on the page for indexing.

Here is a brief walkthrough of how to resolve this if you are having trouble with it.

Step 1 :
How to correctly lay out the data:
Structured Data Markup Wizard - https://www.google.com/webmasters/markup-helper/u/0/?verticalId=100035149&sourceId=107103434&hl=pt_BR

Step 2 :
To make google read this data:
install (CSS Tools Plugin) - (Workflow → (Page is loaded) → Add/Edit Head Tags)
(Add/Edit Head Tags) - Paste the structured code you got in step 1 and insert the dynamic elements you want google to index

Step 3 :
test the URL - Schema Markup Testing Tool | Google Search Central  |  Google Developers

IMPORTANT - When submitting the URL for testing or index use this scheme
https://namepage.com/subname/

5 Likes

Hey @lukinhapophack

Thanks for the write-up!

Out of curiosity: For your step 2, why are you inserting the markup with a worklow instead of directly in the Page HTML Header?

Have you figured out how to add dynamic data (list of things)? For instance, if one would like to add a list of FAQs. In the Developer example, they “hardcode” the values. Mark Up FAQs with Structured Data | Google Search Central  |  Google Developers

Instead I would fetch them from the database (e.g. “Do a Search for FAQs”), but not sure how to implement this.

Cheers,
Maja

1 Like

You’re welcome @maja-overgaard

About step 2, I tried to make google see the tags in other ways, but as it’s dynamic data, the only way I got it was through workflow…

I believe this serves your question. this markup I made uses dynamic data pulled from the internal server

1 Like

Sorry, I made a typo in my first reply. I meant how do you use a LIST of dynamic data?

So let’s say you have a datatype of FAQ. Your first entry would be “What is the return policy?” Second entry is “How long does it take to process a refund?” etc. Because the # of FAQ entries can vary, it needs to be a dynamic list.

So in the example from the Google Developer (below), there are two questions. How do you dynamically create the list of questions given there might be more or less than 2 FAQs,?

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [{
    "@type": "Question",
    "name": "What is the return policy?",
    "acceptedAnswer": {
      "@type": "Answer",
      "text": "<p>Most unopened items.....</p>"
    }
  }, {
    "@type": "Question",
    "name": "How long does it take to process a refund?",
    "acceptedAnswer": {
      "@type": "Answer",
      "text": "We will reimburse you for...."
    }, {
    "@type": "Question",
    "name": "Will I be charged sales tax for online orders?",
    "acceptedAnswer": {
      "@type": "Answer",
      "text":"Local and State sales tax will be collected if your recipient's mailing address is in: <ul><li>Arizona</li><li>California</li><li>Colorado</li></ul>"}
    }]
}
</script>

I simply scripted the body of the workflow as I said earlier.

So if you make the workflows based on your parameters, you can make this dynamic

Sorry for delay…

You can do it directly on the page element itself in the page HTML header section. No need for workflows. In this input you can add dynamic data. I do this in apps for structured data.

To your question about lists, you would need to use the formatted as text operator and then in that structure it for accepting JSON.

I don’t have an example of this to share as I have not done this, but I use the formatted as text with JSON for list of things. There are various threads with screen shot examples to see how that looks, but the JSON is different for all use cases.

Most important thing is to have a dynamic expression that would be your list ( could be search or an element with the list already available ) and after that dynamic expression add the formatted as text operator so you can then format the list in JSON style.

Your example would be something like

{
@type”: “This lists Question”,
“name”: “This lists name”

The idea of ‘this list’ is the list you have in the dynamic expression before the formatted as text operator.

2 Likes

Hi there @lukinhapophack :wave: Can you explain to me why the trailing slash is required for the Schema markup to validate? I’ve noticed this issue and seen it mentioned elsewhere on the forum. Will the markup still ultimately be picked up if Google indexes my pages (without trailing slash) via my dynamic sitemap?

1 Like

Thanks for the tips!

How do you test your URL in Schema.org though?

I can validate the structured data in Rich results Text successfully but on Schema.org the URL shows no results? I’m assuming it is a Bubble structure application because it is the same when you try to get the source code on Google too from a Bubble app, which then only shows the the basic page structure html and none of the actual content on the page

1 Like

Schema.org has a tab to validate…

1 Like