Header Scripts Integration Guide
The header script puts Schema.org markup into the head of your pages. It is the path for shops without an API, and it can also run on shops that are already connected via API.
Universal
Works with all shop systems
Simple
Just insert one code snippet
Safe
No theme modifications needed
Two paths, kept separate
Connected via API
Header script, no API
Step 1: Select Platform
Choose your e-commerce platform in the Libers Suite Dashboard.
Select your platform from the dropdown list. If your platform is not listed, choose "Other".
Step 2: Connect Shop
Connect your shop with Libers Suite - either via API or manually.
Option A: With API Access (recommended)
If your platform provides an API, you can automatically sync products.
Option B: Without API Access
If no API is available, simply enter your shop URL. You can import products manually later.
Step 3: Synchronize Products
Import your products into Libers Suite.
Click "Synchronize" in the dashboard. Products will be imported automatically.
Create products manually or import them via CSV.
Step 4: Generate Knowledge Packs
Create AI-optimized Knowledge Packs for your products.
Step 5: Enable Header Script (IMPORTANT)
Activate header script publishing in shop settings.
- Go to Dashboard → Shops
- Click on your shop
- Scroll to "Publication Settings"
- Enable the toggle "Header Script"
It automatically injects Schema.org markup, meta tags, and Open Graph tags into your product pages. Crawlers see the optimized data - your customers see the normal page.
Step 6: Copy Code Snippet
Copy the generated JavaScript snippet from the dashboard.
<script src="https://cdn.libers.ai/llmo-sdk.js"
data-api-key="your-api-token-will-appear-here">
</script>
Your personal API token will be generated automatically
Step 7: Insert Code into Shop Theme
Insert the code snippet into the <head> section of your shop theme.
Platform-specific Instructions:
Admin → Content → Design → Configuration → HTML Head → Scripts and Style Sheets
Settings → Custom Code → Add Custom Code → Head
Settings → Advanced → Code Injection → Header
Storefront → Script Manager → Create a Script → Placement: Head
Design → Theme & Logo → Advanced Customization → Custom Code → Header
Theme Manager → Edit Theme → Custom CSS/JS → Add to Head
Look in your theme editor for "Custom Code", "Header Scripts", or "HTML Head"
<head> section, not in the body. Only then can the meta tags be output correctly.
Step 8: Verification
Check if the script works correctly.
Verification Tools:
Right-click on product page → "View Page Source" → Search for "llmo-sdk.js"
Frequently Asked Questions
Can I combine header scripts and API integration?
Yes! You can use both methods simultaneously. API for automatic product sync and header scripts for Schema.org markup output.
Does the script affect my shop's loading time?
No. The script is loaded asynchronously and has minimal overhead (~5KB). It affects neither loading time nor user experience.
What happens if I disable the script?
The Schema.org markup will no longer be output. Your products remain stored in Libers Suite and can be reactivated at any time.
Does the script work with every theme?
Yes. The script is theme-independent and works with all standard and custom themes, as long as you have access to the HTML head.