Documentation
1. Install
Paste this line before </body> on every page (your dashboard shows it with your own key):
<script src="https://hintura.com/widget/hintura.js" data-key="pk_..." defer></script>- Shoptet: Settings → Editor → HTML code → Footer.
- WordPress / WooCommerce: a "header and footer scripts" plugin, or your theme's footer.
- Shopify: Online Store → Themes → Edit code →
theme.liquid, before</body>. - PrestaShop, Upgates, custom sites: the place for custom footer code, or the main template.
2. Search
The widget finds your search box automatically (input[type=search] or fields named q, s, search, query). If it picks the wrong one, set a CSS selector in the dashboard or add data-search="#my-search" to the script tag.
Products come from your feed: Heureka / Zboží.cz XML, Google Merchant (RSS or Atom) or CSV with a header row (id, title, url, image, price, brand, category). The feed is refreshed automatically every few hours, or any time with one click in the dashboard.
3. Smart forms
Address fields are recognised by their name, id or autocomplete attributes (street, address-line1, house number, city, postal-code, zip, country). E-mail fields (type=email) and phone fields (type=tel) are checked as well. You can set explicit selectors in the dashboard or with data-street, data-number, data-city, data-zip, data-country.
When something looks wrong, the field is highlighted with a one-click fix. Before submit, the visitor sees a short summary and can fix the data or continue. Orders are never blocked. Turn the summary off with data-confirm="off".
4. Privacy
No personal data is stored. Addresses, e-mails and phone numbers are checked and forgotten. E-mails and phones are sent in the request body (never in URLs, so they do not appear in logs). Only anonymous counts and search phrases are kept for your statistics. The widget sets no cookies.
5. Options
| Attribute | Meaning |
|---|---|
data-key | Your public site key (required) |
data-search | CSS selector of the search box |
data-lang | en, sk or cs (default: the page language) |
data-forms="off" | Disable smart forms on this page |
data-search="off" | Disable search on this page |
data-confirm="off" | No summary before submit |
6. Limits
If a website goes over its monthly allowance, we keep serving up to 120 % and send you an e-mail at 80 %, 100 % and 120 %. Above 120 % the website quietly falls back to its own search and plain form fields until the 1st of next month or until you choose a higher plan.
Need help? Write to hello@hintura.com.