Skip to content
Documentation sections
English
Integrations

How to add smart search to an HTML website or another CMS

Connect Indexa to a custom HTML website or another CMS: use a global script field or add the code to your shared page template.

Prepare the catalog and code

  1. Connect your product feed in Indexa and wait for the catalog to load.

  2. In “Widget → Integration”, enter the website URL and copy the universal code.

Through an existing code field

Find your CMS's global head-code field and paste the complete Indexa script. Check that it applies to all required pages.

If the field accepts only JavaScript without script tags, ask your CMS support how to add an external script in the supported way.

Through a website template

  1. Open the shared template, back it up and add your complete Indexa code before </head>.

  2. Add the complete Indexa script before the closing </head> tag.

  3. Save, publish the website and clear the cache if necessary.

Example placement

Before the closing </head> tag
<head>
  <!-- Other site settings -->
  <script async src="INDEXA_LOADER_URL_FROM_DASHBOARD"></script>
</head>
HTML

Check search after installation

Open your store, then use “Check installation” in Indexa. Select the desktop and mobile search elements and save.

Search for a product, follow its link and close the widget. Repeat on the home, category and product pages.

Still have questions? Contact us — We will help you set it up.

Esc — close