Syntax error sitelinks searchbox - Google Search Console

New Member
3 0 0

Hi, I want to add my Shopify store to Google Search Console but I get error of "Syntax error sitelinks searchbox".


I tried adding the sample code and edited it like that:

    <title>GemDrives - הבית לשרת שלך</title>
    <script type="application/ld+json">
      "@context": "",
      "@type": "WebSite",
      "url": "",
      "potentialAction": {
        "@type": "SearchAction",
        "target": "{search_term_string}",
        "query-input": "required name=search_term_string"

and put it in my search.liquid file.

This didn't help and I still get the error from Google.

What am I doing wrong? Thank you.