Access your interface

Enter your email address to access your personal interface.

Setting up the internal search engine

Updated 9 July 2026

Internal search engine tracking collects the searches visitors make on the site.

In particular, it lets you analyse:

  • the search engine used;
  • the search parameters the visitor entered;
  • the values associated with those parameters;
  • the number of results returned;
  • the sales associated with searches, when an order is placed after a search.

Prerequisites

A search engine tag must be implemented on the pages concerned.

The tag must pass:

ParameterDescription
isearchengineName of the internal search engine.
isearchresultsNumber of results returned for the search.
isearchkeyName of the search parameter.
isearchdataValue associated with the search parameter.

The isearchkey and isearchdata parameters work in pairs: each search key must be followed by its value.

Tag format

var EA_data = [
  "isearchengine",
  "NOM_DU_MOTEUR_DE_RECHERCHE_INTERNE",
  "isearchresults",
  "NOMBRE_DE_RESULTATS_DE_LA_RECHERCHE",

  "isearchkey",
  "NOM_DU_PARAMETRE_1",
  "isearchdata",
  "VALEUR_DU_PARAMETRE_1",

  "isearchkey",
  "NOM_DU_PARAMETRE_2",
  "isearchdata",
  "VALEUR_DU_PARAMETRE_2",

  "isearchkey",
  "NOM_DU_PARAMETRE_3",
  "isearchdata",
  "VALEUR_DU_PARAMETRE_3",
];

Example

var EA_data = [
  "isearchengine",
  "moteur_interne",
  "isearchresults",
  "25",

  "isearchkey",
  "mot-cle",
  "isearchdata",
  "chaussures",

  "isearchkey",
  "marque",
  "isearchdata",
  "abc",

  "isearchkey",
  "taille",
  "isearchdata",
  "M",
];

In this example:

Search parameterValue collected
mot-clechaussures
marqueabc
tailleM

Declaring an internal search engine

The data passed by the tag is not available in the interface until the search engine has been declared.

The engine is declared from the Internal search engine page.

Where to go: Settings > Analytics > Internal search engine list

To declare the engine:

  1. Click Add an internal search engine.
  2. Enter the engine’s name.
  3. Use the same value as the one passed in the isearchengine parameter.
  4. Click Add.

Example:

moteur_interne

This value must match the value passed in the tag:

"isearchengine", "moteur_interne"

Declaring the search parameters

Each value passed in an isearchkey parameter must be declared as a search parameter.

In the example above, the parameters to declare are mot-cle, marque and taille.

To declare a parameter:

  1. Open the internal search engine concerned.
  2. Click Add a search parameter.
  3. Enter the parameter’s name.
  4. Configure how values are handled.
  5. Add a description if needed.
  6. Save.

Settings to fill in

SettingDescription
NameName of the search parameter. It must match a value passed in isearchkey.
Finite number of entriesDefines whether the number of possible values for this parameter is limited.
DescriptionOptional description of the parameter, for information.

Finite number of entries

ValueHow it works
YesThe number of possible values is limited to the values already reported. Only the values collected so far are accepted.
NoThe number of possible values is unlimited. This option is recommended.

Once a parameter has been declared, its values come through with each new search interaction.

Reporting

Once the tag is implemented and the engine declared, the following datamining report is fed:

internal_search_engine_queries

This report lets you analyse interactions with the internal search engine.

Points to watch

  • The search engine must be declared in the interface for the data reported to be usable.
  • The declared name must match the value passed in isearchengine.
  • Each value of isearchkey must be declared as a search parameter.
  • The isearchkey and isearchdata parameters must be sent in pairs.
  • The Finite number of entries = No option is recommended when the possible values are numerous or change over time.
  • The number of results a search returns can help identify searches with no results or gaps in the range on offer.
  • Do not let the keyword entered become a page name: force a single name for search pages, as described in Site tree.