I am not sure this is the right place to ask this question but I really need to know it, but I couldn't ask it on the plugin's Github as this is not an issue. I am new on Craft CMS and my client need SEOmatic installed on it. I have configured everything but I couldn't understand the need of Search Targets and Search Query Input in Site Meta Section. It would be very helpful if someone helps me out for this with some real-life examples.

1 Answer 1


This has to do with Google Structured Data and how your site appears in search results. If you use these fields, your site will show a custom search box in Google Search results, like this:

enter image description here

Basically, the Search Target is a URL where you'd want any search queries to get directed to. So in the example above for Pinterest and a custom search for "Pizza", the Search Target might be:


The Search Query Input basically just tells Google what the placeholder is that you used in the Search Target. So in our example it would be:


I'd recommend reading this page from the Google Search docs in order to better understand what Search Targets and the Search Query Input are.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.