Skip to content

Integration Overview

View MD

Luigi’s Box is a product discovery suite that relies on a feedback loop between your catalog data and user behavior.

To integrate successfully, you must connect three distinct systems:

  1. Analytics: Send us user behavior signals (Clicks, Purchases).
  2. Data Sync: Send us your product data (Catalog).
  3. Service Integration: Display our results (Search, Recommendations) to your users.

The foundation of intelligent discovery.

We recommend implementing Analytics first. Even though your catalog might not be synced yet, starting analytics immediately allows the system to buffer user behavior data.

Section titled “Option A: DataLayer collector (recommended)”

This is the ideal approach for most stores. It captures events you are likely already pushing to the dataLayer for Google Analytics (GA4).

Designed for mobile apps or custom websites that want to avoid 3rd-party scripts.

If you lack a development team, Luigi’s Box can hook into your existing HTML structure.

  • Pros: Zero dev effort.
  • Cons: Brittle. Breaks if you redesign your HTML.
  • Contact support for this option.

Keep your product catalog up to date.

You need to choose a method to keep your database in sync with Luigi’s Box.

flowchart LR
A["Supported platform"]
B["Custom backend"]
C["Legacy system"]
D["Luigi's Box index"]
A -->|Platform connector| D
B -->|Content Updates API| D
C -->|XML feed pull| D

Option A: Platform connectors (best for supported platforms)

Section titled “Option A: Platform connectors (best for supported platforms)”

If you run on a supported platform, use our native plugin. This is the most reliable method.

Supported: Shopify, Shoptet, Shopware, Commercetools, WooCommerce, Prestashop, Contentspeed, BSShop, Creativesites, WPJ.

Push data changes to our servers immediately as they happen in your backend.

We periodically download and process a static file from your server.

  • Pros: Easy to implement (just generate a file).
  • Cons: Slow. Updates only appear after the next scheduled fetch (e.g., every 3 hours).
  • Read the Feeds Guide

Displaying results to the customer.

You can integrate our services on the Frontend (Browser) or Backend (Server).

flowchart TD
User1["User"]
FE["Frontend integration"]
LB1["Luigi's Box API"]
User2["User"]
Server["Your server"]
LB2["Luigi's Box API"]
User1 -->|"Uses JS library"| FE
FE -->|"Calls API"| LB1
LB1 -->|"Returns data"| FE
FE -->|"Renders results"| User1
User2 -->|"Requests page"| Server
Server -->|"Calls API"| LB2
LB2 -->|"Returns data"| Server
Server -->|"Renders HTML"| User2

You call the Luigi’s Box API from your server and render the HTML yourself.

  • Best for: Search Results, Product Listings (Categories).
  • Why: Keeps your URL structure and SEO control entirely on your side. Allows complex B2B pricing logic before rendering.

You use our JavaScript libraries (Autocomplete.js, Search.js) to render results in the browser.

  • Best for: Autocomplete, Recommendations.
  • Why: Extremely fast implementation. Visuals are handled by the library, and we can deploy new features remotely.

For a typical e-commerce store, we recommend the following “Hybrid” setup:

ServiceRecommended IntegrationWhy?
AnalyticsFrontendUse the DataLayer collector to leverage your existing GA events.
AutocompleteFrontendUse autocomplete.js for a fast, beautiful overlay that requires minimal coding.
SearchBackendEnsures the search results page (SERP) looks exactly like the rest of your site and retains SEO benefits.
ListingsBackendSame as Search — ensures consistency for category and brand pages.
RecommendersFrontendFlexible placement anywhere on the site without impacting server performance.