How to Add Structured Data to Your Bigcommerce Improve SEO

Posted by Mark Jeffry on Aug 28, 2020

We have created two videos explaining how to add structured data for a bigcommerce website, including structured data for a company, logo picture & adding sitelink search box for google search engine.




Just replace the highlighted text with your website information.




Structured data HTML code of Organization info including logo :


{{#if template '==' 'pages/home'}}

<!-- JSON-LD markup generated by Google Structured Data Markup Helper. -->

<script type="application/ld+json">

"@context" : "http://schema.org",

"@type" : "Organization",

"name" : "Your Organization Name",

"url" : "https://example.com",

"logo" : "Logo image URL",

"image" : "Image URL",

"telephone" : "+1-123-456-789",

"address" : {

"@type" : "PostalAddress",

"streetAddress" : "Your Address",

"addressLocality" : "City",

"addressRegion" : "State",

"addressCountry" : "Country",

"postalCode" : "Zip Code"

</script>

{{/if}}




Sitelink search box code:


{{#if template '==' 'pages/home'}}

<script type="application/ld+json">

"@context": "https://schema.org",

"@type": "WebSite",

"url": "https://example.com/",

"potentialAction": {

"@type": "SearchAction",

"target": "https://example.com/search.php?search_query={search_term_string}",

"query-input": "required name=search_term_string"

</script>

{{/if}}


You can combine both codes just use one "If statement".