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
Connect your product feed in Indexa and wait for the catalog to load.
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
Open the shared template, back it up and add your complete Indexa code before </head>.
Add the complete Indexa script before the closing </head> tag.
Save, publish the website and clear the cache if necessary.
Example placement
<head>
<!-- Other site settings -->
<script async src="INDEXA_LOADER_URL_FROM_DASHBOARD"></script>
</head>
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.