Native parameters of the web collector
Native parameters send the Eulerian collector the data on pages, actions, products, baskets, quotes, orders and internal searches. The expected names, formats and values must be respected.
Actions and secondary conversions
| Parameter | No-script alias | Description | Example |
|---|---|---|---|
actionname | actn[0-n] | Identifier of the action. Do not use quotation marks, apostrophes, asterisks, dollar signs, at signs, ampersands, tildes, grave accents, question marks, exclamation marks or circumflex accents. | actionname=my_action_name |
actionlabel | actl[0-n] | Labels used to classify the action. Up to 5 comma-separated values. Their order determines which label is filled in. | actionlabel=newslettersubscribe,pagebottom,bold |
actionmode | actm[0-n] | Mode of the action: in or out. If the parameter is missing, the action is treated as OneShot. | actionmode=in |
actionpfinite | actp[0-n]f[0-n] | Shows whether an action parameter has a finite number of values. Boolean value, 1 by default. | actionpfinite=1 |
actionpname | actp[0-n]n[0-n] | Name of a parameter associated with the action. An action can contain several parameters. | actionpname=my_new_param |
actionpvalue | actp[0-n]v[0-n] | Value of the parameter declared with actionpname. | actionpvalue=param_value |
actionref | actr[0-n] | Unique reference of the secondary conversion. It deduplicates the action if it is called again, for example after a page refresh. | actionref=CRV134567 |
The value of actionref must be unique. If there is no business reference, it can be built from a customer identifier and a timestamp.
Orders and quotes
| Parameter | No-script alias | Description | Example |
|---|---|---|---|
ref | ref | Unique reference of the order or quote. Required on confirmation pages. A second call using the same reference is ignored. | ref=C12345678 |
amount | amount | Total amount of the conversion including tax. Use the nominal amount, with no thousands separator and a full stop for decimals. | amount=45.90 |
currency | cur | Currency of the amount sent. Eulerian then converts this amount into the target currency configured in the interface. | currency=GBP |
estimate | estimate | Identifies the conversion as a quote rather than a sale. Required on a quote page. Fixed value: 1. | estimate=1 |
margin | margin | Amount of the margin made on the order, with at most two decimal places. | margin=12.34 |
newcustomer | nc | Shows whether the conversion is from a new customer: 1 for a new customer, 0 otherwise. | newcustomer=1 |
payment | payment | Payment method used. Optional parameter, usable as a filter in reports. | payment=CB |
status | status | Status of the order: VALID, PENDING or INVALID. With no value, the default status is PENDING. | status=INVALID |
type | type | Free category of the sale or quote. The value is N/A if the parameter is missing. | type=marketplace |
The net sales and net revenue metrics take PENDING and VALID orders into account, but not INVALID orders.
The use of status must be validated with the Eulerian contact in charge of the account.
Currencies
The values used for currency are currency codes, for example:
AUD;
BRL;
CAD;
CHF;
EUR;
USD;
XOF;
GBP;
JPY;
RUB;
Basket
| Parameter | No-script alias | Description | Example |
|---|---|---|---|
scart | scart | Identifies the page as a basket page and counts a started basket. Required, fixed value: 1. | scart=1 |
scartcumul | sccumul | Sets how the basket is updated: 1 for cumulative mode, 0 for non-cumulative mode. The default value is 1. | scartcumul=0 |
scartdur | ttl | Changes the basket’s lifetime, set to 30 minutes by default. The value must be expressed in minutes (m) or days (d). | scartdur=50m |
Basket update modes
Cumulative mode · scartcumul=1
Each call adds products to or removes products from the existing basket.
Non-cumulative mode · scartcumul=0
Each call contains the whole basket. A product missing from the new call is treated as removed.
Products
| Parameter | No-script alias | Description | Example |
|---|---|---|---|
prdref | prdrX | Reference of the product viewed or present in a list, a basket, a quote or an order. | prdref=produit1 |
prdamount | prdaX | Unit amount of the product. It must not contain the total amount calculated for several units. | prdamount=29.90 |
prdquantity | prdqX | Number of units of the product reference concerned. | prdquantity=3 |
prdname | prdnX | Readable name associated with a product reference. | prdname=nom_du_produit |
prdparam-* | prdpXkX / prdpXdX | Category or attribute associated with a product reference, for example the range, size or category. | prdparam-univers=femme |
prdgroup | prdgX | Anonymous group associated with a product reference. A reference can belong to only one group. | prdgroup=A |
Product reference system
The same reference system must be used in the product, basket, quote and order tags, and in the data sent to partners.
On a product page, prdref must be sent only once. Several references in the same call make the page count as a product list.
Product blocks
In a basket, a quote or an order, each reference must be associated with its own quantity and its own unit amount.
No-script example:
prdr0 = produit1;
prda0 = 29.9;
prdq0 = 3;
prdr1 = produit2;
prda1 = 10.0;
prdq1 = 1;
Retroactive product data
The associations sent with prdname and prdparam-* are applied to the historical occurrences of the product reference.
A new value replaces the previous one and so changes how earlier periods are displayed. These parameters must not receive different values depending on the page type.
Internal search engine
| Parameter | No-script alias | Description | Example |
|---|---|---|---|
isearchengine | eise | Name of the internal search engine. It must have been declared in the interface. | isearchengine=moteur_interne |
isearchkey | eiskX | Name of a previously declared search parameter. | isearchkey=categorie |
isearchdata | eisdX | Value associated with the isearchkey parameter. | isearchdata=veste |
isearchresults | eiskX=results and eisdX=<nombre> | Number of results returned by the search. Optional parameter. | isearchresults=15 |
The isearchkey and isearchdata parameters must be sent as a pair.
No-script example:
eise = moteur_interne;
eisk0 = categorie;
eisd0 = veste;
eisk1 = matiere;
eisd1 = cuir;
eisk2 = results;
eisd2 = 15;
Pages and navigation
| Parameter | No-script alias | Description | Example |
|---|---|---|---|
path | urlp | Replaces the page name normally taken from the URL. The levels of the tree are separated by /. | path=/vetements/veste/collection-hiver |
pagegroup | pagegroup | Assigns the page to a page group. This value takes precedence over the configured grouping rules. | pagegroup=categorie_femme |
pagelabel | pglbl | Adds up to 5 labels to the page. The values are comma-separated and their order matters. | pagelabel=label1,label2,label3 |
error | See the point to watch | Identifies the page as an error page and stores its URL for the error pages report. | error=1 |
from | from | Forces the traffic to be assigned to a specific Eulerian site, especially when several sites share the same domain. | from=siteclient2 |
path is particularly useful when:
- several pages cannot be told apart by their URL;
- the content depends on CGI parameters that are not part of the page name;
- a new collector call is fired on the same page.
To be confirmed, error parameter
The JavaScript parameter is named
error. The available no-script notes mention botherrand the examplepgerr=1. The expected no-script name must be checked before implementation.
Profiles, properties and identification
| Parameter | No-script alias | Description | Example |
|---|---|---|---|
profile | profile | Triggers a change to a profile previously declared in the interface. | profile=nouveau_client |
propertyname | epronX | Name of a previously declared site-centric property. | propertyname=genre |
propertyvalue | eprovX | Value associated with the property. Several values can be sent in the same call. | propertyvalue=film_d_horreur |
uid | uid | Stable customer identifier used to consolidate the browsing history across several devices. | uid=65772 |
email | eemail | Email address that some feeds, connectors or API requests can use. If it is sent during the session, it is available in the sales, quote and basket data. Recommended format: lowercase hexadecimal SHA-256. | email=18ee24150dcb… |
The uid:
- must identify a single user;
- must stay the same for a given user;
- must not be a session identifier or a temporary value;
- can be sent once the user is authenticated.
Its value is checked on every collector call against the following rule:
^[a-zA-Z0-9+#@_!=:.-]{4,64}$
A uid that does not match it is not taken into account: it is ignored without an error, and nothing in the reports shows that it was discarded. The two most common cases are a value shorter than 4 characters and a character not in the list, a space for example. The consequences of a discarded or unstable uid are described in Why does UID-based history merging not work?.
Collector control
| Parameter | Description | Value |
|---|---|---|
enoepm | Turns off Eulerian Privacy Manager for the collector call concerned. | 1 |
enoetm | Turns off Eulerian Tag Manager for the collector call concerned. | 1 |
enotrack | Turns off all site-centric collection for the call, including page views, visits, baskets, quotes and sales. Third-party TMS tags are still called. | 1 |
enopagedt | Turns off the counting of site-centric traffic for the call, in particular page views and visits. Third-party TMS tags are still called. | 1 |
etagid | Identifier added automatically when a tag is created from the site-centric tag management interface. It allows the test windows to be used. | Generated automatically |
onload | JavaScript function run after the collector call returns. | function(){ console.log("Eulerian collector is done"); } |
Forcing an acquisition channel
The eope parameter forces an acquisition channel to be added to the browsing history.
It must contain an encrypted tracking code taken from an Eulerian tracking link.
eope=<CODE_DE_TRACKING>
This feature must be used only on the recommendation of the Eulerian contact in charge of the account.
Adding an incoming segment
The following parameters can complement eope:
| Parameter | Description |
|---|---|
eseg-name | Name of the incoming segment, for example id_affilie. |
eseg-item | Value of the segment, for example 123456789. |
They must be placed after eope:
[
"eope",
"CODE_DE_TRACKING",
"eseg-name",
"id_affilie",
"eseg-item",
"123456789",
];